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

#include <geant4/tree/geant4-10.6-release/examples/advanced/hadrontherapy/include/HadrontherapyEventAction.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)
 
 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 ()
 
virtual 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 66 of file HadrontherapyEventAction.hh.

View newest version in sPHENIX GitHub at line 66 of file HadrontherapyEventAction.hh

Constructor & Destructor Documentation

B4aEventAction::B4aEventAction ( )

Definition at line 43 of file B4aEventAction.cc.

View newest version in sPHENIX GitHub at line 43 of file B4aEventAction.cc

B4aEventAction::~B4aEventAction ( )
virtual

Definition at line 53 of file B4aEventAction.cc.

View newest version in sPHENIX GitHub at line 53 of file B4aEventAction.cc

B4aEventAction::B4aEventAction ( )
virtual B4aEventAction::~B4aEventAction ( )
virtual

Member Function Documentation

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

Definition at line 87 of file HadrontherapyEventAction.hh.

View newest version in sPHENIX GitHub at line 87 of file HadrontherapyEventAction.hh

References fEnergyAbs, and fTrackLAbs.

Referenced by B4aSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

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

Definition at line 92 of file HadrontherapyEventAction.hh.

View newest version in sPHENIX GitHub at line 92 of file HadrontherapyEventAction.hh

References fEnergyGap, and fTrackLGap.

Referenced by B4aSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

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

Reimplemented from G4UserEventAction.

void B4aEventAction::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 58 of file B4aEventAction.cc.

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

References fEnergyAbs, fEnergyGap, fTrackLAbs, and fTrackLGap.

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

Reimplemented from G4UserEventAction.

void B4aEventAction::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 69 of file B4aEventAction.cc.

View newest version in sPHENIX GitHub at line 69 of file B4aEventAction.cc

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

+ Here is the call graph for this function:

Member Data Documentation

G4double B4aEventAction::fEnergyAbs
private

Definition at line 79 of file HadrontherapyEventAction.hh.

View newest version in sPHENIX GitHub at line 79 of file HadrontherapyEventAction.hh

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

G4double B4aEventAction::fEnergyGap
private

Definition at line 80 of file HadrontherapyEventAction.hh.

View newest version in sPHENIX GitHub at line 80 of file HadrontherapyEventAction.hh

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

G4double B4aEventAction::fTrackLAbs
private

Definition at line 81 of file HadrontherapyEventAction.hh.

View newest version in sPHENIX GitHub at line 81 of file HadrontherapyEventAction.hh

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

G4double B4aEventAction::fTrackLGap
private

Definition at line 82 of file HadrontherapyEventAction.hh.

View newest version in sPHENIX GitHub at line 82 of file HadrontherapyEventAction.hh

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


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