FDsimG4EventAction.hh
Go to the documentation of this file.
1 #ifndef FDsimG4EventAction_h
2 #define FDsimG4EventAction_h 1
3 
4 #include "TelescopeSimulator.h"
5 #include "FDsimG4OpticalHit.hh"
7 #include "G4RunManager.hh"
8 #include "G4Run.hh"
9 #include "G4UserEventAction.hh"
10 #include "globals.hh"
11 #include "G4ThreeVector.hh"
12 
13 namespace TelescopeSimulatorLX {
14 
15  class TelescopeSimulator;
16  class FDsimG4Write2ROOT;
17  class FDsimG4EventAction : public G4UserEventAction {
18 
19  public:
20  FDsimG4EventAction(void);
23 
24  void BeginOfEventAction(const G4Event*);
25  void EndOfEventAction(const G4Event*);
26 
27  private:
28  void Init(void);
29  void WriteHits(std::string HitsCollectionName,G4HCofThisEvent* HCE);
35  };
36 }
37 
38 #endif
G4THitsCollection< FDsimG4OpticalHit > FDsimG4OpticalHitsCollection
void CopyHit(const FDsimG4OpticalHit *, FDsimG4StoreOpticalHit *)
void WriteHits(std::string HitsCollectionName, G4HCofThisEvent *HCE)
FDsimG4OpticalHitsCollection * fOpticalHitsColl

, generated on Tue Sep 26 2023.