icecube.simprod.segments.DetectorSim module¶
- icecube.simprod.segments.DetectorSim.ConvertToLinearizedMCTree(frame)¶
- icecube.simprod.segments.DetectorSim.DetectorSegment(tray, name, If=<function <lambda>>, gcdfile='', mctype='corsika_weighted', MCPESeriesMapName='I3MCPESeriesMap', detector_label='IC86:2012', runtrigger=True, filtertrigger=True, stats={}, basicHisto=False, inice=True, icetop=False, genie=False, prescale=1, uselineartree=True, lowmem=False, BeaconLaunches=True, TimeShiftSkipKeys=[], GeneratedEfficiency=0.0, SampleEfficiency=0.0, RunID=None, KeepMCHits=False, KeepPropagatedMCTree=False, KeepMCPulses=False, EHEApproximation=False, mdomNoisePath='/cvmfs/icecube.opensciencegrid.org/users/gen2-optical-sim/geant_noise/npy/211217_mDOM_Noise_newPMTs_wQE/*.npy', lom16NoisePath='/cvmfs/icecube.opensciencegrid.org/users/gen2-optical-sim/geant_noise/npy/220725_LOM16_vitrovex_goodPMTs/*.npy', lom18NoisePath='/cvmfs/icecube.opensciencegrid.org/users/gen2-optical-sim/geant_noise/npy/220804_LOM18_vitrovex_goodPMTs/*.npy')¶
Run IC86 detector simulation
- icecube.simprod.segments.DetectorSim.DetectorSim(tray, name, RandomService=None, RunID=None, GCDFile=None, KeepMCHits=False, KeepPropagatedMCTree=False, KeepMCPulses=False, SkipNoiseGenerator=False, LowMem=False, InputPESeriesMapName='I3MCPESeriesMap', BeaconLaunches=True, TimeShiftSkipKeys=[], FilterTrigger=True, EHEApproximation=False, mdomNoisePath='/cvmfs/icecube.opensciencegrid.org/users/gen2-optical-sim/geant_noise/npy/211217_mDOM_Noise_newPMTs_wQE/*.npy', lom16NoisePath='/cvmfs/icecube.opensciencegrid.org/users/gen2-optical-sim/geant_noise/npy/220725_LOM16_vitrovex_goodPMTs/*.npy', lom18NoisePath='/cvmfs/icecube.opensciencegrid.org/users/gen2-optical-sim/geant_noise/npy/220804_LOM18_vitrovex_goodPMTs/*.npy')¶
Read photon-propagated (MCPE) files, simulate noise, PTM response, DOMLaunches, and trigger.
- Parameters:
RandomService – the name of a random service to be used by the tank response
RunID – Number of run that will be writtend to I3EventHeader
GCDFile – path to GCD file to read first
KeepMCHits – keep MCPEs in frame
KeepPropagatedMCTree – keep MCTree with all in-ice propagated secondaries. These take a lot of space compared un propagated tree.
KeepMCPulses – keep I3MCPulseSeriesMap in frame.
SkipNoiseGenerator – do not run Vuvuzela.
LowMem – reduce peak memory use by repeatedly merging hits as they are generated. WARNING: Use of this option may slightly reduce precision and drastically increase running time. It is potentially useful for very bright events, and probably harmful for very long events.
InputPESeriesMapName – name of input I3MCPESeriesMap object.
BeaconLaunches – add beacon lauches.
TimeShiftSkipKeys – list of keys that should be time-shifted. Default: shift all Time-like objects.
FilterTrigger – remove events that don’t pass any trigger.
EHEApproximation – Reduces runtime in PMTRS for EHE events.
mdomNoisePath – The path to npy files to use for mdom noise simulation (used for Upgrade)
lom16NoisePath – The path to npy files to use for LOM-16 noise simulation (Used for Upgrade, Gen2)
lom18NoisePath – The path to npy files to use for LOM-18 noise simulation (Used for Upgrade, Gen2)