#include <RunManagerMT.h>
Public Member Functions | |
void | abortRun (bool softAbort=false) |
const SensitiveDetectorCatalog & | catalog () const |
sim::ChordFinderSetter * | chordFinderSetterForWorker () 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 |
std::unique_ptr < sim::ChordFinderSetter > | m_chordFinderSetter |
G4Run * | m_currentRun |
sim::FieldBuilder * | m_fieldBuilder |
std::string | m_FieldFile |
std::vector< std::string > | m_G4Commands |
edm::ParameterSet | m_g4overlap |
G4MTRunManagerKernel * | m_kernel |
bool | m_managerInitialized |
edm::ParameterSet | m_pField |
std::unique_ptr< PhysicsList > | m_physicsList |
const std::string | m_PhysicsTablesDir |
edm::ParameterSet | m_pPhysics |
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 |
bool | m_StorePhysicsTables |
RunAction * | m_userRunAction |
std::unique_ptr< DDDWorld > | m_world |
std::string | m_WriteFile |
Friends | |
class | RunManagerMTWorker |
Definition at line 59 of file RunManagerMT.h.
RunManagerMT::RunManagerMT | ( | edm::ParameterSet const & | p | ) |
Definition at line 60 of file RunManagerMT.cc.
References assert(), edm::ParameterSet::getUntrackedParameter(), m_check, m_currentRun, m_FieldFile, m_kernel, m_RegionFile, m_WriteFile, and AlCaHLTBitMon_QueryRunRegistry::string.
RunManagerMT::~RunManagerMT | ( | ) |
|
inline |
|
inline |
Definition at line 83 of file RunManagerMT.h.
References m_catalog.
Referenced by RunManagerMTWorker::initializeThread().
|
inline |
Definition at line 104 of file RunManagerMT.h.
References m_chordFinderSetter.
Referenced by RunManagerMTWorker::initializeThread().
void RunManagerMT::Connect | ( | RunAction * | runAction | ) |
Definition at line 222 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 244 of file RunManagerMT.cc.
References funct::cos(), groupFilesInBlocks::fout, i, j, m_FieldFile, dbtoconf::out, phi, point, alignCSCRings::r, funct::sin(), z, and SiStripMonitorClusterAlca_cfi::zmax.
Referenced by initG4().
|
inline |
void RunManagerMT::initG4 | ( | const DDCompactView * | pDD, |
const MagneticField * | pMF, | ||
const HepPDT::ParticleDataTable * | fPDGTable | ||
) |
Definition at line 95 of file RunManagerMT.cc.
References RunAction::BeginOfRunAction(), sim::FieldBuilder::build(), DDVectorGetter::check(), cmsHarvester::cmd, SurfaceDeformationFactory::create(), SimActivityRegistry::dddWorldSignal_, dir, DumpMagneticField(), g, reco::get(), edm::ParameterSet::getParameter(), recoMuon::in, initializeUserActions(), m_catalog, m_check, m_chordFinderSetter, m_currentRun, m_fieldBuilder, m_FieldFile, m_G4Commands, m_g4overlap, m_kernel, m_managerInitialized, m_pField, m_physicsList, m_PhysicsTablesDir, m_pPhysics, m_pUseMagneticField, m_RegionFile, m_registry, m_RestorePhysicsTables, m_StorePhysicsTables, m_userRunAction, m_world, m_WriteFile, map_, G4RegionReporter::ReportRegions(), and AlCaHLTBitMon_QueryRunRegistry::string.
void RunManagerMT::initializeUserActions | ( | ) |
Definition at line 216 of file RunManagerMT.cc.
References Connect(), m_pRunAction, m_runInterface, and m_userRunAction.
Referenced by initG4().
|
inline |
Definition at line 95 of file RunManagerMT.h.
References m_physicsList.
Referenced by RunManagerMTWorker::initializeThread().
void RunManagerMT::stopG4 | ( | ) |
|
private |
Definition at line 234 of file RunManagerMT.cc.
References RunAction::EndOfRunAction(), m_currentRun, m_kernel, m_runTerminated, and m_userRunAction.
Referenced by stopG4(), and ~RunManagerMT().
|
inline |
Definition at line 79 of file RunManagerMT.h.
References m_world.
Referenced by RunManagerMTWorker::initializeThread().
|
friend |
Definition at line 61 of file RunManagerMT.h.
|
private |
Definition at line 134 of file RunManagerMT.h.
|
private |
Definition at line 125 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 137 of file RunManagerMT.h.
Referenced by chordFinderSetterForWorker(), and initG4().
|
private |
Definition at line 119 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 136 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 139 of file RunManagerMT.h.
Referenced by DumpMagneticField(), initG4(), and RunManagerMT().
|
private |
Definition at line 130 of file RunManagerMT.h.
Referenced by G4Commands(), and initG4().
|
private |
Definition at line 129 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 112 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 115 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 126 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 114 of file RunManagerMT.h.
Referenced by initG4(), and physicsListForWorker().
|
private |
Definition at line 122 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 127 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 128 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 117 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 141 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 133 of file RunManagerMT.h.
|
private |
Definition at line 124 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 120 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 116 of file RunManagerMT.h.
Referenced by stopG4(), terminateRun(), and ~RunManagerMT().
|
private |
Definition at line 123 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 118 of file RunManagerMT.h.
Referenced by initG4(), initializeUserActions(), and terminateRun().
|
private |
Definition at line 132 of file RunManagerMT.h.
|
private |
Definition at line 140 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().