#include #include #include "G4UserRunAction.hh" #include "DMuonDetectorTruthHit_t.h" #include "DFCALTruthHit_t.h" #include "DMCThrown_t.h" class PiMuG4UserRunAction:public G4UserRunAction { public: PiMuG4UserRunAction(); virtual ~PiMuG4UserRunAction(); void BeginOfRunAction(const G4Run* aRun); void EndOfRunAction(const G4Run* aRun); static TFile *rootFile; static TTree *tree; DMuonDetectorTruthHit_t detHit; DFCALTruthHit_t fcalHit; DMCThrown_t mcthrown; };