24 lines
459 B
C
24 lines
459 B
C
|
#ifndef DESCSS_RunAction_h
|
||
|
#define DESCSS_RunAction_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(std::map<G4String, G4double> edep);
|
||
|
|
||
|
private:
|
||
|
std::vector<G4String> sensitiveList;
|
||
|
};
|
||
|
|
||
|
#endif
|