1 #ifndef FDsimG4EventAction_h
2 #define FDsimG4EventAction_h 1
7 #include "G4RunManager.hh"
9 #include "G4UserEventAction.hh"
11 #include "G4ThreeVector.hh"
13 namespace TelescopeSimulatorLX {
15 class TelescopeSimulator;
16 class FDsimG4Write2ROOT;
29 void WriteHits(std::string HitsCollectionName,G4HCofThisEvent* HCE);
G4THitsCollection< FDsimG4OpticalHit > FDsimG4OpticalHitsCollection
FDsimG4Write2ROOT * fWrite2ROOT
void CopyHit(const FDsimG4OpticalHit *, FDsimG4StoreOpticalHit *)
void BeginOfEventAction(const G4Event *)
void WriteHits(std::string HitsCollectionName, G4HCofThisEvent *HCE)
FDsimG4OpticalHitsCollection * fOpticalHitsColl
void EndOfEventAction(const G4Event *)
TelescopeSimulator * fFDSimulator
Simulates the FD telescope using Geant4.