CMS 3D CMS Logo

Public Member Functions

KillSecondariesRunAction Class Reference

#include <KillSecondariesRunAction.h>

Inheritance diagram for KillSecondariesRunAction:
SimWatcher Observer< const BeginOfRun * >

List of all members.

Public Member Functions

 KillSecondariesRunAction (edm::ParameterSet const &p)
void update (const BeginOfRun *run)
 This routine will be called when the appropriate signal arrives.
 ~KillSecondariesRunAction ()

Detailed Description

Definition at line 10 of file KillSecondariesRunAction.h.


Constructor & Destructor Documentation

KillSecondariesRunAction::KillSecondariesRunAction ( edm::ParameterSet const &  p)

Definition at line 9 of file KillSecondariesRunAction.cc.

    {}
KillSecondariesRunAction::~KillSecondariesRunAction ( )

Definition at line 12 of file KillSecondariesRunAction.cc.

{}

Member Function Documentation

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);
}