#include <RunManagerMT.h>
Protected Member Functions | |
void | DumpMagneticField (const G4Field *) const |
G4Event * | generateEvent (edm::Event &inpevt) |
void | resetGenParticleId (edm::Event &inpevt) |
Protected Member Functions inherited from RunManager | |
void | DumpMagneticField (const G4Field *) const |
G4Event * | generateEvent (edm::Event &inpevt) |
void | resetGenParticleId (edm::Event &inpevt) |
Definition at line 62 of file RunManagerMT.h.
RunManagerMT::RunManagerMT | ( | edm::ParameterSet const & | p | ) |
Definition at line 110 of file RunManagerMT.cc.
References SimActivityRegistry::connect(), createWatchers(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_check, m_CustomExceptionHandler, m_FieldFile, m_generator, m_InTag, m_kernel, m_p, m_pGenerator, m_producers, m_registry, m_runInterface, m_userRunAction, m_watchers, m_WriteFile, and AlCaHLTBitMon_QueryRunRegistry::string.
RunManagerMT::~RunManagerMT | ( | ) |
Definition at line 164 of file RunManagerMT.cc.
References m_runInterface, m_runTerminated, and terminateRun().
void RunManagerMT::abortEvent | ( | ) |
Definition at line 384 of file RunManagerMT.cc.
References m_currentEvent, m_kernel, m_runTerminated, TrackingAction::PostUserTrackingAction(), and edmStreamStallGrapher::t.
Referenced by abortRun().
void RunManagerMT::abortRun | ( | bool | softAbort = false | ) |
Definition at line 486 of file RunManagerMT.cc.
References abortEvent(), m_currentRun, m_runAborted, m_runInitialized, and terminateRun().
Referenced by produce().
void RunManagerMT::Connect | ( | RunAction * | runAction | ) |
Definition at line 510 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 initializeUserActions().
void RunManagerMT::Connect | ( | EventAction * | eventAction | ) |
Definition at line 516 of file RunManagerMT.cc.
References SimActivityRegistry::beginOfEventSignal_, sim_act::Signaler< T >::connect(), SimActivityRegistry::endOfEventSignal_, EventAction::m_beginOfEventSignal, EventAction::m_endOfEventSignal, and m_registry.
void RunManagerMT::Connect | ( | TrackingAction * | trackingAction | ) |
Definition at line 522 of file RunManagerMT.cc.
References SimActivityRegistry::beginOfTrackSignal_, sim_act::Signaler< T >::connect(), SimActivityRegistry::endOfTrackSignal_, TrackingAction::m_beginOfTrackSignal, TrackingAction::m_endOfTrackSignal, and m_registry.
void RunManagerMT::Connect | ( | SteppingAction * | steppingAction | ) |
Definition at line 528 of file RunManagerMT.cc.
References sim_act::Signaler< T >::connect(), SimActivityRegistry::g4StepSignal_, SteppingAction::m_g4StepSignal, and m_registry.
|
inline |
|
inline |
|
protected |
Definition at line 533 of file RunManagerMT.cc.
References funct::cos(), groupFilesInBlocks::fout, i, j, m_FieldFile, dbtoconf::out, phi, point, alignCSCRings::r, funct::sin(), detailsBasic3DVector::z, and SiStripMonitorClusterAlca_cfi::zmax.
Referenced by initG4().
|
protected |
Definition at line 353 of file RunManagerMT.cc.
References edm::EventID::event(), edm::Event::getByLabel(), Generator::HepMC2G4(), edm::EventBase::id(), m_currentEvent, m_generator, m_InTag, m_nonBeam, m_simEvent, Generator::nonBeamEvent2G4(), resetGenParticleId(), and Generator::setGenEvent().
Referenced by produce().
|
inline |
SimTrackManager * RunManagerMT::GetSimTrackManager | ( | ) |
Definition at line 505 of file RunManagerMT.cc.
References m_trackManager.
void RunManagerMT::initG4 | ( | const edm::EventSetup & | es | ) |
Definition at line 173 of file RunManagerMT.cc.
References SimActivityRegistry::beginOfJobSignal_, sim::FieldBuilder::build(), edm::ESWatcher< T >::check(), asciidump::cmd, AttachSD::create(), SurfaceDeformationFactory::create(), SimActivityRegistry::dddWorldSignal_, dir, DumpMagneticField(), edm::hlt::Exception, firstRun, g, edm::EventSetup::get(), reco::get(), edm::ParameterSet::getParameter(), DDDWorld::GetWorldVolume(), idealGeomRcdWatcher_, idealMagRcdWatcher_, recoMuon::in, initializeRun(), initializeUserActions(), m_attach, m_check, m_fieldBuilder, m_FieldFile, m_G4Commands, m_kernel, m_managerInitialized, m_p, m_pField, m_physicsList, m_PhysicsTablesDir, m_pPhysics, m_primaryTransformer, m_pUseMagneticField, m_registry, m_RestorePhysicsTables, m_sensCaloDets, m_sensTkDets, m_StorePhysicsTables, m_trackManager, m_WriteFile, and AlCaHLTBitMon_QueryRunRegistry::string.
void RunManagerMT::initializeRun | ( | ) |
Definition at line 452 of file RunManagerMT.cc.
References RunAction::BeginOfRunAction(), m_currentRun, m_runAborted, m_runInitialized, and m_userRunAction.
Referenced by initG4().
void RunManagerMT::initializeUserActions | ( | ) |
Definition at line 417 of file RunManagerMT.cc.
References Connect(), m_EvtMgrVerbosity, m_generator, m_kernel, m_pEventAction, m_pRunAction, m_pStackingAction, m_pSteppingAction, m_pTrackingAction, m_runInterface, m_trackManager, and m_userRunAction.
Referenced by initG4().
void RunManagerMT::produce | ( | edm::Event & | inpevt, |
const edm::EventSetup & | es | ||
) |
Definition at line 322 of file RunManagerMT.cc.
References abortRun(), G4SimEvent::collisionPoint(), edm::EventID::event(), Generator::eventWeight(), generateEvent(), Generator::genEvent(), Generator::genVertex(), G4SimEvent::hepEvent(), edm::EventBase::id(), m_currentEvent, m_generator, m_kernel, m_simEvent, G4SimEvent::nGenParts(), G4SimEvent::nTracks(), G4SimEvent::nVertices(), edm::second(), and G4SimEvent::weight().
|
inline |
Definition at line 88 of file RunManagerMT.h.
References m_producers.
|
protected |
Definition at line 496 of file RunManagerMT.cc.
References edm::Event::getByLabel(), edm::HandleBase::isValid(), m_theLHCTlinkTag, m_trackManager, and edm::Handle< T >::product().
Referenced by generateEvent().
|
inline |
Definition at line 85 of file RunManagerMT.h.
References m_sensCaloDets.
|
inline |
Definition at line 82 of file RunManagerMT.h.
References m_sensTkDets.
|
inline |
void RunManagerMT::stopG4 | ( | ) |
void RunManagerMT::terminateRun | ( | ) |
Definition at line 462 of file RunManagerMT.cc.
References RunAction::EndOfRunAction(), m_currentEvent, m_currentRun, m_kernel, m_runInitialized, m_runTerminated, m_simEvent, and m_userRunAction.
Referenced by abortRun(), stopG4(), and ~RunManagerMT().
|
private |
Definition at line 118 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 158 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 159 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 147 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 132 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 121 of file RunManagerMT.h.
Referenced by abortEvent(), currentEvent(), generateEvent(), produce(), and terminateRun().
|
private |
Definition at line 120 of file RunManagerMT.h.
Referenced by abortRun(), currentRun(), initializeRun(), and terminateRun().
|
private |
Definition at line 145 of file RunManagerMT.h.
Referenced by RunManagerMT().
|
private |
Definition at line 131 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 156 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 163 of file RunManagerMT.h.
Referenced by DumpMagneticField(), initG4(), and RunManagerMT().
|
private |
Definition at line 143 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 108 of file RunManagerMT.h.
Referenced by generateEvent(), generator(), initializeUserActions(), produce(), and RunManagerMT().
|
private |
Definition at line 109 of file RunManagerMT.h.
Referenced by generateEvent(), and RunManagerMT().
|
private |
Definition at line 106 of file RunManagerMT.h.
Referenced by abortEvent(), initG4(), initializeUserActions(), produce(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 114 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 111 of file RunManagerMT.h.
Referenced by generateEvent().
|
private |
Definition at line 144 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().
|
private |
Definition at line 139 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 134 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 135 of file RunManagerMT.h.
Referenced by RunManagerMT().
|
private |
Definition at line 133 of file RunManagerMT.h.
|
private |
Definition at line 112 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 128 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 137 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 113 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 153 of file RunManagerMT.h.
Referenced by producers(), and RunManagerMT().
|
private |
Definition at line 138 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 140 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 142 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 141 of file RunManagerMT.h.
Referenced by initializeUserActions().
|
private |
Definition at line 119 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 136 of file RunManagerMT.h.
|
private |
Definition at line 151 of file RunManagerMT.h.
Referenced by Connect(), initG4(), and RunManagerMT().
|
private |
Definition at line 130 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 117 of file RunManagerMT.h.
Referenced by abortRun(), and initializeRun().
|
private |
Definition at line 115 of file RunManagerMT.h.
Referenced by abortRun(), initializeRun(), and terminateRun().
|
private |
Definition at line 124 of file RunManagerMT.h.
Referenced by initializeUserActions(), RunManagerMT(), and ~RunManagerMT().
|
private |
Definition at line 116 of file RunManagerMT.h.
Referenced by abortEvent(), stopG4(), terminateRun(), and ~RunManagerMT().
|
private |
Definition at line 149 of file RunManagerMT.h.
Referenced by initG4(), and sensCaloDetectors().
|
private |
Definition at line 148 of file RunManagerMT.h.
Referenced by initG4(), and sensTkDetectors().
|
private |
Definition at line 122 of file RunManagerMT.h.
Referenced by generateEvent(), produce(), simEvent(), and terminateRun().
|
private |
Definition at line 129 of file RunManagerMT.h.
Referenced by initG4().
|
private |
Definition at line 161 of file RunManagerMT.h.
Referenced by resetGenParticleId().
|
private |
Definition at line 155 of file RunManagerMT.h.
Referenced by GetSimTrackManager(), initG4(), initializeUserActions(), and resetGenParticleId().
|
private |
Definition at line 123 of file RunManagerMT.h.
Referenced by initializeRun(), initializeUserActions(), RunManagerMT(), and terminateRun().
|
private |
Definition at line 152 of file RunManagerMT.h.
Referenced by RunManagerMT().
|
private |
Definition at line 164 of file RunManagerMT.h.
Referenced by initG4(), and RunManagerMT().