test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimG4Core
Application
interface
RunAction.h
Go to the documentation of this file.
1
#ifndef SimG4Core_RunAction_H
2
#define SimG4Core_RunAction_H
3
4
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
5
#include "
SimG4Core/Notification/interface/SimActivityRegistry.h
"
6
7
#include "G4UserRunAction.hh"
8
9
#include <string>
10
11
class
SimRunInterface
;
12
class
BeginOfRun
;
13
class
EndOfRun
;
14
class
G4Timer;
15
16
class
RunAction
:
public
G4UserRunAction
17
{
18
public
:
19
explicit
RunAction
(
const
edm::ParameterSet
& ps,
SimRunInterface
*,
bool
master
);
20
virtual
~RunAction
();
21
22
void
BeginOfRunAction
(
const
G4Run * aRun);
23
void
EndOfRunAction
(
const
G4Run * aRun);
24
25
SimActivityRegistry::BeginOfRunSignal
m_beginOfRunSignal
;
26
SimActivityRegistry::EndOfRunSignal
m_endOfRunSignal
;
27
28
private
:
29
SimRunInterface
*
m_runInterface
;
30
std::string
m_stopFile
;
31
G4Timer*
m_timer
;
32
bool
m_isMaster
;
33
};
34
35
#endif
SimRunInterface
Definition:
SimRunInterface.h:19
EndOfRun
Definition:
EndOfRun.h:6
sim_act::Signaler< BeginOfRun >
RunAction::RunAction
RunAction(const edm::ParameterSet &ps, SimRunInterface *, bool master)
Definition:
RunAction.cc:13
RunAction::m_timer
G4Timer * m_timer
Definition:
RunAction.h:31
RunAction::m_endOfRunSignal
SimActivityRegistry::EndOfRunSignal m_endOfRunSignal
Definition:
RunAction.h:26
SimActivityRegistry.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
ParameterSet.h
RunAction
Definition:
RunAction.h:16
RunAction::m_isMaster
bool m_isMaster
Definition:
RunAction.h:32
autoMagneticFieldProducer_cfi.master
tuple master
Definition:
autoMagneticFieldProducer_cfi.py:99
RunAction::m_stopFile
std::string m_stopFile
Definition:
RunAction.h:30
BeginOfRun
Definition:
BeginOfRun.h:6
RunAction::EndOfRunAction
void EndOfRunAction(const G4Run *aRun)
Definition:
RunAction.cc:40
RunAction::BeginOfRunAction
void BeginOfRunAction(const G4Run *aRun)
Definition:
RunAction.cc:22
RunAction::m_beginOfRunSignal
SimActivityRegistry::BeginOfRunSignal m_beginOfRunSignal
Definition:
RunAction.h:25
edm::ParameterSet
Definition:
ParameterSet.h:36
RunAction::~RunAction
virtual ~RunAction()
Definition:
RunAction.cc:19
RunAction::m_runInterface
SimRunInterface * m_runInterface
Definition:
RunAction.h:29
Generated for CMSSW Reference Manual by
1.8.5