#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 |
std::unique_ptr< sim::ChordFinderSetter > | m_chordFinderSetter |
G4Run * | m_currentRun |
std::string | m_FieldFile |
std::vector< std::string > | m_G4Commands |
edm::ParameterSet | m_g4overlap |
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 |
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 59 of file RunManagerMT.h.
|
explicit |
Definition at line 62 of file RunManagerMT.cc.
References g4SimHits_cfi::CustomUIsession, edm::ParameterSet::getUntrackedParameter(), m_check, m_currentRun, m_FieldFile, m_kernel, m_physicsList, m_RegionFile, m_UIsession, m_world, m_WriteFile, and AlCaHLTBitMon_QueryRunRegistry::string.
RunManagerMT::~RunManagerMT | ( | ) |
|
inline |
|
inline |
void RunManagerMT::Connect | ( | RunAction * | runAction | ) |
Definition at line 238 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 262 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 95 of file RunManagerMT.cc.
References RunAction::BeginOfRunAction(), sim::FieldBuilder::build(), trackerTree::check(), heppy_check::cmd, 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_chordFinderSetter, 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_StorePhysicsTables, m_userRunAction, m_world, m_WriteFile, map_, hpstanc_transforms::max, G4RegionReporter::ReportRegions(), and AlCaHLTBitMon_QueryRunRegistry::string.
void RunManagerMT::initializeUserActions | ( | ) |
Definition at line 232 of file RunManagerMT.cc.
References Connect(), m_pRunAction, m_runInterface, m_userRunAction, and g4SimHits_cfi::RunAction.
Referenced by initG4().
|
inline |
Definition at line 94 of file RunManagerMT.h.
References RunManagerMTWorker::terminateRun().
Referenced by RunManagerMTWorker::initializeThread().
void RunManagerMT::stopG4 | ( | ) |
|
private |
Definition at line 250 of file RunManagerMT.cc.
References RunAction::EndOfRunAction(), m_currentRun, m_kernel, m_runTerminated, and m_userRunAction.
Referenced by stopG4(), and ~RunManagerMT().
|
inline |
|
friend |
Definition at line 61 of file RunManagerMT.h.
|
private |
Definition at line 127 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 116 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 129 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 110 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 131 of file RunManagerMT.h.
Referenced by DumpMagneticField(), initG4(), and RunManagerMT().
|
private |
Definition at line 121 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 120 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 102 of file RunManagerMT.h.
Referenced by initG4(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 106 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 122 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 117 of file RunManagerMT.h.
Referenced by initG4().
|
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().
|
private |
Definition at line 118 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 125 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 119 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 108 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 133 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 126 of file RunManagerMT.h.
|
private |
Definition at line 115 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 111 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 107 of file RunManagerMT.h.
Referenced by stopG4(), terminateRun(), and ~RunManagerMT().
|
private |
Definition at line 114 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 104 of file RunManagerMT.h.
Referenced by RunManagerMT().
|
private |
Definition at line 109 of file RunManagerMT.h.
Referenced by initG4(), initializeUserActions(), and terminateRun().
|
private |
Definition at line 124 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 132 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().