icecube.wimpsim_reader.wimpsimreader module

Traysegements for WimpSimReader

class icecube.wimpsim_reader.wimpsimreader.NuMuValueCollector(context)

Bases: I3ConditionalModule

collect the Veff from all events; do not forget to devide by the weight-sum in the end

Configure((I3ConditionalModule)arg1) None :
C++ signature :

void Configure(PythonModule<I3ConditionalModule> {lvalue})

DAQ((I3ConditionalModule)arg1, (I3Frame)arg2) None :
C++ signature :

void DAQ(PythonModule<I3ConditionalModule> {lvalue},boost::shared_ptr<I3Frame>)

Finish((I3ConditionalModule)arg1) None :
C++ signature :

void Finish(PythonModule<I3ConditionalModule> {lvalue})

xsNeutrino(p)

Compute the cross-section for this neutrino done in pythia

Parametrization is sigma_numu = 10.* a_numu * Energy**(b_numu) + 8.* c_numu* Energy**(d_numu) NOTE: can only do nu_mu and nu_mubar to date

Parameters:

p – the particle to compuyte the cross-section for

Returns:

the crosssection in units cm^-2

class icecube.wimpsim_reader.wimpsimreader.VeffCollector(context)

Bases: I3ConditionalModule

collect the Veff from all events; do not forget to devide by the weight-sum in the end

Configure((I3ConditionalModule)arg1) None :
C++ signature :

void Configure(PythonModule<I3ConditionalModule> {lvalue})

DAQ((I3ConditionalModule)arg1, (I3Frame)arg2) None :
C++ signature :

void DAQ(PythonModule<I3ConditionalModule> {lvalue},boost::shared_ptr<I3Frame>)

Finish((I3ConditionalModule)arg1) None :
C++ signature :

void Finish(PythonModule<I3ConditionalModule> {lvalue})

icecube.wimpsim_reader.wimpsimreader.WimpSimReaderEarth(tray, name, GCDFileName=None, Infile=None, StartMJD=nan, EndMJD=nan)

run this traysegement for earth files

Parameters:
  • Infile – infile or list of infiles to read

  • GCDFileName – specify either this to take the detector start_time as event-time -or- use a random time-stamp in [startMJD, endMJD]

  • StartMJD – pick a random MJD starting from this time

  • EndMJD – pick a random MJD ending at this time

icecube.wimpsim_reader.wimpsimreader.WimpSimReaderSUN(tray, name, Infile=None, StartMJD=nan, EndMJD=nan)

run this traysegement for Sun files

Parameters:
  • Infile – infile or list of infiles to read

  • StartMJD – read only from this MJD

  • EndMJD – read only until this MJD

icecube.wimpsim_reader.wimpsimreader.get_oneweight(tray, name, If=<function <lambda>>)

I3Tray segments should have docstrings. This one doesn’t. Fix it.