Import Geant4 11.3.0.beta source tree
This commit is contained in:
@@ -26,8 +26,8 @@
|
||||
#ifndef PAR03EVENTACTION_HH
|
||||
#define PAR03EVENTACTION_HH
|
||||
|
||||
#include "G4UserEventAction.hh"
|
||||
#include "G4Timer.hh"
|
||||
#include "G4UserEventAction.hh"
|
||||
|
||||
class Par03DetectorConstruction;
|
||||
|
||||
@@ -42,27 +42,27 @@ class Par03DetectorConstruction;
|
||||
|
||||
class Par03EventAction : public G4UserEventAction
|
||||
{
|
||||
public:
|
||||
Par03EventAction(Par03DetectorConstruction* aDetector);
|
||||
virtual ~Par03EventAction();
|
||||
public:
|
||||
Par03EventAction(Par03DetectorConstruction* aDetector);
|
||||
virtual ~Par03EventAction();
|
||||
|
||||
/// Timer is started
|
||||
virtual void BeginOfEventAction(const G4Event* aEvent) final;
|
||||
/// Hits collection is retrieved, analysed, and histograms are filled.
|
||||
virtual void EndOfEventAction(const G4Event* aEvent) final;
|
||||
/// Timer is started
|
||||
virtual void BeginOfEventAction(const G4Event* aEvent) final;
|
||||
/// Hits collection is retrieved, analysed, and histograms are filled.
|
||||
virtual void EndOfEventAction(const G4Event* aEvent) final;
|
||||
|
||||
private:
|
||||
/// ID of a hit collection to analyse
|
||||
G4int fHitCollectionID;
|
||||
/// Timer measurement
|
||||
G4Timer fTimer;
|
||||
/// Pointer to detector construction to retrieve (once) the detector
|
||||
/// dimensions
|
||||
Par03DetectorConstruction* fDetector;
|
||||
/// Size of cell along Z axis
|
||||
G4double fCellSizeZ = 0;
|
||||
/// Size of cell along radius of cylinder
|
||||
G4double fCellSizeRho = 0;
|
||||
private:
|
||||
/// ID of a hit collection to analyse
|
||||
G4int fHitCollectionID;
|
||||
/// Timer measurement
|
||||
G4Timer fTimer;
|
||||
/// Pointer to detector construction to retrieve (once) the detector
|
||||
/// dimensions
|
||||
Par03DetectorConstruction* fDetector;
|
||||
/// Size of cell along Z axis
|
||||
G4double fCellSizeZ = 0;
|
||||
/// Size of cell along radius of cylinder
|
||||
G4double fCellSizeRho = 0;
|
||||
};
|
||||
|
||||
#endif /* PAR03EVENTACTION_HH */
|
||||
|
||||
Reference in New Issue
Block a user