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

#include <geant4/tree/geant4-10.6-release/examples/basic/B3/B3a/include/B3aEventAction.hh>

+ Inheritance diagram for B3aEventAction:
+ Collaboration diagram for B3aEventAction:

Public Member Functions

 B3aEventAction (B3aRunAction *runAction)
 
virtual ~B3aEventAction ()
 
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 Attributes

B3aRunActionfRunAction
 
G4int fCollID_cryst
 
G4int fCollID_patient
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Event action class

In EndOfEventAction() there is collected information event per event from Hits Collections, and accumulated statistic for B3RunAction::EndOfRunAction().

Definition at line 44 of file B3aEventAction.hh.

View newest version in sPHENIX GitHub at line 44 of file B3aEventAction.hh

Constructor & Destructor Documentation

B3aEventAction::B3aEventAction ( B3aRunAction runAction)

Definition at line 44 of file B3aEventAction.cc.

View newest version in sPHENIX GitHub at line 44 of file B3aEventAction.cc

B3aEventAction::~B3aEventAction ( )
virtual

Definition at line 53 of file B3aEventAction.cc.

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

Member Function Documentation

void B3aEventAction::BeginOfEventAction ( const G4Event )
virtual

Reimplemented from G4UserEventAction.

Definition at line 58 of file B3aEventAction.cc.

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

void B3aEventAction::EndOfEventAction ( const G4Event evt)
virtual

G4int copyNb = (itr->first);

G4cout << "\n cryst" << copyNb << ": " << edep/keV << " keV ";

G4int copyNb = (itr->first);

Reimplemented from G4UserEventAction.

Definition at line 63 of file B3aEventAction.cc.

View newest version in sPHENIX GitHub at line 63 of file B3aEventAction.cc

References B3aRunAction::CountEvent(), dose, edep, fCollID_cryst, fCollID_patient, fRunAction, G4SDManager::GetCollectionID(), G4HCofThisEvent::GetHC(), G4Event::GetHCofThisEvent(), G4VTHitsMap< T, Map_t >::GetMap(), G4SDManager::GetSDMpointer(), keV, and B3aRunAction::SumDose().

+ Here is the call graph for this function:

Member Data Documentation

G4int B3aEventAction::fCollID_cryst
private

Definition at line 55 of file B3aEventAction.hh.

View newest version in sPHENIX GitHub at line 55 of file B3aEventAction.hh

Referenced by EndOfEventAction().

G4int B3aEventAction::fCollID_patient
private

Definition at line 56 of file B3aEventAction.hh.

View newest version in sPHENIX GitHub at line 56 of file B3aEventAction.hh

Referenced by EndOfEventAction().

B3aRunAction* B3aEventAction::fRunAction
private

Definition at line 54 of file B3aEventAction.hh.

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

Referenced by EndOfEventAction().


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