void CreateNtuples()
Creates Ntuples used to store information about particle (its ID, PDG code, energy deposits...
virtual void BeginOfEventAction(const G4Event *)
Defines the actions at the beginning of the event. It sets the Par02EventInformation with fSmear flag...
virtual void EndOfEventAction(const G4Event *)
Defines the actions at the end of the event.
Definition of the Par02EventAction class.
G4bool fSmear
A flag indicating if smearing should be performed. Passed to Par02EventInformation in BeginOfEventAct...
void SetUserInformation(G4VUserEventInformation *anInfo)
Definition of the Par02Output class.
static Par02Output * Instance()
Allows the access to the unique Par02Output object.
static G4EventManager * GetEventManager()
Definition of the Par02RunAction class.
virtual ~Par02EventAction()
Par02EventAction()
A default constructor. Sets the flag fSmear to true indicating that smearing will be performed...