#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 () |
bool | isPhase2 () const |
PhysicsList * | physicsListForWorker () const |
RunManagerMT (edm::ParameterSet const &) | |
void | stopG4 () |
const DDDWorld & | world () const |
~RunManagerMT () | |
Private Member Functions | |
void | checkVoxels () |
void | runForPhase2 () |
void | setupVoxels () |
void | terminateRun () |
Private Attributes | |
SensitiveDetectorCatalog | m_catalog |
bool | m_check |
G4Run * | m_currentRun |
std::vector< std::string > | m_G4Commands |
edm::ParameterSet | m_g4overlap |
bool | m_isPhase2 {false} |
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 66 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().
|
private |
Definition at line 310 of file RunManagerMT.cc.
References mps_fire::i, rname, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initG4().
void RunManagerMT::Connect | ( | RunAction * | runAction | ) |
Definition at line 281 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 96 of file RunManagerMT.cc.
References RunAction::BeginOfRunAction(), RPCNoise_example::check, checkVoxels(), mps_setup::cmd, mps_check::command, beamerCreator::create(), 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, runForPhase2(), setupVoxels(), AlCaHLTBitMon_QueryRunRegistry::string, and world().
void RunManagerMT::initializeUserActions | ( | ) |
Definition at line 275 of file RunManagerMT.cc.
References Connect(), m_pRunAction, m_runInterface, m_userRunAction, and g4SimHits_cfi::RunAction.
Referenced by initG4().
|
inline |
Definition at line 80 of file RunManagerMT.h.
References m_isPhase2.
Referenced by RunManagerMTWorker::initializeG4().
|
inline |
Definition at line 78 of file RunManagerMT.h.
References m_physicsList.
Referenced by RunManagerMTWorker::initializeG4().
|
private |
Definition at line 362 of file RunManagerMT.cc.
References m_isPhase2, Skims_PA_cff::name, and alignCSCRings::r.
Referenced by initG4().
|
private |
Definition at line 335 of file RunManagerMT.cc.
References fastSimProducer_cff::density, edm::ParameterSet::getParameter(), mps_fire::i, createfilelist::int, m_p, dqmiodumpmetadata::n, EgHLTOffHistBins_cfi::nr, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initG4().
void RunManagerMT::stopG4 | ( | ) |
Definition at line 286 of file RunManagerMT.cc.
References m_runTerminated, m_stateManager, and terminateRun().
|
private |
Definition at line 296 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 116 of file RunManagerMT.h.
|
private |
Definition at line 106 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 98 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 111 of file RunManagerMT.h.
Referenced by G4Commands(), and initG4().
|
private |
Definition at line 110 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 107 of file RunManagerMT.h.
Referenced by isPhase2(), and runForPhase2().
|
private |
Definition at line 91 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 95 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 112 of file RunManagerMT.h.
Referenced by initG4(), and setupVoxels().
|
private |
Definition at line 94 of file RunManagerMT.h.
Referenced by initG4(), physicsListForWorker(), and RunManagerMT().
|
private |
Definition at line 103 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 108 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 109 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 115 of file RunManagerMT.h.
|
private |
Definition at line 105 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 101 of file RunManagerMT.h.
Referenced by initializeUserActions(), and RunManagerMT().
|
private |
Definition at line 96 of file RunManagerMT.h.
Referenced by stopG4(), and terminateRun().
|
private |
Definition at line 99 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and stopG4().
|
private |
Definition at line 104 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 93 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and ~RunManagerMT().
|
private |
Definition at line 97 of file RunManagerMT.h.
Referenced by initG4(), initializeUserActions(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 114 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and world().