Main Page
Namespaces
Classes
Package Documentation
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
12
KillSecondariesRunAction::~KillSecondariesRunAction
() {}
13
14
void
KillSecondariesRunAction::update
(
const
BeginOfRun
*
r
)
15
{
16
std::cout
<<
" Using KillSecondariesStackingAction!!! "
<< std::endl;
17
G4RunManagerKernel::GetRunManagerKernel()->GetEventManager()->
18
SetUserAction(
new
KillSecondariesStackingAction
);
19
}
20
KillSecondariesStackingAction.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
KillSecondariesRunAction::~KillSecondariesRunAction
~KillSecondariesRunAction() override
Definition:
KillSecondariesRunAction.cc:12
KillSecondariesRunAction::update
void update(const BeginOfRun *run) override
This routine will be called when the appropriate signal arrives.
Definition:
KillSecondariesRunAction.cc:14
BeginOfRun
Definition:
BeginOfRun.h:6
alignCSCRings.r
r
Definition:
alignCSCRings.py:92
KillSecondariesRunAction::KillSecondariesRunAction
KillSecondariesRunAction(edm::ParameterSet const &p)
Definition:
KillSecondariesRunAction.cc:9
edm::ParameterSet
Definition:
ParameterSet.h:36
KillSecondariesRunAction.h
gather_cfg.cout
cout
Definition:
gather_cfg.py:143
KillSecondariesStackingAction
Definition:
KillSecondariesStackingAction.h:8
BeginOfRun.h
Generated for CMSSW Reference Manual by
1.8.11