Classes | |
class | RunLumiPHIDKey |
class | RunPHIDKey |
Public Member Functions | |
DQMRootSource (edm::ParameterSet const &, const edm::InputSourceDescription &) | |
~DQMRootSource () override | |
Public Member Functions inherited from edm::InputSource | |
std::shared_ptr< ActivityRegistry > | actReg () const |
Accessor for Activity Registry. More... | |
std::shared_ptr< BranchIDListHelper const > | branchIDListHelper () const |
Accessors for branchIDListHelper. More... | |
std::shared_ptr< BranchIDListHelper > & | branchIDListHelper () |
void | closeFile (FileBlock *, bool cleaningUpAfterException) |
close current file More... | |
void | doBeginJob () |
Called by framework at beginning of job. More... | |
virtual void | doBeginLumi (LuminosityBlockPrincipal &lbp, ProcessContext const *) |
Called by framework at beginning of lumi block. More... | |
virtual void | doBeginRun (RunPrincipal &rp, ProcessContext const *) |
Called by framework at beginning of run. More... | |
void | doEndJob () |
Called by framework at end of job. More... | |
ProcessingController::ForwardState | forwardState () const |
bool | goToEvent (EventID const &eventID) |
InputSource (ParameterSet const &, InputSourceDescription const &) | |
Constructor. More... | |
InputSource (InputSource const &)=delete | |
void | issueReports (EventID const &eventID, StreamID streamID) |
issue an event report More... | |
LuminosityBlockNumber_t | luminosityBlock () const |
Accessor for current luminosity block number. More... | |
std::shared_ptr< LuminosityBlockAuxiliary > | luminosityBlockAuxiliary () const |
Called by the framework to merge or insert lumi in principal cache. More... | |
int | maxEvents () const |
int | maxLuminosityBlocks () const |
ModuleDescription const & | moduleDescription () const |
Accessor for 'module' description. More... | |
ItemType | nextItemType () |
Advances the source to the next item. More... | |
InputSource & | operator= (InputSource const &)=delete |
ProcessConfiguration const & | processConfiguration () const |
Accessor for Process Configuration. More... | |
std::string const & | processGUID () const |
Accessor for global process identifier. More... | |
ProcessHistoryRegistry const & | processHistoryRegistry () const |
Accessors for process history registry. More... | |
ProcessHistoryRegistry & | processHistoryRegistry () |
ProcessingMode | processingMode () const |
RunsLumisAndEvents (default), RunsAndLumis, or Runs. More... | |
std::shared_ptr< ProductRegistry const > | productRegistry () const |
Accessors for product registry. More... | |
std::shared_ptr< ProductRegistry > & | productRegistry () |
bool | randomAccess () const |
void | readAndMergeLumi (LuminosityBlockPrincipal &lbp) |
Read next luminosity block (same as a prior lumi) More... | |
void | readAndMergeRun (RunPrincipal &rp) |
Read next run (same as a prior run) More... | |
void | readEvent (EventPrincipal &ep, StreamContext &) |
Read next event. More... | |
bool | readEvent (EventPrincipal &ep, EventID const &, StreamContext &) |
Read a specific event. More... | |
std::unique_ptr< FileBlock > | readFile () |
Read next file. More... | |
void | readLuminosityBlock (LuminosityBlockPrincipal &lumiPrincipal, HistoryAppender &historyAppender) |
Read next luminosity block (new lumi) More... | |
std::shared_ptr< LuminosityBlockAuxiliary > | readLuminosityBlockAuxiliary () |
Read next luminosity block Auxilary. More... | |
void | readRun (RunPrincipal &runPrincipal, HistoryAppender &historyAppender) |
Read next run (new run) More... | |
std::shared_ptr< RunAuxiliary > | readRunAuxiliary () |
Read next run Auxiliary. More... | |
ProcessHistoryID const & | reducedProcessHistoryID () const |
virtual void | registerProducts () |
Register any produced products. More... | |
int | remainingEvents () const |
int | remainingLuminosityBlocks () const |
void | repeat () |
Reset the remaining number of events/lumis to the maximum number. More... | |
std::pair< SharedResourcesAcquirer *, std::recursive_mutex * > | resourceSharedWithDelayedReader () |
Returns nullptr if no resource shared between the Source and a DelayedReader. More... | |
ProcessingController::ReverseState | reverseState () const |
void | rewind () |
Begin again at the first event. More... | |
RunNumber_t | run () const |
Accessor for current run number. More... | |
std::shared_ptr< RunAuxiliary > | runAuxiliary () const |
Called by the framework to merge or insert run in principal cache. More... | |
void | setLuminosityBlockNumber_t (LuminosityBlockNumber_t lb) |
Set the luminosity block ID. More... | |
void | setRunNumber (RunNumber_t r) |
Set the run number. More... | |
void | skipEvents (int offset) |
std::shared_ptr< ThinnedAssociationsHelper const > | thinnedAssociationsHelper () const |
Accessors for thinnedAssociationsHelper. More... | |
std::shared_ptr< ThinnedAssociationsHelper > & | thinnedAssociationsHelper () |
Timestamp const & | timestamp () const |
Accessor for the current time, as seen by the input source. More... | |
virtual | ~InputSource () noexcept(false) |
Destructor. More... | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::InputSource | |
static const std::string & | baseType () |
static void | fillDescription (ParameterSetDescription &desc) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
void | closeFile_ () override |
DQMRootSource (const DQMRootSource &)=delete | |
edm::InputSource::ItemType | getNextItemType () override |
void | logFileAction (char const *msg, char const *fileName) const |
const DQMRootSource & | operator= (const DQMRootSource &)=delete |
void | readElements () |
void | readEvent_ (edm::EventPrincipal &) override |
std::unique_ptr< edm::FileBlock > | readFile_ () override |
void | readLuminosityBlock_ (edm::LuminosityBlockPrincipal &lbCache) override |
std::shared_ptr< edm::LuminosityBlockAuxiliary > | readLuminosityBlockAuxiliary_ () override |
void | readNextItemType () |
void | readRun_ (edm::RunPrincipal &rpCache) override |
std::shared_ptr< edm::RunAuxiliary > | readRunAuxiliary_ () override |
bool | setupFile (unsigned int iIndex) |
bool | skipIt (edm::RunNumber_t, edm::LuminosityBlockNumber_t) const |
Definition at line 303 of file DQMRootSource.cc.
DQMRootSource::DQMRootSource | ( | edm::ParameterSet const & | iPSet, |
const edm::InputSourceDescription & | iDesc | ||
) |
Definition at line 444 of file DQMRootSource.cc.
References edm::InputFileCatalog::fileNames(), edm::InputSource::IsStop, kFloatIndex, kIntIndex, kStringIndex, kTH1DIndex, kTH1FIndex, kTH1SIndex, kTH2DIndex, kTH2FIndex, kTH2SIndex, kTH3FIndex, kTProfile2DIndex, kTProfileIndex, m_catalog, m_fileIndex, m_lumisToProcess, m_nextItemType, m_runsToProcess, m_treeReaders, and edm::sortAndRemoveOverlaps().
|
override |
Definition at line 491 of file DQMRootSource.cc.
References edm::InputFileCatalog::fileNames(), logFileAction(), m_catalog, m_file, and m_presentlyOpenFileIndex.
|
privatedelete |
|
overrideprivatevirtual |
Reimplemented from edm::InputSource.
Definition at line 681 of file DQMRootSource.cc.
References edm::JobReport::inputFileClosed(), m_file, m_jrToken, and edm::Primary.
|
static |
Definition at line 425 of file DQMRootSource.cc.
References edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivatevirtual |
Implements edm::InputSource.
Definition at line 519 of file DQMRootSource.cc.
References m_nextItemType.
|
private |
Definition at line 1061 of file DQMRootSource.cc.
References DEFINE_FWK_INPUT_SOURCE, MillePedeFileConverter_cfg::fileName, and edm::FlushMessageLog().
Referenced by setupFile(), and ~DQMRootSource().
|
privatedelete |
|
private |
Definition at line 687 of file DQMRootSource.cc.
References kNoTypesStored, m_orderedIndices, m_presentIndexItr, m_reducedHistoryIDs, m_runlumiToRange, m_shouldReadMEs, m_treeReaders, matplotRender::reader, and skipIt().
Referenced by readLuminosityBlock_(), and readRun_().
|
overrideprivatevirtual |
Implements edm::InputSource.
Definition at line 514 of file DQMRootSource.cc.
|
overrideprivatevirtual |
Reimplemented from edm::InputSource.
Definition at line 652 of file DQMRootSource.cc.
References edm::InputFileCatalog::fileNames(), edm::JobReport::inputFileOpened(), edm::InputSource::IsStop, edm::InputFileCatalog::logicalFileNames(), m_catalog, m_file, m_fileIndex, m_jrToken, m_nextItemType, m_orderedIndices, m_presentIndexItr, m_runlumiToRange, readNextItemType(), setupFile(), skipIt(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivatevirtual |
Reimplemented from edm::InputSource.
Definition at line 615 of file DQMRootSource.cc.
References edm::LuminosityBlockPrincipal::fillLuminosityBlockPrincipal(), edm::LuminosityBlockPrincipal::id(), edm::LuminosityBlockID::luminosityBlock(), m_lastSeenLumi2, m_lastSeenReducedPHID2, m_lastSeenRun2, m_orderedIndices, m_presentIndexItr, m_reducedHistoryIDs, m_runlumiToRange, m_shouldReadMEs, edm::InputSource::processHistoryRegistryForUpdate(), readElements(), readNextItemType(), edm::JobReport::reportInputLumiSection(), and edm::LuminosityBlockID::run().
|
overrideprivatevirtual |
Implements edm::InputSource.
Definition at line 541 of file DQMRootSource.cc.
References m_historyIDs, m_lumiAux, m_nextIndexItr, m_orderedIndices, m_runlumiToRange, and edm::LuminosityBlockAuxiliary::setProcessHistoryID().
|
private |
Definition at line 728 of file DQMRootSource.cc.
References edm::InputFileCatalog::fileNames(), edm::InputSource::IsFile, edm::InputSource::IsLumi, edm::InputSource::IsRun, edm::InputSource::IsStop, m_catalog, m_fileIndex, m_justOpenedFileSoNeedToGenerateRunTransition, m_lastSeenReducedPHID, m_lastSeenRun, m_nextIndexItr, m_nextItemType, m_orderedIndices, m_reducedHistoryIDs, m_runlumiToRange, and skipIt().
Referenced by readFile_(), readLuminosityBlock_(), and readRun_().
|
overrideprivatevirtual |
If the collate option is not set for the DQMStore, we should indeed be sure to reset all histograms after a run transition, but we should definitely avoid doing it using a local, private copy of the actual content of the DQMStore. Clients are completely free to delete/add MonitorElements from the DQMStore and the local copy stored in the std::set will never notice it until it will try to reset a deleted object. That's why the resetting directly queries the DQMStore for its current content.
Reimplemented from edm::InputSource.
Definition at line 557 of file DQMRootSource.cc.
References edm::RunPrincipal::fillRunPrincipal(), edm::RunPrincipal::id(), m_filterOnRun, m_justOpenedFileSoNeedToGenerateRunTransition, m_lastSeenReducedPHID, m_lastSeenRun, m_orderedIndices, m_presentIndexItr, m_reducedHistoryIDs, m_runlumiToRange, m_shouldReadMEs, edm::InputSource::processHistoryRegistryForUpdate(), readElements(), readNextItemType(), edm::JobReport::reportInputRunNumber(), and edm::RunID::run().
|
overrideprivatevirtual |
Implements edm::InputSource.
Definition at line 525 of file DQMRootSource.cc.
References m_historyIDs, m_nextIndexItr, m_orderedIndices, m_runAux, m_runlumiToRange, and edm::RunAuxiliary::setProcessHistoryID().
|
private |
Definition at line 789 of file DQMRootSource.cc.
References cms::Exception::addContext(), cmsPerfCommons::configs, edm::InputFileCatalog::fileNames(), edm::errors::FileOpenError, edm::errors::FileReadError, edm::threadLocalException::getException(), mps_fire::i, edm::ProcessHistory::id(), edm::pset::Registry::instance(), kBeginTimeBranch, kEndTimeBranch, kFirstIndex, kIndicesTree, kLastIndex, kLumiBranch, kMetaDataDirectoryAbsolute, kNIndicies, kParameterSetBranch, kParameterSetTree, kPHIndexBranch, kProcessConfigurationParameterSetIDBranch, kProcessConfigurationPassID, kProcessConfigurationProcessNameBranch, kProcessConfigurationReleaseVersion, kProcessHistoryIndexBranch, kProcessHistoryTree, kRunBranch, kTypeBranch, kTypeNames, logFileAction(), m_catalog, m_file, m_historyIDs, m_justOpenedFileSoNeedToGenerateRunTransition, m_nextIndexItr, m_orderedIndices, m_presentIndexItr, m_presentlyOpenFileIndex, m_reducedHistoryIDs, m_runlumiToRange, m_skipBadFiles, m_treeReaders, m_trees, edm::InputSource::processHistoryRegistryForUpdate(), modifiedElectrons_cfi::processName, edm::ProcessHistoryRegistry::reducedProcessHistoryID(), edm::ParameterSet::registerFromString(), edm::ProcessHistoryRegistry::registerProcessHistory(), edm::threadLocalException::setException(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by readFile_().
|
private |
Definition at line 1045 of file DQMRootSource.cc.
References edm::binary_search_all(), electrons_cff::bool, edm::lessThan(), m_lumisToProcess, m_runsToProcess, and edm::search_all().
Referenced by readElements(), readFile_(), and readNextItemType().
|
private |
Definition at line 381 of file DQMRootSource.cc.
Referenced by DQMRootSource(), readFile_(), readNextItemType(), setupFile(), and ~DQMRootSource().
|
private |
Definition at line 391 of file DQMRootSource.cc.
Referenced by closeFile_(), readFile_(), setupFile(), and ~DQMRootSource().
|
private |
Definition at line 386 of file DQMRootSource.cc.
Referenced by DQMRootSource(), readFile_(), and readNextItemType().
|
private |
Definition at line 401 of file DQMRootSource.cc.
Referenced by readRun_().
|
private |
Definition at line 410 of file DQMRootSource.cc.
Referenced by readLuminosityBlockAuxiliary_(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 413 of file DQMRootSource.cc.
Referenced by closeFile_(), and readFile_().
|
private |
Definition at line 406 of file DQMRootSource.cc.
Referenced by readNextItemType(), readRun_(), and setupFile().
|
private |
Definition at line 400 of file DQMRootSource.cc.
Referenced by readLuminosityBlock_().
|
private |
Definition at line 396 of file DQMRootSource.cc.
Referenced by readNextItemType(), and readRun_().
|
private |
Definition at line 398 of file DQMRootSource.cc.
Referenced by readLuminosityBlock_().
|
private |
Definition at line 397 of file DQMRootSource.cc.
Referenced by readNextItemType(), and readRun_().
|
private |
Definition at line 399 of file DQMRootSource.cc.
Referenced by readLuminosityBlock_().
|
private |
Definition at line 383 of file DQMRootSource.cc.
Referenced by readLuminosityBlockAuxiliary_().
|
private |
Definition at line 408 of file DQMRootSource.cc.
|
private |
Definition at line 403 of file DQMRootSource.cc.
Referenced by DQMRootSource(), and skipIt().
|
private |
Definition at line 388 of file DQMRootSource.cc.
Referenced by readLuminosityBlockAuxiliary_(), readNextItemType(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 384 of file DQMRootSource.cc.
Referenced by DQMRootSource(), getNextItemType(), readFile_(), and readNextItemType().
|
private |
Definition at line 395 of file DQMRootSource.cc.
Referenced by readElements(), readFile_(), readLuminosityBlock_(), readLuminosityBlockAuxiliary_(), readNextItemType(), readRun_(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 389 of file DQMRootSource.cc.
Referenced by readElements(), readFile_(), readLuminosityBlock_(), readRun_(), and setupFile().
|
private |
Definition at line 387 of file DQMRootSource.cc.
Referenced by setupFile(), and ~DQMRootSource().
|
private |
Definition at line 411 of file DQMRootSource.cc.
Referenced by readElements(), readLuminosityBlock_(), readNextItemType(), readRun_(), and setupFile().
|
private |
Definition at line 382 of file DQMRootSource.cc.
Referenced by readRunAuxiliary_().
|
private |
Definition at line 409 of file DQMRootSource.cc.
|
private |
Definition at line 390 of file DQMRootSource.cc.
Referenced by readElements(), readFile_(), readLuminosityBlock_(), readLuminosityBlockAuxiliary_(), readNextItemType(), readRun_(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 404 of file DQMRootSource.cc.
Referenced by DQMRootSource(), and skipIt().
|
private |
Definition at line 407 of file DQMRootSource.cc.
Referenced by readElements(), readLuminosityBlock_(), and readRun_().
|
private |
Definition at line 402 of file DQMRootSource.cc.
Referenced by setupFile().
|
private |
Definition at line 393 of file DQMRootSource.cc.
Referenced by DQMRootSource(), readElements(), and setupFile().
|
private |
Definition at line 392 of file DQMRootSource.cc.
Referenced by setupFile().