#include <DQMFileIterator.h>
Classes | |
struct | EorEntry |
struct | LumiEntry |
Public Types | |
enum | State { OPEN = 0, EOR_CLOSING = 1, EOR = 2 } |
Public Member Functions | |
void | advanceToLumi (unsigned int lumi, std::string reason) |
void | delay () |
DQMFileIterator (edm::ParameterSet const &pset) | |
void | initialise (int run, const std::string &, const std::string &) |
unsigned int | lastLumiFound () |
void | logFileAction (const std::string &msg, const std::string &fileName="") const |
void | logLumiState (const LumiEntry &lumi, const std::string &msg) |
bool | lumiReady () |
LumiEntry | open () |
void | pop () |
void | reset () |
unsigned int | runNumber () const |
State | state () const |
void | update_state () |
~DQMFileIterator ()=default | |
Static Public Member Functions | |
static void | fillDescription (edm::ParameterSetDescription &d) |
Private Member Functions | |
void | collect (bool ignoreTimers) |
void | monUpdateLumi (const LumiEntry &lumi) |
unsigned | mtimeHash () const |
Private Attributes | |
unsigned int | datafnPosition_ |
unsigned long | delayMillis_ |
EorEntry | eor_ |
std::unordered_set< std::string > | filesSeen_ |
bool | flagScanOnce_ |
long | forceFileCheckTimeoutMillis_ |
std::chrono::high_resolution_clock::time_point | lastLumiLoad_ |
std::map< unsigned int, LumiEntry > | lumiSeen_ |
edm::Service< DQMMonitoringService > | mon_ |
unsigned int | nextLumiNumber_ |
long | nextLumiTimeoutMillis_ |
std::string | runInputDir_ |
unsigned int | runNumber_ |
std::vector< std::string > | runPath_ |
std::chrono::high_resolution_clock::time_point | runPathLastCollect_ |
unsigned | runPathMTime_ |
State | state_ |
std::string | streamLabel_ |
Definition at line 21 of file DQMFileIterator.h.
dqmservices::DQMFileIterator::DQMFileIterator | ( | edm::ParameterSet const & | pset | ) |
Definition at line 75 of file DQMFileIterator.cc.
References datafnPosition_, delayMillis_, flagScanOnce_, forceFileCheckTimeoutMillis_, nextLumiTimeoutMillis_, muonDTDigis_cfi::pset, reset(), runInputDir_, runNumber_, streamLabel_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
default |
void dqmservices::DQMFileIterator::advanceToLumi | ( | unsigned int | lumi, |
std::string | reason | ||
) |
Definition at line 142 of file DQMFileIterator.cc.
References hcalRecHitTable_cff::doc, lastLumiLoad_, BXlumiParameters_cfi::lumi, lumiSeen_, mon_, monUpdateLumi(), nextLumiNumber_, submitPVValidationJobs::now, and PixelMapPlotter::reason.
Referenced by open(), dqmservices::DQMStreamerReader::reset_(), and update_state().
|
private |
Definition at line 189 of file DQMFileIterator.cc.
References submitPVResolutionJobs::count, datafnPosition_, MillePedeFileConverter_cfg::e, eor_, cppFunctionSkipper::exception, corrVsCorr::filename, filesSeen_, flagScanOnce_, personalPlayback::fn, forceFileCheckTimeoutMillis_, label, dqmservices::DQMFileIterator::LumiEntry::load_json(), dqmservices::DQMFileIterator::EorEntry::loaded, logFileAction(), lumiSeen_, monUpdateLumi(), mps_check::msg, mtimeHash(), dqmservices::DQMFileIterator::EorEntry::n_lumi, submitPVValidationJobs::now, or, mps_fire::result, writedatasetfile::run, runNumber_, runPath_, runPathLastCollect_, runPathMTime_, streamLabel_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by reset(), and update_state().
void dqmservices::DQMFileIterator::delay | ( | ) |
Definition at line 382 of file DQMFileIterator.cc.
References delayMillis_, and mon_.
Referenced by dqmservices::DQMProtobufReader::getNextItemType(), dqmservices::DQMStreamerReader::prepareNextEvent(), and dqmservices::DQMStreamerReader::reset_().
|
static |
Definition at line 389 of file DQMFileIterator.cc.
References submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmservices::DQMProtobufReader::fillDescriptions(), and dqmservices::DQMStreamerReader::fillDescriptions().
void dqmservices::DQMFileIterator::initialise | ( | int | run, |
const std::string & | , | ||
const std::string & | |||
) |
unsigned int dqmservices::DQMFileIterator::lastLumiFound | ( | ) |
Definition at line 134 of file DQMFileIterator.cc.
References lumiSeen_.
Referenced by dqmservices::DQMStreamerReader::reset_().
void dqmservices::DQMFileIterator::logFileAction | ( | const std::string & | msg, |
const std::string & | fileName = "" |
||
) | const |
Definition at line 367 of file DQMFileIterator.cc.
References MillePedeFileConverter_cfg::fileName, edm::FlushMessageLog(), and mps_check::msg.
Referenced by dqmservices::DQMProtobufReader::beginLuminosityBlock(), dqmservices::DQMStreamerReader::checkNext(), collect(), dqmservices::DQMProtobufReader::getNextItemType(), logLumiState(), dqmservices::DQMStreamerReader::openNextFileImp_(), dqmservices::DQMStreamerReader::prepareNextFile(), dqmservices::DQMStreamerReader::reset_(), dqmservices::DQMStreamerReader::skip(), and update_state().
void dqmservices::DQMFileIterator::logLumiState | ( | const LumiEntry & | lumi, |
const std::string & | msg | ||
) |
Definition at line 372 of file DQMFileIterator.cc.
References logFileAction(), lumiSeen_, monUpdateLumi(), and mps_check::msg.
Referenced by dqmservices::DQMProtobufReader::beginLuminosityBlock(), dqmservices::DQMStreamerReader::closeFileImp_(), and dqmservices::DQMStreamerReader::openNextFileImp_().
bool dqmservices::DQMFileIterator::lumiReady | ( | ) |
Definition at line 126 of file DQMFileIterator.cc.
References lumiSeen_, and nextLumiNumber_.
Referenced by dqmservices::DQMProtobufReader::getNextItemType(), and dqmservices::DQMStreamerReader::prepareNextFile().
|
private |
Definition at line 165 of file DQMFileIterator.cc.
References hcalRecHitTable_cff::doc, and mon_.
Referenced by advanceToLumi(), collect(), and logLumiState().
|
private |
Definition at line 174 of file DQMFileIterator.cc.
References submitPVResolutionJobs::count, castor_dqm_sourceclient_file_cfg::path, and runPath_.
Referenced by collect().
DQMFileIterator::LumiEntry dqmservices::DQMFileIterator::open | ( | ) |
Definition at line 120 of file DQMFileIterator.cc.
References advanceToLumi(), BXlumiParameters_cfi::lumi, lumiSeen_, and nextLumiNumber_.
Referenced by dqmservices::DQMStreamerReader::openNextFileImp_(), and dqmservices::DQMProtobufReader::readLuminosityBlockAuxiliary_().
void dqmservices::DQMFileIterator::pop | ( | ) |
Referenced by SequenceTypes.Schedule::_replaceIfHeldDirectly(), and esMonitoring.LineHistoryEnd::write().
void dqmservices::DQMFileIterator::reset | ( | void | ) |
Definition at line 90 of file DQMFileIterator.cc.
References collect(), hcalRecHitTable_cff::doc, eor_, filesSeen_, lastLumiLoad_, dqmservices::DQMFileIterator::EorEntry::loaded, lumiSeen_, mon_, nextLumiNumber_, submitPVValidationJobs::now, runInputDir_, runNumber_, runPath_, submitPVValidationJobs::split(), state_, to_string(), unpackBuffers-CaloStage2::token, and update_state().
Referenced by DQMFileIterator().
|
inline |
Definition at line 89 of file DQMFileIterator.h.
References runNumber_.
Referenced by dqmservices::DQMProtobufReader::readLuminosityBlockAuxiliary_(), and dqmservices::DQMProtobufReader::readRunAuxiliary_().
|
inline |
Definition at line 63 of file DQMFileIterator.h.
References state_.
Referenced by dqmservices::DQMProtobufReader::getNextItemType(), and dqmservices::DQMStreamerReader::prepareNextFile().
void dqmservices::DQMFileIterator::update_state | ( | ) |
Definition at line 308 of file DQMFileIterator.cc.
References advanceToLumi(), collect(), submitPVResolutionJobs::count, hcalRecHitTable_cff::doc, eor_, flagScanOnce_, lastLumiLoad_, dqmservices::DQMFileIterator::EorEntry::loaded, logFileAction(), lumiSeen_, mon_, mps_check::msg, dqmservices::DQMFileIterator::EorEntry::n_lumi, nextLumiNumber_, nextLumiTimeoutMillis_, submitPVValidationJobs::now, state_, AlCaHLTBitMon_QueryRunRegistry::string, and to_string().
Referenced by dqmservices::DQMProtobufReader::getNextItemType(), dqmservices::DQMStreamerReader::prepareNextFile(), reset(), and dqmservices::DQMStreamerReader::reset_().
|
private |
Definition at line 105 of file DQMFileIterator.h.
Referenced by collect(), and DQMFileIterator().
|
private |
Definition at line 99 of file DQMFileIterator.h.
Referenced by delay(), and DQMFileIterator().
|
private |
Definition at line 108 of file DQMFileIterator.h.
Referenced by collect(), reset(), and update_state().
|
private |
Definition at line 113 of file DQMFileIterator.h.
|
private |
Definition at line 102 of file DQMFileIterator.h.
Referenced by collect(), DQMFileIterator(), and update_state().
|
private |
Definition at line 101 of file DQMFileIterator.h.
Referenced by collect(), and DQMFileIterator().
|
private |
Definition at line 121 of file DQMFileIterator.h.
Referenced by advanceToLumi(), reset(), and update_state().
|
private |
Definition at line 112 of file DQMFileIterator.h.
Referenced by advanceToLumi(), collect(), lastLumiFound(), logLumiState(), lumiReady(), open(), reset(), and update_state().
|
private |
Definition at line 128 of file DQMFileIterator.h.
Referenced by advanceToLumi(), delay(), monUpdateLumi(), reset(), and update_state().
|
private |
Definition at line 111 of file DQMFileIterator.h.
Referenced by advanceToLumi(), lumiReady(), open(), reset(), and update_state().
|
private |
Definition at line 100 of file DQMFileIterator.h.
Referenced by DQMFileIterator(), and update_state().
|
private |
Definition at line 97 of file DQMFileIterator.h.
Referenced by DQMFileIterator(), and reset().
|
private |
Definition at line 96 of file DQMFileIterator.h.
Referenced by collect(), DQMFileIterator(), reset(), and runNumber().
|
private |
Definition at line 106 of file DQMFileIterator.h.
Referenced by collect(), mtimeHash(), and reset().
|
private |
Definition at line 118 of file DQMFileIterator.h.
Referenced by collect().
|
private |
Definition at line 117 of file DQMFileIterator.h.
Referenced by collect().
|
private |
Definition at line 109 of file DQMFileIterator.h.
Referenced by reset(), state(), and update_state().
|
private |
Definition at line 98 of file DQMFileIterator.h.
Referenced by collect(), and DQMFileIterator().