#ifndef B0RunAction_h #define B0RunAction_h #include "G4Accumulable.hh" #include "G4UserRunAction.hh" #include "globals.hh" class G4Run; class RunAction : public G4UserRunAction { public: RunAction(); ~RunAction() override; void BeginOfRunAction(const G4Run*) override; void EndOfRunAction(const G4Run*) override; void AddEdep(G4double edep); private: G4Accumulable fEdep = 0.; G4Accumulable fEdep2 = 0.; }; #endif