icecube.simprod.segments.PropagateMuons module¶
Tray segments for muon propagation
- icecube.simprod.segments.PropagateMuons.PropagateMuons(tray, name, RandomService=None, CylinderRadius=None, CylinderLength=None, SaveState=True, InputMCTreeName='I3MCTree_preMuonProp', OutputMCTreeName='I3MCTree', **kwargs)¶
Propagate muons.
This segment propagates muons through ice with
PROPOSAL
; it simulates lepton decays and energy losses due to ionization, bremsstrahlung, photonuclear interactions, and pair production.- Parameters:
RandomService (I3RandomService) – Random number generator service
CylinderRadius (float) – Radius of the target volume in m (this param is now depricated, use the config file in the detector configuration)
CylinderLength (float) – Full height of the target volume in m (this param is now depricated, use the config file in the detector configuration)
SaveState (bool) – If set to True, store the state of the supplied RNG.
**kwargs – Additional keyword arguments are passed to
icecube.simprod.segments.make_propagator()
.
- icecube.simprod.segments.PropagateMuons.make_standard_propagators(SplitSubPeVCascades=True, EmitTrackSegments=True, MaxMuons=10, SegmentMaxEnergy=1000000.0000000001, StepWidth=0, PROPOSAL_config_file='/Users/buildbot/actions-runner/_work/icetray/build/PROPOSAL/resources/config_icesim.json')¶
Set up standard propagators (PROPOSAL for muons and taus, CMC for cascades)
- Parameters:
SplitSubPeVCascades (bool) – Split cascades into segments above 1 TeV. Otherwise, split only above 1 PeV.
EmitTrackSegments (bool) – Emit constant-energy track slices in addition to stochastic losses (similar to the output of I3MuonSlicer)
MaxMuons (int) – Maximum Number of muons to be generated by cmc per cascade.
SegmentMaxEnergy (double) – Defines the energy large cascades get chunked into after simulating the development with cmc.
StepWidth (double) – Distance between individual sub-cascdes in units of radiation length (~36cm). If value is 0 (default), not set, i.e., use module default of 3.
PROPOSAL_config_file (str) – Path to PROPOSAL config file
Keyword arguments will be passed to I3PropagatorServicePROPOSAL