CMS 3D CMS Logo

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
const SimWatcheroperator= (const SimWatcher &)=delete
 
 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

Detailed Description

Definition at line 10 of file KillSecondariesRunAction.h.

Constructor & Destructor Documentation

◆ KillSecondariesRunAction()

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

Definition at line 9 of file KillSecondariesRunAction.cc.

9 {}

◆ ~KillSecondariesRunAction()

KillSecondariesRunAction::~KillSecondariesRunAction ( )
override

Definition at line 11 of file KillSecondariesRunAction.cc.

11 {}

Member Function Documentation

◆ update()

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.

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

References gather_cfg::cout.

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

gather_cfg.cout
cout
Definition: gather_cfg.py:144
KillSecondariesStackingAction
Definition: KillSecondariesStackingAction.h:8