icecube.radcube.modules.SimulateFromStar module¶
- class icecube.radcube.modules.SimulateFromStar.SimulateFromStar(ctx)¶
Bases:
I3Module
Simulates shower on a specified array using simulations on a star shaped pattern. This class does three things:
Loads up a star pattern simulation into an instance of the
icecube.radcube.StarInterpolator
classPuts the other meta-data into the frame (e.g. I3Particle)
Can randomize the core location or match the core location to an existing particle in the frame
The intended use cases for this module are:
Make a radio-only simulation, creating all frames Q frames, as needed
Add radio data to an existing simulation in the QFrame
In the first case set,
PiggybackMode = False
and choose a randomization scheme for the cores. You can either use theRandomCoreCenter
and aCoreRadius
about that center, sampled uniformly on the disk. The number of times you want to choose a random core is set byNThrows
. This needs it’s own RNG and due to limitations in IceTray, C++ implemented services cannot be used by python-implemented modules. So this class has it’s own RNG instance, provide it aRNGSeed
.Or, you can supply a list of I3Positions though which the axis will go.
In the second case, set
PiggybackModel = True
and set thePiggybackPrimary
to the name of the I3Particle in the frame that will be used as the core location, directly.- Configure((I3Module)arg1) None : ¶
- C++ signature :
void Configure(PythonModule<I3Module> {lvalue})
- DAQ((I3Module)arg1, (I3Frame)arg2) None : ¶
- C++ signature :
void DAQ(PythonModule<I3Module> {lvalue},boost::shared_ptr<I3Frame>)
- Finish((I3Module)arg1) None : ¶
- C++ signature :
void Finish(PythonModule<I3Module> {lvalue})
- Geometry((I3Module)arg1, (I3Frame)arg2) None : ¶
- C++ signature :
void Geometry(PythonModule<I3Module> {lvalue},boost::shared_ptr<I3Frame>)