SimG4Core
KillSecondaries
src
KillSecondariesRunAction.cc
Go to the documentation of this file.
1
#include "
SimG4Core/KillSecondaries/interface/KillSecondariesRunAction.h
"
2
#include "
SimG4Core/KillSecondaries/interface/KillSecondariesStackingAction.h
"
3
4
#include "
SimG4Core/Notification/interface/BeginOfRun.h
"
5
6
#include "G4Run.hh"
7
#include "G4RunManagerKernel.hh"
8
9
KillSecondariesRunAction::KillSecondariesRunAction
(
edm::ParameterSet
const
&
p
) {}
10
11
KillSecondariesRunAction::~KillSecondariesRunAction
() {}
12
13
void
KillSecondariesRunAction::update
(
const
BeginOfRun
*
r
) {
14
std::cout
<<
" Using KillSecondariesStackingAction!!! "
<< std::endl;
15
G4RunManagerKernel::GetRunManagerKernel()->GetEventManager()->SetUserAction(
new
KillSecondariesStackingAction
);
16
}
KillSecondariesRunAction::~KillSecondariesRunAction
~KillSecondariesRunAction() override
Definition:
KillSecondariesRunAction.cc:11
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
BeginOfRun.h
KillSecondariesRunAction::KillSecondariesRunAction
KillSecondariesRunAction(edm::ParameterSet const &p)
Definition:
KillSecondariesRunAction.cc:9
edm::ParameterSet
Definition:
ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
KillSecondariesRunAction.h
BeginOfRun
Definition:
BeginOfRun.h:6
alignCSCRings.r
r
Definition:
alignCSCRings.py:93
KillSecondariesStackingAction
Definition:
KillSecondariesStackingAction.h:8
KillSecondariesRunAction::update
void update(const BeginOfRun *run) override
This routine will be called when the appropriate signal arrives.
Definition:
KillSecondariesRunAction.cc:13
KillSecondariesStackingAction.h
Generated for CMSSW Reference Manual by
1.8.16