CMS 3D CMS Logo

KillSecondariesRunAction.cc
Go to the documentation of this file.
3 
5 
6 #include "G4Run.hh"
7 #include "G4RunManagerKernel.hh"
8 
10  {}
11 
13 
15 {
16  std::cout << " Using KillSecondariesStackingAction!!! " << std::endl;
17  G4RunManagerKernel::GetRunManagerKernel()->GetEventManager()->
18  SetUserAction(new KillSecondariesStackingAction);
19 }
20 
KillSecondariesRunAction(edm::ParameterSet const &p)
void update(const BeginOfRun *run)
This routine will be called when the appropriate signal arrives.