#include <RunManagerMT.h>
Public Member Functions | |
void | abortRun (bool softAbort=false) |
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 |
G4GeometryManager * | m_geometryManager |
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 55 of file RunManagerMT.h.
|
explicit |
Definition at line 67 of file RunManagerMT.cc.
References g4SimHits_cfi::CustomUIsession, m_check, m_currentRun, m_geometryManager, m_kernel, m_physicsList, m_runInterface, m_stateManager, m_UIsession, m_userRunAction, m_world, and AlCaHLTBitMon_ParallelJobs::p.
RunManagerMT::~RunManagerMT | ( | ) |
Definition at line 95 of file RunManagerMT.cc.
|
inline |
Definition at line 73 of file RunManagerMT.h.
|
inline |
Definition at line 77 of file RunManagerMT.h.
References m_catalog.
Referenced by RunManagerMTWorker::initializeG4().
void RunManagerMT::Connect | ( | RunAction * | runAction | ) |
Definition at line 263 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 79 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, edm::errors::Configuration, beamerCreator::create(), cuts, SimActivityRegistry::dddWorldSignal_, DeadROC_duringRun::dir, Exception, ecalTB2006H4_GenSimDigiReco_cfg::G4cout, get, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), recoMuon::in, initializeUserActions(), edm::errors::LogicError, 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 257 of file RunManagerMT.cc.
References Connect(), m_pRunAction, m_runInterface, m_userRunAction, and g4SimHits_cfi::RunAction.
Referenced by initG4().
|
inline |
Definition at line 84 of file RunManagerMT.h.
References m_physicsList.
Referenced by RunManagerMTWorker::initializeG4().
void RunManagerMT::stopG4 | ( | ) |
Definition at line 268 of file RunManagerMT.cc.
References m_geometryManager, m_runTerminated, m_stateManager, and terminateRun().
|
private |
Definition at line 276 of file RunManagerMT.cc.
References RunAction::EndOfRunAction(), m_currentRun, m_kernel, m_runTerminated, and m_userRunAction.
Referenced by stopG4().
|
inline |
Definition at line 75 of file RunManagerMT.h.
References m_world.
Referenced by initG4(), and RunManagerMTWorker::initializeG4().
|
friend |
Definition at line 56 of file RunManagerMT.h.
|
private |
Definition at line 114 of file RunManagerMT.h.
|
private |
Definition at line 105 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 96 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 109 of file RunManagerMT.h.
Referenced by G4Commands(), and initG4().
|
private |
Definition at line 108 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 98 of file RunManagerMT.h.
Referenced by RunManagerMT(), and stopG4().
|
private |
Definition at line 89 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 93 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 110 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 92 of file RunManagerMT.h.
Referenced by initG4(), physicsListForWorker(), and RunManagerMT().
|
private |
Definition at line 102 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 106 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 107 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 113 of file RunManagerMT.h.
|
private |
Definition at line 104 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 100 of file RunManagerMT.h.
Referenced by initializeUserActions(), and RunManagerMT().
|
private |
Definition at line 94 of file RunManagerMT.h.
Referenced by stopG4(), and terminateRun().
|
private |
Definition at line 97 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and stopG4().
|
private |
Definition at line 103 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 91 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 95 of file RunManagerMT.h.
Referenced by initG4(), initializeUserActions(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 112 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and world().