#ifndef runaction_hh #define runaction_hh #include "G4UserRunAction.hh" #include "G4Run.hh" #include "G4SystemOfUnits.hh" #include "G4UnitsTable.hh" #include "G4RunManager.hh" #include "G4AnalysisManager.hh" #include "G4Threading.hh" class RunAction : public G4UserRunAction { public: RunAction(); ~RunAction(); virtual void BeginOfRunAction(const G4Run *) override; virtual void EndOfRunAction(const G4Run *) override; private: G4String outputFileName = "output.root"; }; #endif