26#ifndef PAR04EVENTACTION_HH
27#define PAR04EVENTACTION_HH
32#include "G4UserEventAction.hh"
Event action class for hits' analysis.
std::vector< G4int > fCalZ
Cell ID of z axis to be stored in ntuple.
G4double fCellSizePhi
Size of cell in azimuthal angle.
virtual void BeginOfEventAction(const G4Event *aEvent) final
Timer is started.
G4int fHitCollectionID
ID of a hit collection to analyse.
std::vector< G4int > fCalPhi
Cell ID of azimuthal angle to be stored in ntuple.
G4int fCellNbRho
Number of readout cells along radius.
G4int fPhysicalFullHitCollectionID
std::vector< G4int > fCalPhysicalRow
Physical row ID to be stored in ntuple.
std::vector< G4int > & GetPhysicalCalSlice()
std::vector< G4int > & GetCalZ()
std::vector< G4int > & GetCalPhi()
virtual ~Par04EventAction()
G4int fCellNbZ
Number of readout cells along z axis.
G4int fPhysicalNbRows
Number of physical readout rows.
std::vector< G4double > fCalPhysicalEdep
Physical cell energy deposits to be stored in ntuple.
G4double fCellSizeRho
Size of cell along radius of cylinder.
Par04DetectorConstruction * fDetector
Pointer to detector construction to retrieve (once) the detector dimensions and size of readout.
G4int fPhysicalNbLayers
Number of physical readout layers.
G4double fCellSizeZ
Size of cell along Z axis.
std::vector< G4int > & GetCalRho()
std::vector< G4int > fCalRho
Cell ID of radius to be stored in ntuple.
G4Timer fTimer
Timer measurement from Geant4.
std::vector< G4double > & GetCalEdep()
G4int fPhysicalNbSlices
Number of physical readout slices.
std::vector< G4double > fCalEdep
Cell energy deposits to be stored in ntuple.
std::vector< G4int > fCalPhysicalLayer
Physical layer ID to be stored in ntuple.
virtual void EndOfEventAction(const G4Event *aEvent) final
Hits collection is retrieved, analysed, and histograms are filled.
std::vector< G4int > & GetPhysicalCalRow()
std::vector< G4double > & GetPhysicalCalEdep()
std::vector< G4int > & GetPhysicalCalLayer()
G4int fPhysicalFastHitCollectionID
std::vector< G4int > fCalPhysicalSlice
Physical slice ID to be stored in ntuple.
G4int fCellNbPhi
Number of readout cells in azimuthal angle.
Par04ParallelFullWorld * fParallel