#include <KillSecondariesRunAction.h>
Public Member Functions | |
KillSecondariesRunAction (edm::ParameterSet const &p) | |
void | update (const BeginOfRun *run) |
This routine will be called when the appropriate signal arrives. | |
~KillSecondariesRunAction () |
Definition at line 10 of file KillSecondariesRunAction.h.
KillSecondariesRunAction::KillSecondariesRunAction | ( | edm::ParameterSet const & | p | ) |
Definition at line 9 of file KillSecondariesRunAction.cc.
{}
KillSecondariesRunAction::~KillSecondariesRunAction | ( | ) |
Definition at line 12 of file KillSecondariesRunAction.cc.
{}
void KillSecondariesRunAction::update | ( | const BeginOfRun * | ) | [virtual] |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 14 of file KillSecondariesRunAction.cc.
References gather_cfg::cout.
{ std::cout << " Using KillSecondariesStackingAction!!! " << std::endl; G4RunManagerKernel::GetRunManagerKernel()->GetEventManager()-> SetUserAction(new KillSecondariesStackingAction); }