CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
KillSecondariesRunAction Class Reference

#include <KillSecondariesRunAction.h>

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

Public Member Functions

 KillSecondariesRunAction (edm::ParameterSet const &p)
 
void update (const BeginOfRun *run) override
 This routine will be called when the appropriate signal arrives. More...
 
 ~KillSecondariesRunAction () override
 
- Public Member Functions inherited from SimWatcher
virtual void beginRun (edm::EventSetup const &)
 
bool isMT () const
 
const SimWatcheroperator= (const SimWatcher &)=delete
 
virtual void registerConsumes (edm::ConsumesCollector)
 
 SimWatcher ()
 
 SimWatcher (const SimWatcher &)=delete
 
virtual ~SimWatcher ()
 
- Public Member Functions inherited from Observer< const BeginOfRun * >
 Observer ()
 
void slotForUpdate (const BeginOfRun *iT)
 
virtual ~Observer ()
 

Additional Inherited Members

- Protected Member Functions inherited from SimWatcher
void setMT (bool val)
 

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.

9 {}
KillSecondariesRunAction::~KillSecondariesRunAction ( )
override

Definition at line 11 of file KillSecondariesRunAction.cc.

11 {}

Member Function Documentation

void KillSecondariesRunAction::update ( const BeginOfRun )
overridevirtual

This routine will be called when the appropriate signal arrives.

Implements Observer< const BeginOfRun * >.

Definition at line 13 of file KillSecondariesRunAction.cc.

References gather_cfg::cout.

Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().

13  {
14  std::cout << " Using KillSecondariesStackingAction!!! " << std::endl;
15  G4RunManagerKernel::GetRunManagerKernel()->GetEventManager()->SetUserAction(new KillSecondariesStackingAction);
16 }
tuple cout
Definition: gather_cfg.py:144