CMS 3D CMS Logo

KillSecondariesRunAction Class Reference

#include <SimG4Core/KillSecondaries/interface/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.

00010     {}

KillSecondariesRunAction::~KillSecondariesRunAction (  ) 

Definition at line 12 of file KillSecondariesRunAction.cc.

00012 {}


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 GenMuonPlsPt100GeV_cfg::cout, and lat::endl().

00015 { 
00016     std::cout << " Using KillSecondariesStackingAction!!! " << std::endl;
00017     G4RunManagerKernel::GetRunManagerKernel()->GetEventManager()->
00018         SetUserAction(new KillSecondariesStackingAction);
00019 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:26:18 2009 for CMSSW by  doxygen 1.5.4