ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
B5EventAction Class Reference

Event action. More...

#include <geant4/tree/geant4-10.6-release/examples/basic/B5/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

std::array< G4int, kDimfHodHCID
 
std::array< G4int, kDimfDriftHCID
 
std::array< G4int, kDimfCalHCID
 
std::array< std::array< G4int,
kDim >, kDim
fDriftHistoID
 
std::array< std::vector
< G4double >, kDim
fCalEdep
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Event action.

Definition at line 49 of file B5EventAction.hh.

View newest version in sPHENIX GitHub at line 49 of file B5EventAction.hh

Constructor & Destructor Documentation

B5EventAction::B5EventAction ( )

Definition at line 79 of file B5EventAction.cc.

View newest version in sPHENIX GitHub at line 79 of file B5EventAction.cc

virtual B5EventAction::~B5EventAction ( )
virtual

Member Function Documentation

virtual void B5EventAction::BeginOfEventAction ( const G4Event )
virtual

Reimplemented from G4UserEventAction.

virtual void B5EventAction::EndOfEventAction ( const G4Event )
virtual

Reimplemented from G4UserEventAction.

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

Definition at line 58 of file B5EventAction.hh.

View newest version in sPHENIX GitHub at line 58 of file B5EventAction.hh

References fCalEdep, and kEm.

Referenced by B5RunAction::B5RunAction().

+ Here is the caller graph for this function:

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

Definition at line 59 of file B5EventAction.hh.

View newest version in sPHENIX GitHub at line 59 of file B5EventAction.hh

References fCalEdep, and kHad.

Referenced by B5RunAction::B5RunAction().

+ Here is the caller graph for this function:

Member Data Documentation

std::array<std::vector<G4double>, kDim> B5EventAction::fCalEdep
private

Definition at line 69 of file B5EventAction.hh.

View newest version in sPHENIX GitHub at line 69 of file B5EventAction.hh

Referenced by GetEmCalEdep(), and GetHadCalEdep().

std::array<G4int, kDim> B5EventAction::fCalHCID
private

Definition at line 65 of file B5EventAction.hh.

View newest version in sPHENIX GitHub at line 65 of file B5EventAction.hh

std::array<G4int, kDim> B5EventAction::fDriftHCID
private

Definition at line 64 of file B5EventAction.hh.

View newest version in sPHENIX GitHub at line 64 of file B5EventAction.hh

std::array<std::array<G4int, kDim>, kDim> B5EventAction::fDriftHistoID
private

Definition at line 67 of file B5EventAction.hh.

View newest version in sPHENIX GitHub at line 67 of file B5EventAction.hh

std::array<G4int, kDim> B5EventAction::fHodHCID
private

Definition at line 63 of file B5EventAction.hh.

View newest version in sPHENIX GitHub at line 63 of file B5EventAction.hh


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