#include <UltraEventAction.hh>
Definition at line 56 of file UltraEventAction.hh.
◆ UltraEventAction()
UltraEventAction::UltraEventAction |
( |
| ) |
|
◆ ~UltraEventAction()
UltraEventAction::~UltraEventAction |
( |
| ) |
|
◆ BeginOfEventAction()
void UltraEventAction::BeginOfEventAction |
( |
const G4Event * |
evt | ) |
|
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 67 of file UltraEventAction.cc.
69 G4int printModulo = 100;
81 if (
evtNb%printModulo == 0)
G4int GetCollectionID(G4String colName)
G4GLOB_DLL std::ostream G4cout
static G4SDManager * GetSDMpointer()
◆ EndOfEventAction()
void UltraEventAction::EndOfEventAction |
( |
const G4Event * |
evt | ) |
|
|
virtual |
Reimplemented from G4UserEventAction.
Definition at line 87 of file UltraEventAction.cc.
104 nOptHits = OpticalHitsColl->
entries();
108 G4cout <<
" Optical Hit # " <<
" " <<
"Energy (eV)" <<
" " <<
"x,y,z (cm)" <<
G4endl ;
112 for(
G4int iHit=0; iHit<nOptHits; iHit++){
113 G4double HitEnergy = (*OpticalHitsColl)[iHit]->GetEnergy() ;
G4VHitsCollection * GetHC(G4int i)
G4GLOB_DLL std::ostream G4cout
G4bool FillH1(G4int id, G4double value, G4double weight=1.0)
G4HCofThisEvent * GetHCofThisEvent() const
◆ GetEvtNumb()
G4int UltraEventAction::GetEvtNumb |
( |
| ) |
|
|
inline |
◆ evtNb
G4int UltraEventAction::evtNb |
|
private |
◆ OpticalHitsCollID
G4int UltraEventAction::OpticalHitsCollID |
|
private |
The documentation for this class was generated from the following files: