Public Types | |
enum | Phase { Phase::kBeginRun, Phase::kBeginLumi, Phase::kEvent, Phase::kEndLumi, Phase::kEndRun } |
enum | Transition { Transition::IsInvalid, Transition::IsStop, Transition::IsFile, Transition::IsRun, Transition::IsLumi, Transition::IsEvent } |
Public Member Functions | |
CheckTransitions (const ParameterSet &, ActivityRegistry &) | |
void | postEndJob () |
void | preallocate (service::SystemBounds const &) |
void | preBeginJob (PathsAndConsumesOfModulesBase const &, ProcessContext const &) |
void | preCloseFile (std::string const &lfn) |
void | preEvent (StreamContext const &) |
void | preGlobalBeginLumi (GlobalContext const &) |
void | preGlobalBeginRun (GlobalContext const &) |
void | preGlobalEndLumi (GlobalContext const &) |
void | preGlobalEndRun (GlobalContext const &) |
void | preOpenFile (std::string const &) |
void | preStreamBeginLumi (StreamContext const &) |
void | preStreamBeginRun (StreamContext const &) |
void | preStreamEndLumi (StreamContext const &) |
void | preStreamEndRun (StreamContext const &) |
~CheckTransitions () noexcept(false) | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
std::vector< std::pair< Transition, edm::EventID > > | m_expectedTransitions |
bool | m_failed = false |
int | m_nstreams = 0 |
oneapi::tbb::concurrent_vector< std::tuple< Phase, edm::EventID, int > > | m_seenTransitions |
Definition at line 40 of file CheckTransitions.cc.
|
strong |
Enumerator | |
---|---|
kBeginRun | |
kBeginLumi | |
kEvent | |
kEndLumi | |
kEndRun |
Definition at line 42 of file CheckTransitions.cc.
|
strong |
Enumerator | |
---|---|
IsInvalid | |
IsStop | |
IsFile | |
IsRun | |
IsLumi | |
IsEvent |
Definition at line 44 of file CheckTransitions.cc.
CheckTransitions::CheckTransitions | ( | const ParameterSet & | iPS, |
ActivityRegistry & | iRegistry | ||
) |
Definition at line 191 of file CheckTransitions.cc.
References edm::ParameterSet::getUntrackedParameter(), m_expectedTransitions, AlCaHLTBitMon_ParallelJobs::p, postEndJob(), preallocate(), preCloseFile(), preEvent(), preGlobalBeginLumi(), preGlobalBeginRun(), preGlobalEndLumi(), preGlobalEndRun(), preOpenFile(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), preStreamEndRun(), AlCaHLTBitMon_QueryRunRegistry::string, edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPreallocate(), edm::ActivityRegistry::watchPreCloseFile(), edm::ActivityRegistry::watchPreEvent(), edm::ActivityRegistry::watchPreGlobalBeginLumi(), edm::ActivityRegistry::watchPreGlobalBeginRun(), edm::ActivityRegistry::watchPreGlobalEndLumi(), edm::ActivityRegistry::watchPreGlobalEndRun(), edm::ActivityRegistry::watchPreOpenFile(), edm::ActivityRegistry::watchPreStreamBeginLumi(), edm::ActivityRegistry::watchPreStreamBeginRun(), edm::ActivityRegistry::watchPreStreamEndLumi(), and edm::ActivityRegistry::watchPreStreamEndRun().
|
noexcept |
Definition at line 224 of file CheckTransitions.cc.
References edm::errors::EventProcessorFailure, Exception, and m_failed.
|
static |
Definition at line 230 of file CheckTransitions.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
void CheckTransitions::postEndJob | ( | ) |
Definition at line 243 of file CheckTransitions.cc.
References gather_cfg::cout, mps_fire::i, m_expectedTransitions, m_failed, m_nstreams, m_seenTransitions, alignCSCRings::s, and jetUpdater_cfi::sort.
Referenced by CheckTransitions().
void CheckTransitions::preallocate | ( | service::SystemBounds const & | bounds | ) |
Definition at line 241 of file CheckTransitions.cc.
References m_nstreams.
Referenced by CheckTransitions().
void edm::service::CheckTransitions::preBeginJob | ( | PathsAndConsumesOfModulesBase const & | , |
ProcessContext const & | |||
) |
void CheckTransitions::preCloseFile | ( | std::string const & | lfn | ) |
void CheckTransitions::preEvent | ( | StreamContext const & | sc | ) |
Definition at line 326 of file CheckTransitions.cc.
References edm::StreamContext::eventID(), kEvent, m_seenTransitions, and edm::StreamContext::streamID().
Referenced by CheckTransitions().
void CheckTransitions::preGlobalBeginLumi | ( | GlobalContext const & | gc | ) |
Definition at line 308 of file CheckTransitions.cc.
References kBeginLumi, edm::GlobalContext::luminosityBlockID(), m_seenTransitions, and edm::EventID::run().
Referenced by CheckTransitions().
void CheckTransitions::preGlobalBeginRun | ( | GlobalContext const & | gc | ) |
Definition at line 290 of file CheckTransitions.cc.
References kBeginRun, edm::GlobalContext::luminosityBlockID(), m_seenTransitions, and edm::EventID::run().
Referenced by CheckTransitions().
void CheckTransitions::preGlobalEndLumi | ( | GlobalContext const & | gc | ) |
Definition at line 313 of file CheckTransitions.cc.
References kEndLumi, edm::GlobalContext::luminosityBlockID(), m_seenTransitions, and edm::EventID::run().
Referenced by CheckTransitions().
void CheckTransitions::preGlobalEndRun | ( | GlobalContext const & | gc | ) |
Definition at line 295 of file CheckTransitions.cc.
References kEndRun, edm::GlobalContext::luminosityBlockID(), m_seenTransitions, and edm::EventID::run().
Referenced by CheckTransitions().
void CheckTransitions::preOpenFile | ( | std::string const & | lfn | ) |
void CheckTransitions::preStreamBeginLumi | ( | StreamContext const & | sc | ) |
Definition at line 318 of file CheckTransitions.cc.
References edm::StreamContext::eventID(), kBeginLumi, m_seenTransitions, and edm::StreamContext::streamID().
Referenced by CheckTransitions().
void CheckTransitions::preStreamBeginRun | ( | StreamContext const & | sc | ) |
Definition at line 300 of file CheckTransitions.cc.
References edm::StreamContext::eventID(), kBeginRun, m_seenTransitions, and edm::StreamContext::streamID().
Referenced by CheckTransitions().
void CheckTransitions::preStreamEndLumi | ( | StreamContext const & | sc | ) |
Definition at line 322 of file CheckTransitions.cc.
References edm::StreamContext::eventID(), kEndLumi, m_seenTransitions, and edm::StreamContext::streamID().
Referenced by CheckTransitions().
void CheckTransitions::preStreamEndRun | ( | StreamContext const & | sc | ) |
Definition at line 304 of file CheckTransitions.cc.
References edm::StreamContext::eventID(), kEndRun, m_seenTransitions, and edm::StreamContext::streamID().
Referenced by CheckTransitions().
|
private |
Definition at line 80 of file CheckTransitions.cc.
Referenced by CheckTransitions(), and postEndJob().
|
private |
Definition at line 82 of file CheckTransitions.cc.
Referenced by postEndJob(), and ~CheckTransitions().
|
private |
Definition at line 81 of file CheckTransitions.cc.
Referenced by postEndJob(), and preallocate().
|
private |
Definition at line 79 of file CheckTransitions.cc.
Referenced by postEndJob(), preEvent(), preGlobalBeginLumi(), preGlobalBeginRun(), preGlobalEndLumi(), preGlobalEndRun(), preStreamBeginLumi(), preStreamBeginRun(), preStreamEndLumi(), and preStreamEndRun().