icecube.simprod.segments.GenerateIceTopShowers module

icecube.simprod.segments.GenerateIceTopShowers.GenerateIceTopShowers(tray, name, Files=None, GCDFile=None, NSamples=1, TankResponse='g4', KeepMCHits=False, x=0, y=0, r=0, ResponseRandomService='I3RandomService', InjectorRandomService='I3RandomService', UnthinRadius=0, TankSamplingRadius=25.0, RunID=0, RaiseObservationLevel=0, TrimShower=True)

Read CORSIKA files, simulate IceTop response, and populate I3MCTree with penetrating components (neutrinos and muons) using topsimulator’s injector.

Parameters:
  • Files – list of CORSIKA files to read

  • GCDFile – path to GCD file to read first

  • NSampless – Number of samples of a single CORSIKA shower

  • TankResponse – Method used to simulate IceTop response: ‘param’ for parameterization, ‘g4’ for GEANT4

  • KeepMCHits – keep IceTop MCHits (needed only for the PMTSimulator-based simulation)

  • x – x-coordinate of the point around which the CORSIKA origin is randomly placed

  • y – y-coordinate of the point around which the CORSIKA origin is randomly placed

  • r – radius of the circle in which the CORSIKA origin is randomly placed

  • ResponseRandomService – name of the I3RandomService used for tank response

  • InjectorRandomService – name of the I3RandomService used for particle injection

  • UnthinRadius – radius of unthinning sampling area

  • TankSamplingRadius – the radius around tanks where all particles are considered for propagation (>=UnthinRadius)

  • RunID – the ID to store in the header (normally that of the corsika run)

  • TrimShower – remove surface particles from tree that will not hit in-ice volume. (These are removed after IceTop hits are generated)