Main Page
Namespaces
Classes
Package Documentation
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
SimRunInterface
Definition:
SimRunInterface.h:18
RunAction::BeginOfRunAction
void BeginOfRunAction(const G4Run *aRun) override
Definition:
RunAction.cc:17
EndOfRun
Definition:
EndOfRun.h:6
sim_act::Signaler< BeginOfRun >
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
RunAction::RunAction
RunAction(const edm::ParameterSet &ps, SimRunInterface *, bool master)
Definition:
RunAction.cc:12
RunAction::m_endOfRunSignal
SimActivityRegistry::EndOfRunSignal m_endOfRunSignal
Definition:
RunAction.h:24
SimActivityRegistry.h
RunAction::~RunAction
~RunAction() override
Definition:
RunAction.cc:15
ParameterSet.h
RunAction
Definition:
RunAction.h:15
RunAction::m_stopFile
std::string m_stopFile
Definition:
RunAction.h:28
BeginOfRun
Definition:
BeginOfRun.h:6
RunAction::m_beginOfRunSignal
SimActivityRegistry::BeginOfRunSignal m_beginOfRunSignal
Definition:
RunAction.h:23
volumeBasedMagneticField_1103l_cfi.master
master
Definition:
volumeBasedMagneticField_1103l_cfi.py:44
edm::ParameterSet
Definition:
ParameterSet.h:36
RunAction::EndOfRunAction
void EndOfRunAction(const G4Run *aRun) override
Definition:
RunAction.cc:26
RunAction::m_runInterface
SimRunInterface * m_runInterface
Definition:
RunAction.h:27
Generated for CMSSW Reference Manual by
1.8.11