Geant4
10.02.p01
|
Event information. More...
#include <Par02EventInformation.hh>
Public Member Functions | |
Par02EventInformation () | |
A default constructor. Sets flag fDoSmearing to true. More... | |
Par02EventInformation (G4bool aSmear) | |
A constructor. More... | |
virtual | ~Par02EventInformation () |
virtual void | Print () const |
Prints event information. More... | |
void | SetDoSmearing (G4bool aSmear) |
Sets the flag indicating if smearing should be done. More... | |
G4bool | GetDoSmearing () |
Gets the flag indicating if smearing should be done. More... | |
Public Member Functions inherited from G4VUserEventInformation | |
G4VUserEventInformation () | |
virtual | ~G4VUserEventInformation () |
Private Attributes | |
G4bool | fDoSmearing |
A flag indicating if smearing should be performed. It is read by implementations of G4VFastSimulationModel. More... | |
Event information.
Describes the information that can be associated with a G4Event class object.
Definition at line 42 of file Par02EventInformation.hh.
Par02EventInformation::Par02EventInformation | ( | ) |
A default constructor. Sets flag fDoSmearing to true.
Definition at line 35 of file Par02EventInformation.cc.
Par02EventInformation::Par02EventInformation | ( | G4bool | aSmear | ) |
A constructor.
aSmear | The flag indicating if smearing should be done. |
Definition at line 39 of file Par02EventInformation.cc.
|
virtual |
Definition at line 43 of file Par02EventInformation.cc.
G4bool Par02EventInformation::GetDoSmearing | ( | ) |
Gets the flag indicating if smearing should be done.
Definition at line 53 of file Par02EventInformation.cc.
References fDoSmearing.
Referenced by Par02FastSimModelEMCal::DoIt(), Par02FastSimModelHCal::DoIt(), and Par02FastSimModelTracker::DoIt().
|
virtual |
Prints event information.
Implements G4VUserEventInformation.
Definition at line 59 of file Par02EventInformation.cc.
References fDoSmearing, G4cout, and G4endl.
void Par02EventInformation::SetDoSmearing | ( | G4bool | aSmear | ) |
Sets the flag indicating if smearing should be done.
aSmear | A boolean flag. |
Definition at line 47 of file Par02EventInformation.cc.
References fDoSmearing.
|
private |
A flag indicating if smearing should be performed. It is read by implementations of G4VFastSimulationModel.
Definition at line 68 of file Par02EventInformation.hh.
Referenced by GetDoSmearing(), Print(), and SetDoSmearing().