Geant4  10.03
B5EventAction Class Reference

Event action. More...

#include <B5EventAction.hh>

+ Inheritance diagram for B5EventAction:
+ Collaboration diagram for B5EventAction:

Public Member Functions

 B5EventAction ()
 
virtual ~B5EventAction ()
 
virtual void BeginOfEventAction (const G4Event *)
 
virtual void EndOfEventAction (const G4Event *)
 
std::vector< G4double > & GetEmCalEdep ()
 
std::vector< G4double > & GetHadCalEdep ()
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
virtual void SetEventManager (G4EventManager *value)
 

Private Attributes

G4int fHodHC1ID
 
G4int fHodHC2ID
 
G4int fDriftHC1ID
 
G4int fDriftHC2ID
 
G4int fEmCalHCID
 
G4int fHadCalHCID
 
std::vector< G4doublefEmCalEdep
 
std::vector< G4doublefHadCalEdep
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Event action.

Definition at line 42 of file B5EventAction.hh.

Constructor & Destructor Documentation

B5EventAction::B5EventAction ( )

Definition at line 51 of file B5EventAction.cc.

References G4RunManager::GetRunManager(), and G4RunManager::SetPrintProgress().

+ Here is the call graph for this function:

B5EventAction::~B5EventAction ( )
virtual

Definition at line 68 of file B5EventAction.cc.

Member Function Documentation

void B5EventAction::BeginOfEventAction ( const G4Event )
virtual

Reimplemented from G4UserEventAction.

Definition at line 73 of file B5EventAction.cc.

References fDriftHC1ID, fDriftHC2ID, fEmCalHCID, fHadCalHCID, fHodHC1ID, fHodHC2ID, and G4SDManager::GetSDMpointer().

+ Here is the call graph for this function:

void B5EventAction::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 88 of file B5EventAction.cc.

References fDriftHC1ID, fDriftHC2ID, fEmCalEdep, fEmCalHCID, fHadCalEdep, fHadCalHCID, fHodHC1ID, fHodHC2ID, G4cout, G4endl, G4Exception(), G4Event::GetEventID(), G4RunManager::GetPrintProgress(), G4RunManager::GetRunManager(), JustWarning, kNofChambers, kNofEmCells, kNofHadCells, and MeV.

+ Here is the call graph for this function:

std::vector<G4double>& B5EventAction::GetEmCalEdep ( )
inline

Definition at line 51 of file B5EventAction.hh.

References fEmCalEdep.

Referenced by B5RunAction::B5RunAction().

+ Here is the caller graph for this function:

std::vector<G4double>& B5EventAction::GetHadCalEdep ( )
inline

Definition at line 52 of file B5EventAction.hh.

References fEmCalEdep.

Referenced by B5RunAction::B5RunAction().

+ Here is the caller graph for this function:

Member Data Documentation

G4int B5EventAction::fDriftHC1ID
private

Definition at line 57 of file B5EventAction.hh.

Referenced by BeginOfEventAction(), and EndOfEventAction().

G4int B5EventAction::fDriftHC2ID
private

Definition at line 58 of file B5EventAction.hh.

Referenced by BeginOfEventAction(), and EndOfEventAction().

std::vector<G4double> B5EventAction::fEmCalEdep
private

Definition at line 61 of file B5EventAction.hh.

Referenced by EndOfEventAction(), GetEmCalEdep(), and GetHadCalEdep().

G4int B5EventAction::fEmCalHCID
private

Definition at line 59 of file B5EventAction.hh.

Referenced by BeginOfEventAction(), and EndOfEventAction().

std::vector<G4double> B5EventAction::fHadCalEdep
private

Definition at line 62 of file B5EventAction.hh.

Referenced by EndOfEventAction().

G4int B5EventAction::fHadCalHCID
private

Definition at line 60 of file B5EventAction.hh.

Referenced by BeginOfEventAction(), and EndOfEventAction().

G4int B5EventAction::fHodHC1ID
private

Definition at line 55 of file B5EventAction.hh.

Referenced by BeginOfEventAction(), and EndOfEventAction().

G4int B5EventAction::fHodHC2ID
private

Definition at line 56 of file B5EventAction.hh.

Referenced by BeginOfEventAction(), and EndOfEventAction().


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