DetectorSim¶
Collection of utilities for simprod scripts¶
API¶
- class icecube.simprod.util.DAQCounter(ctx)
- 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>)
- count = 0
- nevents = 0
- class icecube.simprod.util.PrintContext(ctx)
- Configure((I3Module)arg1) None :
- C++ signature :
void Configure(PythonModule<I3Module> {lvalue})
- icecube.simprod.util.AddEmptyWeightMap(frame, mapname='CorsikaWeightMap')
- icecube.simprod.util.AddExtensionsBool(frame)
- icecube.simprod.util.BasicCounter(frame, name='basic_counter', Stats={})
- icecube.simprod.util.BasicHitFilter(frame, HitSeriesMapNames='I3MCPESeriesMap')
- icecube.simprod.util.DrivingTime(frame)
- icecube.simprod.util.I3Summary2Dict(summary: I3MapStringDouble)
- icecube.simprod.util.I3Summary2JSON(summary)
- icecube.simprod.util.JSON2I3Summary(j)
Deserialize I3Summary data from JSON to an I3MapStringDouble
- icecube.simprod.util.ReadI3Summary(filename)
- icecube.simprod.util.SetGPUEnvironmentVariables(GPU)
- icecube.simprod.util.WriteI3Summary(summary, filename)
- icecube.simprod.util.choose_max_efficiency(efficiencies)
Given a single or list of DOM efficiencies choose the highest