#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 *pDD, const MagneticField *pMF, const HepPDT::ParticleDataTable *fPDGTable) |
void | initializeUserActions () |
PhysicsList * | physicsListForWorker () const |
RunManagerMT (edm::ParameterSet const &p) | |
void | stopG4 () |
const DDDWorld & | world () const |
~RunManagerMT () | |
Private Member Functions | |
void | DumpMagneticField (const G4Field *) const |
void | terminateRun () |
Private Attributes | |
SensitiveDetectorCatalog | m_catalog |
bool | m_check |
G4Run * | m_currentRun |
std::string | m_FieldFile |
std::vector< std::string > | m_G4Commands |
edm::ParameterSet | m_g4overlap |
G4GeometryManager * | m_geometryManager |
G4MTRunManagerKernel * | m_kernel |
bool | m_managerInitialized |
edm::ParameterSet | m_p |
edm::ParameterSet | m_pField |
std::unique_ptr< PhysicsList > | m_physicsList |
const std::string | m_PhysicsTablesDir |
edm::ParameterSet | m_pPhysics |
std::unique_ptr< DDG4ProductionCuts > | m_prodCuts |
edm::ParameterSet | m_pRunAction |
bool | m_pUseMagneticField |
std::string | m_RegionFile |
SimActivityRegistry | m_registry |
bool | m_RestorePhysicsTables |
std::unique_ptr< SimRunInterface > | m_runInterface |
bool | m_runTerminated |
G4StateManager * | m_stateManager |
bool | m_StorePhysicsTables |
std::unique_ptr< CustomUIsession > | m_UIsession |
RunAction * | m_userRunAction |
std::unique_ptr< DDDWorld > | m_world |
std::string | m_WriteFile |
Friends | |
class | RunManagerMTWorker |
Definition at line 53 of file RunManagerMT.h.
|
explicit |
Definition at line 65 of file RunManagerMT.cc.
References g4SimHits_cfi::CustomUIsession, edm::ParameterSet::getUntrackedParameter(), m_check, m_currentRun, m_FieldFile, m_geometryManager, m_kernel, m_physicsList, m_prodCuts, m_RegionFile, m_runInterface, m_stateManager, m_UIsession, m_userRunAction, m_world, m_WriteFile, and AlCaHLTBitMon_QueryRunRegistry::string.
RunManagerMT::~RunManagerMT | ( | ) |
Definition at line 100 of file RunManagerMT.cc.
References stopG4().
|
inline |
Definition at line 71 of file RunManagerMT.h.
|
inline |
void RunManagerMT::Connect | ( | RunAction * | runAction | ) |
Definition at line 258 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().
|
private |
Definition at line 283 of file RunManagerMT.cc.
References funct::cos(), runTauDisplay::dr, PVValHelper::dz, groupFilesInBlocks::fout, mps_fire::i, createfilelist::int, m_FieldFile, MillePedeFileConverter_cfg::out, phi, point, alignCSCRings::r, funct::sin(), and z.
Referenced by initG4().
|
inline |
void RunManagerMT::initG4 | ( | const DDCompactView * | pDD, |
const MagneticField * | pMF, | ||
const HepPDT::ParticleDataTable * | fPDGTable | ||
) |
Definition at line 105 of file RunManagerMT.cc.
References RunAction::BeginOfRunAction(), sim::FieldBuilder::build(), trackerTree::check(), mps_setup::cmd, mps_check::command, edm::errors::Configuration, beamerCreator::create(), SimActivityRegistry::dddWorldSignal_, dir, DumpMagneticField(), Exception, g, ecalTB2006H4_GenSimDigiReco_cfg::G4cout, reco::get(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), recoMuon::in, initializeUserActions(), edm::errors::LogicError, m_catalog, m_check, m_currentRun, m_FieldFile, m_G4Commands, m_g4overlap, m_kernel, m_managerInitialized, m_p, m_pField, m_physicsList, m_PhysicsTablesDir, m_pPhysics, m_prodCuts, m_pUseMagneticField, m_RegionFile, m_registry, m_RestorePhysicsTables, m_stateManager, m_StorePhysicsTables, m_userRunAction, m_world, m_WriteFile, SiStripPI::max, G4RegionReporter::ReportRegions(), and AlCaHLTBitMon_QueryRunRegistry::string.
void RunManagerMT::initializeUserActions | ( | ) |
Definition at line 252 of file RunManagerMT.cc.
References Connect(), m_pRunAction, m_runInterface, m_userRunAction, and g4SimHits_cfi::RunAction.
Referenced by initG4().
|
inline |
Definition at line 88 of file RunManagerMT.h.
References RunManagerMTWorker::terminateRun().
Referenced by RunManagerMTWorker::initializeThread().
void RunManagerMT::stopG4 | ( | ) |
Definition at line 264 of file RunManagerMT.cc.
References m_geometryManager, m_runTerminated, m_stateManager, and terminateRun().
Referenced by ~RunManagerMT().
|
private |
Definition at line 271 of file RunManagerMT.cc.
References RunAction::EndOfRunAction(), m_currentRun, m_kernel, m_runTerminated, and m_userRunAction.
Referenced by stopG4().
|
inline |
|
friend |
Definition at line 55 of file RunManagerMT.h.
|
private |
Definition at line 124 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 113 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 104 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 126 of file RunManagerMT.h.
Referenced by DumpMagneticField(), initG4(), and RunManagerMT().
|
private |
Definition at line 118 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 117 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 106 of file RunManagerMT.h.
Referenced by RunManagerMT(), and stopG4().
|
private |
Definition at line 96 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 100 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 119 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 114 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 99 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 110 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 115 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 122 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 116 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 102 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 128 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 123 of file RunManagerMT.h.
|
private |
Definition at line 112 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 108 of file RunManagerMT.h.
Referenced by initializeUserActions(), and RunManagerMT().
|
private |
Definition at line 101 of file RunManagerMT.h.
Referenced by stopG4(), and terminateRun().
|
private |
Definition at line 105 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and stopG4().
|
private |
Definition at line 111 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 98 of file RunManagerMT.h.
Referenced by RunManagerMT().
|
private |
Definition at line 103 of file RunManagerMT.h.
Referenced by initG4(), initializeUserActions(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 121 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 127 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().