29#ifndef B1_RunAction_hh
30#define B1_RunAction_hh
32#include <G4Accumulable.hh>
33#include <G4UserRunAction.hh>
55 G4Accumulable<G4double> fEdep{0.0};
56 G4Accumulable<G4double> fEdep2{0.0};
Accumulates total energy deposited in shape2 across the run.
void BeginOfRunAction(const G4Run *run) override
void EndOfRunAction(const G4Run *run) override
~RunAction() override=default
void AddEdep(G4double edep)
Add edep to the accumulated energy deposit.