Geant4  10.02.p01
B4aEventAction Class Reference

Event action class. More...

#include <B4aEventAction.hh>

+ Inheritance diagram for B4aEventAction:
+ Collaboration diagram for B4aEventAction:

Public Member Functions

 B4aEventAction ()
 
virtual ~B4aEventAction ()
 
virtual void BeginOfEventAction (const G4Event *event)
 
virtual void EndOfEventAction (const G4Event *event)
 
void AddAbs (G4double de, G4double dl)
 
void AddGap (G4double de, G4double dl)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
void SetEventManager (G4EventManager *value)
 

Private Attributes

G4double fEnergyAbs
 
G4double fEnergyGap
 
G4double fTrackLAbs
 
G4double fTrackLGap
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Event action class.

It defines data members to hold the energy deposit and track lengths of charged particles in Absober and Gap layers:

  • fEnergyAbs, fEnergyGap, fTrackLAbs, fTrackLGap which are collected step by step via the functions
  • AddAbs(), AddGap()

Definition at line 45 of file B4aEventAction.hh.

Constructor & Destructor Documentation

B4aEventAction::B4aEventAction ( )

Definition at line 44 of file B4aEventAction.cc.

B4aEventAction::~B4aEventAction ( )
virtual

Definition at line 54 of file B4aEventAction.cc.

Member Function Documentation

void B4aEventAction::AddAbs ( G4double  de,
G4double  dl 
)
inline

Definition at line 66 of file B4aEventAction.hh.

References fEnergyAbs, and fTrackLAbs.

Referenced by B4aSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

void B4aEventAction::AddGap ( G4double  de,
G4double  dl 
)
inline

Definition at line 71 of file B4aEventAction.hh.

References fEnergyGap, and fTrackLGap.

Referenced by B4aSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

void B4aEventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 59 of file B4aEventAction.cc.

References fEnergyAbs, fEnergyGap, fTrackLAbs, and fTrackLGap.

void B4aEventAction::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 70 of file B4aEventAction.cc.

References fEnergyAbs, fEnergyGap, fTrackLAbs, fTrackLGap, G4BestUnit, G4cout, G4endl, G4RunManager::GetPrintProgress(), and G4RunManager::GetRunManager().

+ Here is the call graph for this function:

Member Data Documentation

G4double B4aEventAction::fEnergyAbs
private

Definition at line 58 of file B4aEventAction.hh.

Referenced by AddAbs(), BeginOfEventAction(), and EndOfEventAction().

G4double B4aEventAction::fEnergyGap
private

Definition at line 59 of file B4aEventAction.hh.

Referenced by AddGap(), BeginOfEventAction(), and EndOfEventAction().

G4double B4aEventAction::fTrackLAbs
private

Definition at line 60 of file B4aEventAction.hh.

Referenced by AddAbs(), BeginOfEventAction(), and EndOfEventAction().

G4double B4aEventAction::fTrackLGap
private

Definition at line 61 of file B4aEventAction.hh.

Referenced by AddGap(), BeginOfEventAction(), and EndOfEventAction().


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