Geant4
10.03
|
Event action (before/after event processing). More...
#include <Par02EventAction.hh>
Public Member Functions | |
Par02EventAction () | |
A default constructor. Sets the flag fSmear to true indicating that smearing will be performed. More... | |
Par02EventAction (G4bool aSmear) | |
A constructor. More... | |
virtual | ~Par02EventAction () |
virtual void | BeginOfEventAction (const G4Event *) |
Defines the actions at the beginning of the event. It sets the Par02EventInformation with fSmear flag. It creates all the ntuples defined in Par02Output singleton class. More... | |
virtual void | EndOfEventAction (const G4Event *) |
Defines the actions at the end of the event. More... | |
Public Member Functions inherited from G4UserEventAction | |
G4UserEventAction () | |
virtual | ~G4UserEventAction () |
virtual void | SetEventManager (G4EventManager *value) |
Private Attributes | |
G4bool | fSmear |
A flag indicating if smearing should be performed. Passed to Par02EventInformation in BeginOfEventAction(const G4Event*). More... | |
Additional Inherited Members | |
Protected Attributes inherited from G4UserEventAction | |
G4EventManager * | fpEventManager |
Event action (before/after event processing).
Defines the action at the beginning and at the end of each event. It is invoked by a G4EventManager when a G4Event object is sent (which contains primary vertices and particles created by the Par02PrimaryGeneratorAction).
Definition at line 45 of file Par02EventAction.hh.
Par02EventAction::Par02EventAction | ( | ) |
A default constructor. Sets the flag fSmear to true indicating that smearing will be performed.
Definition at line 43 of file Par02EventAction.cc.
Par02EventAction::Par02EventAction | ( | G4bool | aSmear | ) |
A constructor.
aSmear | The flag indicating if smearing has to be done. |
Definition at line 47 of file Par02EventAction.cc.
|
virtual |
Definition at line 52 of file Par02EventAction.cc.
|
virtual |
Defines the actions at the beginning of the event. It sets the Par02EventInformation with fSmear flag. It creates all the ntuples defined in Par02Output singleton class.
Reimplemented from G4UserEventAction.
Definition at line 56 of file Par02EventAction.cc.
References Par02Output::CreateNtuples(), fSmear, G4EventManager::GetEventManager(), Par02Output::Instance(), and G4EventManager::SetUserInformation().
|
virtual |
Defines the actions at the end of the event.
Reimplemented from G4UserEventAction.
Definition at line 64 of file Par02EventAction.cc.
|
private |
A flag indicating if smearing should be performed. Passed to Par02EventInformation in BeginOfEventAction(const G4Event*).
Definition at line 70 of file Par02EventAction.hh.
Referenced by BeginOfEventAction().