#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 |
edm::ParameterSet | m_CheckOverlap |
G4Run * | m_currentRun {nullptr} |
std::vector< std::string > | m_G4Commands |
bool | m_geoFromDD4hep |
edm::ParameterSet | m_Init |
bool | m_isPhase2 {false} |
G4MTRunManagerKernel * | m_kernel |
bool | m_managerInitialized {false} |
std::unique_ptr< PhysicsList > | m_physicsList |
const std::string | m_PhysicsTablesDir |
edm::ParameterSet | m_pPhysics |
edm::ParameterSet | m_pRunAction |
std::string | m_regionFile {""} |
SimActivityRegistry | m_registry |
bool | m_RestorePhysicsTables |
std::unique_ptr< SimRunInterface > | m_runInterface |
bool | m_runTerminated {false} |
bool | m_score |
G4StateManager * | m_stateManager |
int | m_stepverb |
bool | m_StorePhysicsTables |
CustomUIsession * | m_UIsession |
RunAction * | m_userRunAction {nullptr} |
std::unique_ptr< DDDWorld > | m_world |
Friends | |
class | RunManagerMTWorker |
Definition at line 50 of file RunManagerMT.h.
|
explicit |
Definition at line 63 of file RunManagerMT.cc.
References g4SimHits_cfi::CustomUIsession, m_check, m_CheckOverlap, m_kernel, m_physicsList, m_runInterface, m_stateManager, m_UIsession, m_world, and AlCaHLTBitMon_ParallelJobs::p.
RunManagerMT::~RunManagerMT | ( | ) |
|
inline |
Definition at line 71 of file RunManagerMT.h.
References m_catalog.
Referenced by RunManagerMTWorker::initializeG4().
|
private |
Definition at line 296 of file RunManagerMT.cc.
References mps_fire::i, rname, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initG4().
void RunManagerMT::Connect | ( | RunAction * | runAction | ) |
Definition at line 267 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 73 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, 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_CheckOverlap, m_currentRun, m_G4Commands, m_geoFromDD4hep, m_kernel, m_managerInitialized, m_physicsList, m_PhysicsTablesDir, m_pPhysics, m_regionFile, m_registry, m_RestorePhysicsTables, m_score, m_stateManager, m_stepverb, m_StorePhysicsTables, m_UIsession, m_userRunAction, m_world, WZElectronSkims53X_cff::max, groupFilesInBlocks::nn, FSQDQM_cfi::pvs, runForPhase2(), setupVoxels(), AlCaHLTBitMon_QueryRunRegistry::string, and world().
void RunManagerMT::initializeUserActions | ( | ) |
Definition at line 261 of file RunManagerMT.cc.
References Connect(), m_pRunAction, m_runInterface, m_userRunAction, and g4SimHits_cfi::RunAction.
Referenced by initG4().
|
inline |
Definition at line 79 of file RunManagerMT.h.
References m_isPhase2.
Referenced by RunManagerMTWorker::initializeG4().
|
inline |
Definition at line 77 of file RunManagerMT.h.
References m_physicsList.
Referenced by RunManagerMTWorker::initializeG4().
|
private |
Definition at line 348 of file RunManagerMT.cc.
References m_isPhase2, mergeVDriftHistosByStation::name, and alignCSCRings::r.
Referenced by initG4().
|
private |
Definition at line 321 of file RunManagerMT.cc.
References fastSimProducer_cff::density, edm::ParameterSet::getParameter(), mps_fire::i, createfilelist::int, m_Init, create_idmaps::n, EgHLTOffHistBins_cfi::nr, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by initG4().
void RunManagerMT::stopG4 | ( | ) |
Definition at line 272 of file RunManagerMT.cc.
References m_runTerminated, m_stateManager, and terminateRun().
|
private |
Definition at line 282 of file RunManagerMT.cc.
References RunAction::EndOfRunAction(), m_currentRun, m_kernel, m_runTerminated, and m_userRunAction.
Referenced by stopG4().
|
inline |
Definition at line 69 of file RunManagerMT.h.
References m_world.
Referenced by initG4(), and RunManagerMTWorker::initializeG4().
|
friend |
Definition at line 51 of file RunManagerMT.h.
|
private |
Definition at line 119 of file RunManagerMT.h.
|
private |
Definition at line 105 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 113 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 97 of file RunManagerMT.h.
Referenced by initG4(), and terminateRun().
|
private |
Definition at line 115 of file RunManagerMT.h.
Referenced by G4Commands(), and initG4().
|
private |
Definition at line 106 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 114 of file RunManagerMT.h.
Referenced by setupVoxels().
|
private |
Definition at line 108 of file RunManagerMT.h.
Referenced by isPhase2(), and runForPhase2().
|
private |
Definition at line 90 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 94 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 93 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 111 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 112 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 110 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 118 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 95 of file RunManagerMT.h.
Referenced by stopG4(), and terminateRun().
|
private |
Definition at line 107 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 98 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and stopG4().
|
private |
Definition at line 109 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 103 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 92 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and ~RunManagerMT().
|
private |
Definition at line 96 of file RunManagerMT.h.
Referenced by initG4(), initializeUserActions(), and terminateRun().
|
private |
Definition at line 117 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and world().