Geant4  10.02.p02
Par02EventInformation Class Reference

Event information. More...

#include <Par02EventInformation.hh>

+ Inheritance diagram for Par02EventInformation:
+ Collaboration diagram for Par02EventInformation:

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...
 

Detailed Description

Event information.

Describes the information that can be associated with a G4Event class object.

Author
Anna Zaborowska

Definition at line 42 of file Par02EventInformation.hh.

Constructor & Destructor Documentation

Par02EventInformation::Par02EventInformation ( )

A default constructor. Sets flag fDoSmearing to true.

Definition at line 35 of file Par02EventInformation.cc.

Par02EventInformation::Par02EventInformation ( G4bool  aSmear)

A constructor.

Parameters
aSmearThe flag indicating if smearing should be done.

Definition at line 39 of file Par02EventInformation.cc.

Par02EventInformation::~Par02EventInformation ( )
virtual

Definition at line 43 of file Par02EventInformation.cc.

Member Function Documentation

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().

+ Here is the caller graph for this function:

void Par02EventInformation::Print ( void  ) const
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.

Parameters
aSmearA boolean flag.

Definition at line 47 of file Par02EventInformation.cc.

References fDoSmearing.

Member Data Documentation

G4bool Par02EventInformation::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().


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