ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/basic/B3/B3a/include/B3aEventAction.hh>
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 | |
B3aRunAction * | fRunAction |
G4int | fCollID_cryst |
G4int | fCollID_patient |
Additional Inherited Members | |
Protected Attributes inherited from G4UserEventAction | |
G4EventManager * | fpEventManager |
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
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
|
virtual |
Definition at line 53 of file B3aEventAction.cc.
View newest version in sPHENIX GitHub at line 53 of file B3aEventAction.cc
Reimplemented from G4UserEventAction.
Definition at line 58 of file B3aEventAction.cc.
View newest version in sPHENIX GitHub at line 58 of file B3aEventAction.cc
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().
|
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().
|
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().
|
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().