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

#include <geant4/tree/geant4-10.6-release/examples/extended/runAndEvent/RE01/include/RE01EventAction.hh>

+ Inheritance diagram for RE01EventAction:
+ Collaboration diagram for RE01EventAction:

Public Member Functions

 RE01EventAction ()
 
virtual ~RE01EventAction ()
 
virtual void BeginOfEventAction (const G4Event *)
 
virtual void EndOfEventAction (const G4Event *)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
virtual void SetEventManager (G4EventManager *value)
 

Private Member Functions

void PrintPrimary (G4PrimaryParticle *pp, G4int ind)
 

Private Attributes

G4int fTrackerCollID
 
G4int fCalorimeterCollID
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Definition at line 39 of file RE01EventAction.hh.

View newest version in sPHENIX GitHub at line 39 of file RE01EventAction.hh

Constructor & Destructor Documentation

RE01EventAction::RE01EventAction ( )

Definition at line 50 of file RE01EventAction.cc.

View newest version in sPHENIX GitHub at line 50 of file RE01EventAction.cc

RE01EventAction::~RE01EventAction ( )
virtual

Definition at line 56 of file RE01EventAction.cc.

View newest version in sPHENIX GitHub at line 56 of file RE01EventAction.cc

Member Function Documentation

void RE01EventAction::BeginOfEventAction ( const G4Event )
virtual

Reimplemented from G4UserEventAction.

Definition at line 60 of file RE01EventAction.cc.

View newest version in sPHENIX GitHub at line 60 of file RE01EventAction.cc

References fCalorimeterCollID, fTrackerCollID, G4SDManager::GetCollectionID(), and G4SDManager::GetSDMpointer().

+ Here is the call graph for this function:

void RE01EventAction::PrintPrimary ( G4PrimaryParticle pp,
G4int  ind 
)
private

Definition at line 168 of file RE01EventAction.cc.

View newest version in sPHENIX GitHub at line 168 of file RE01EventAction.cc

References G4cout, G4endl, G4PrimaryParticle::GetDaughter(), G4PrimaryParticle::GetG4code(), G4PrimaryParticle::GetMomentum(), G4PrimaryParticle::GetNext(), G4ParticleDefinition::GetParticleName(), G4PrimaryParticle::GetPDGcode(), G4PrimaryParticle::GetTrackID(), and GeV.

Referenced by EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4int RE01EventAction::fCalorimeterCollID
private

Definition at line 51 of file RE01EventAction.hh.

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

Referenced by BeginOfEventAction(), and EndOfEventAction().

G4int RE01EventAction::fTrackerCollID
private

Definition at line 50 of file RE01EventAction.hh.

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

Referenced by BeginOfEventAction(), and EndOfEventAction().


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