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
15
class
RunAction
:
public
G4UserRunAction {
16
public
:
17
explicit
RunAction
(
const
edm::ParameterSet
& ps,
SimRunInterface
*,
bool
master
);
18
~RunAction
()
override
;
19
20
void
BeginOfRunAction
(
const
G4Run* aRun)
override
;
21
void
EndOfRunAction
(
const
G4Run* aRun)
override
;
22
23
SimActivityRegistry::BeginOfRunSignal
m_beginOfRunSignal
;
24
SimActivityRegistry::EndOfRunSignal
m_endOfRunSignal
;
25
26
private
:
27
SimRunInterface
*
m_runInterface
;
28
std::string
m_stopFile
;
29
};
30
31
#endif
RunAction::m_beginOfRunSignal
SimActivityRegistry::BeginOfRunSignal m_beginOfRunSignal
Definition:
RunAction.h:23
SimActivityRegistry.h
RunAction::m_runInterface
SimRunInterface * m_runInterface
Definition:
RunAction.h:27
sim_act::Signaler< BeginOfRun >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RunAction
Definition:
RunAction.h:15
edm::ParameterSet
Definition:
ParameterSet.h:47
BeginOfRun
Definition:
BeginOfRun.h:6
EndOfRun
Definition:
EndOfRun.h:6
RunAction::m_endOfRunSignal
SimActivityRegistry::EndOfRunSignal m_endOfRunSignal
Definition:
RunAction.h:24
RunAction::~RunAction
~RunAction() override
Definition:
RunAction.cc:15
RunAction::EndOfRunAction
void EndOfRunAction(const G4Run *aRun) override
Definition:
RunAction.cc:26
RunAction::RunAction
RunAction(const edm::ParameterSet &ps, SimRunInterface *, bool master)
Definition:
RunAction.cc:12
ParameterSet.h
volumeBasedMagneticField_160812_cfi.master
master
Definition:
volumeBasedMagneticField_160812_cfi.py:60
RunAction::m_stopFile
std::string m_stopFile
Definition:
RunAction.h:28
RunAction::BeginOfRunAction
void BeginOfRunAction(const G4Run *aRun) override
Definition:
RunAction.cc:17
SimRunInterface
Definition:
SimRunInterface.h:17
Generated for CMSSW Reference Manual by
1.8.16