"Utilities/git@code.ihep.ac.cn:dhb112358/CEPCSW.git" did not exist on "924eea293c8b3cbce0fe212c6e21eba851d8a1eb"
Newer
Older
#include "RunAction.h"
#include "G4Run.hh"
RunAction::RunAction(ToolHandleArray<IAnaElemTool>& anatools)
: G4UserRunAction(),
m_anaelemtools(anatools) {
}
RunAction::~RunAction() {
}
void
RunAction::BeginOfRunAction(const G4Run* aRun)
{
for (auto ana: m_anaelemtools) {
ana->BeginOfRunAction(aRun);
}
}
void
RunAction::EndOfRunAction(const G4Run* aRun)
{
for (auto ana: m_anaelemtools) {
ana->EndOfRunAction(aRun);
}