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 
12 
14  std::cout << " Using KillSecondariesStackingAction!!! " << std::endl;
15  G4RunManagerKernel::GetRunManagerKernel()->GetEventManager()->SetUserAction(new KillSecondariesStackingAction);
16 }
void update(const BeginOfRun *run) override
This routine will be called when the appropriate signal arrives.
KillSecondariesRunAction(edm::ParameterSet const &p)