|
G4OCCT 0.1.0
Geant4 interface to Open CASCADE Technology (OCCT) geometry definitions
|
Accumulates total energy deposited in shape2 across the run. More...
#include <RunAction.hh>
Public Member Functions | |
| RunAction () | |
| ~RunAction () override=default | |
| void | BeginOfRunAction (const G4Run *run) override |
| void | EndOfRunAction (const G4Run *run) override |
| void | AddEdep (G4double edep) |
Add edep to the accumulated energy deposit. | |
Accumulates total energy deposited in shape2 across the run.
At the end of the run, prints the total and per-event energy deposit in shape2.
Definition at line 43 of file RunAction.hh.
| RunAction::RunAction | ( | ) |
Definition at line 40 of file RunAction.cc.
|
overridedefault |
| void RunAction::AddEdep | ( | G4double | edep | ) |
Add edep to the accumulated energy deposit.
Definition at line 72 of file RunAction.cc.
Referenced by EventAction::EndOfEventAction().
|
override |
Definition at line 46 of file RunAction.cc.
|
override |
Definition at line 50 of file RunAction.cc.