#include <RunManagerMT.h>
Public Member Functions | |
const SensitiveDetectorCatalog & | catalog () const |
void | Connect (RunAction *) |
const std::vector< std::string > & | G4Commands () const |
void | initG4 (const DDCompactView *, const cms::DDCompactView *, const HepPDT::ParticleDataTable *) |
void | initializeUserActions () |
PhysicsList * | physicsListForWorker () const |
RunManagerMT (edm::ParameterSet const &) | |
void | stopG4 () |
const DDDWorld & | world () const |
~RunManagerMT () | |
Private Member Functions | |
void | terminateRun () |
Private Attributes | |
SensitiveDetectorCatalog | m_catalog |
bool | m_check |
G4Run * | m_currentRun |
std::vector< std::string > | m_G4Commands |
edm::ParameterSet | m_g4overlap |
G4MTRunManagerKernel * | m_kernel |
bool | m_managerInitialized |
edm::ParameterSet | m_p |
std::unique_ptr< PhysicsList > | m_physicsList |
const std::string | m_PhysicsTablesDir |
edm::ParameterSet | m_pPhysics |
edm::ParameterSet | m_pRunAction |
SimActivityRegistry | m_registry |
bool | m_RestorePhysicsTables |
std::unique_ptr< SimRunInterface > | m_runInterface |
bool | m_runTerminated |
G4StateManager * | m_stateManager |
bool | m_StorePhysicsTables |
CustomUIsession * | m_UIsession |
RunAction * | m_userRunAction |
std::unique_ptr< DDDWorld > | m_world |
Friends | |
class | RunManagerMTWorker |
Definition at line 51 of file RunManagerMT.h.
|
explicit |
Definition at line 67 of file RunManagerMT.cc.
References g4SimHits_cfi::CustomUIsession, m_check, m_currentRun, m_kernel, m_physicsList, m_runInterface, m_stateManager, m_UIsession, m_userRunAction, m_world, and AlCaHLTBitMon_ParallelJobs::p.
RunManagerMT::~RunManagerMT | ( | ) |
|
inline |
Definition at line 72 of file RunManagerMT.h.
References m_catalog.
Referenced by RunManagerMTWorker::initializeG4().
void RunManagerMT::Connect | ( | RunAction * | runAction | ) |
Definition at line 266 of file RunManagerMT.cc.
References SimActivityRegistry::beginOfRunSignal_, sim_act::Signaler< T >::connect(), SimActivityRegistry::endOfRunSignal_, RunAction::m_beginOfRunSignal, RunAction::m_endOfRunSignal, and m_registry.
Referenced by SimRunInterface::Connect(), and initializeUserActions().
|
inline |
Definition at line 74 of file RunManagerMT.h.
References m_G4Commands.
Referenced by RunManagerMTWorker::initializeG4().
void RunManagerMT::initG4 | ( | const DDCompactView * | pDD, |
const cms::DDCompactView * | pDD4hep, | ||
const HepPDT::ParticleDataTable * | fPDGTable | ||
) |
Definition at line 97 of file RunManagerMT.cc.
References RunAction::BeginOfRunAction(), RPCNoise_example::check, mps_setup::cmd, mps_check::command, beamerCreator::create(), cuts, SimActivityRegistry::dddWorldSignal_, DeadROC_duringRun::dir, Exception, ecalTB2006H4_GenSimDigiReco_cfg::G4cout, get, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), recoMuon::in, initializeUserActions(), m_catalog, m_check, m_currentRun, m_G4Commands, m_g4overlap, m_kernel, m_managerInitialized, m_p, m_physicsList, m_PhysicsTablesDir, m_pPhysics, m_registry, m_RestorePhysicsTables, m_stateManager, m_StorePhysicsTables, m_UIsession, m_userRunAction, m_world, SiStripPI::max, groupFilesInBlocks::nn, FSQDQM_cfi::pvs, AlCaHLTBitMon_QueryRunRegistry::string, and world().
void RunManagerMT::initializeUserActions | ( | ) |
Definition at line 260 of file RunManagerMT.cc.
References Connect(), m_pRunAction, m_runInterface, m_userRunAction, and g4SimHits_cfi::RunAction.
Referenced by initG4().
|
inline |
Definition at line 78 of file RunManagerMT.h.
References m_physicsList.
Referenced by RunManagerMTWorker::initializeG4().
void RunManagerMT::stopG4 | ( | ) |
Definition at line 271 of file RunManagerMT.cc.
References m_runTerminated, m_stateManager, and terminateRun().
|
private |
Definition at line 279 of file RunManagerMT.cc.
References RunAction::EndOfRunAction(), m_currentRun, m_kernel, m_runTerminated, and m_userRunAction.
Referenced by stopG4().
|
inline |
Definition at line 70 of file RunManagerMT.h.
References m_world.
Referenced by initG4(), and RunManagerMTWorker::initializeG4().
|
friend |
Definition at line 52 of file RunManagerMT.h.
|
private |
Definition at line 107 of file RunManagerMT.h.
|
private |
Definition at line 98 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 90 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 102 of file RunManagerMT.h.
Referenced by G4Commands(), and initG4().
|
private |
Definition at line 101 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 83 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 87 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 103 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 86 of file RunManagerMT.h.
Referenced by initG4(), physicsListForWorker(), and RunManagerMT().
|
private |
Definition at line 95 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 99 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 100 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 106 of file RunManagerMT.h.
|
private |
Definition at line 97 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 93 of file RunManagerMT.h.
Referenced by initializeUserActions(), and RunManagerMT().
|
private |
Definition at line 88 of file RunManagerMT.h.
Referenced by stopG4(), and terminateRun().
|
private |
Definition at line 91 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and stopG4().
|
private |
Definition at line 96 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 85 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and ~RunManagerMT().
|
private |
Definition at line 89 of file RunManagerMT.h.
Referenced by initG4(), initializeUserActions(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 105 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and world().