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

#include <geant4/tree/geant4-10.6-release/examples/basic/B1/include/B1EventAction.hh>

+ Inheritance diagram for B1EventAction:
+ Collaboration diagram for B1EventAction:

Public Member Functions

 B1EventAction (B1RunAction *runAction)
 
virtual ~B1EventAction ()
 
virtual void BeginOfEventAction (const G4Event *event)
 
virtual void EndOfEventAction (const G4Event *event)
 
void AddEdep (G4double edep)
 
 B1EventAction ()
 
virtual ~B1EventAction ()
 
virtual void BeginOfEventAction (const G4Event *event)
 
virtual void EndOfEventAction (const G4Event *event)
 
void AddEdep (G4double edep)
 
G4double GetEdep () const
 
 B1EventAction ()
 
virtual ~B1EventAction ()
 
virtual void BeginOfEventAction (const G4Event *event)
 
virtual void EndOfEventAction (const G4Event *event)
 
void AddEdep (G4double edep)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
virtual void SetEventManager (G4EventManager *value)
 

Private Attributes

B1RunActionfRunAction
 
G4double fEdep
 
G4int fPrintModulo
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Event action class

Event action class

It instantiates B1EventInformation object at the beginning of each event.

Definition at line 41 of file B1EventAction.hh.

View newest version in sPHENIX GitHub at line 41 of file B1EventAction.hh

Constructor & Destructor Documentation

B1EventAction::B1EventAction ( B1RunAction runAction)

Definition at line 38 of file B1EventAction.cc.

View newest version in sPHENIX GitHub at line 38 of file B1EventAction.cc

B1EventAction::~B1EventAction ( )
virtual

Definition at line 46 of file B1EventAction.cc.

View newest version in sPHENIX GitHub at line 46 of file B1EventAction.cc

B1EventAction::B1EventAction ( )

Definition at line 38 of file B1EventAction.cc.

View newest version in sPHENIX GitHub at line 38 of file B1EventAction.cc

virtual B1EventAction::~B1EventAction ( )
virtual
B1EventAction::B1EventAction ( )
virtual B1EventAction::~B1EventAction ( )
virtual

Member Function Documentation

void B1EventAction::AddEdep ( G4double  edep)
inline

Definition at line 48 of file B1EventAction.hh.

View newest version in sPHENIX GitHub at line 48 of file B1EventAction.hh

References edep, and fEdep.

void B1EventAction::AddEdep ( G4double  edep)
inline

Definition at line 50 of file B1EventAction.hh.

View newest version in sPHENIX GitHub at line 50 of file B1EventAction.hh

References edep, and fEdep.

Referenced by B1SteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

void B1EventAction::AddEdep ( G4double  edep)
inline

Definition at line 50 of file B1EventAction.hh.

View newest version in sPHENIX GitHub at line 50 of file B1EventAction.hh

References edep, and fEdep.

virtual void B1EventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

virtual void B1EventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

void B1EventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 51 of file B1EventAction.cc.

View newest version in sPHENIX GitHub at line 51 of file B1EventAction.cc

References fEdep.

virtual void B1EventAction::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

void B1EventAction::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 58 of file B1EventAction.cc.

View newest version in sPHENIX GitHub at line 58 of file B1EventAction.cc

References B1RunAction::AddEdep(), fEdep, and fRunAction.

+ Here is the call graph for this function:

virtual void B1EventAction::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

G4double B1EventAction::GetEdep ( ) const
inline

Definition at line 51 of file B1EventAction.hh.

View newest version in sPHENIX GitHub at line 51 of file B1EventAction.hh

References fEdep.

Member Data Documentation

G4double B1EventAction::fEdep
private

Definition at line 54 of file B1EventAction.hh.

View newest version in sPHENIX GitHub at line 54 of file B1EventAction.hh

Referenced by AddEdep(), BeginOfEventAction(), EndOfEventAction(), and GetEdep().

G4int B1EventAction::fPrintModulo
private

Definition at line 54 of file B1EventAction.hh.

View newest version in sPHENIX GitHub at line 54 of file B1EventAction.hh

B1RunAction* B1EventAction::fRunAction
private

Definition at line 53 of file B1EventAction.hh.

View newest version in sPHENIX GitHub at line 53 of file B1EventAction.hh

Referenced by EndOfEventAction().


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