OMSim
Geant4 for IceCube optical module studies
OMSimEventAction Class Reference

Handles custom actions at the beginning and end of each event. More...

Inheritance diagram for OMSimEventAction:
[legend]
Collaboration diagram for OMSimEventAction:
[legend]

Detailed Description

This class defines custom actions that are performed at the start and end of each Geant4 event simulation. It interacts with analysis and hit managers to handle, record, and reset event information.

Public Member Functions

void BeginOfEventAction (const G4Event *)
 
void EndOfEventAction (const G4Event *)
 Custom actions at the end of the event. More...
 
void BeginOfEventAction (const G4Event *)
 
void EndOfEventAction (const G4Event *)
 
void BeginOfEventAction (const G4Event *)
 
void EndOfEventAction (const G4Event *)
 
void BeginOfEventAction (const G4Event *)
 
void EndOfEventAction (const G4Event *)
 

Member Function Documentation

◆ EndOfEventAction()

void OMSimEventAction::EndOfEventAction ( const G4Event *  p_event)

Depending on the arguments set, this function will write hit and decay information with the analysis manager and reset hit and analysis data for the next event.

Parameters
p_eventPointer to the current event.

The documentation for this class was generated from the following files: