Classes | |
class | RunLumiPHIDKey |
class | RunPHIDKey |
Public Member Functions | |
DQMRootSource (edm::ParameterSet const &, const edm::InputSourceDescription &) | |
virtual | ~DQMRootSource () |
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... | |
void | doBeginLumi (LuminosityBlockPrincipal &lbp, ProcessContext const *) |
Called by framework at beginning of lumi block. More... | |
void | doBeginRun (RunPrincipal &rp, ProcessContext const *) |
Called by framework at beginning of run. More... | |
void | doEndJob () |
Called by framework at end of job. More... | |
void | doEndLumi (LuminosityBlockPrincipal &lbp, bool cleaningUpAfterException, ProcessContext const *) |
Called by framework at end of lumi block. More... | |
void | doEndRun (RunPrincipal &rp, bool cleaningUpAfterException, ProcessContext const *) |
Called by framework at end of run. More... | |
void | doPostForkReacquireResources (std::shared_ptr< multicore::MessageReceiverForSource >) |
void | doPreForkReleaseResources () |
Called by the framework before forking the process. 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) |
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 |
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) |
bool | skipForForking () |
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 | |
virtual void | closeFile_ () override |
DQMRootSource (const DQMRootSource &) | |
virtual edm::InputSource::ItemType | getNextItemType () override |
void | logFileAction (char const *msg, char const *fileName) const |
const DQMRootSource & | operator= (const DQMRootSource &) |
void | readElements () |
virtual void | readEvent_ (edm::EventPrincipal &) override |
virtual std::unique_ptr< edm::FileBlock > | readFile_ () override |
virtual void | readLuminosityBlock_ (edm::LuminosityBlockPrincipal &lbCache) override |
virtual std::shared_ptr< edm::LuminosityBlockAuxiliary > | readLuminosityBlockAuxiliary_ () override |
void | readNextItemType () |
virtual void | readRun_ (edm::RunPrincipal &rpCache) override |
virtual std::shared_ptr< edm::RunAuxiliary > | readRunAuxiliary_ () override |
bool | setupFile (unsigned int iIndex) |
bool | skipIt (edm::RunNumber_t, edm::LuminosityBlockNumber_t) const |
Definition at line 302 of file DQMRootSource.cc.
DQMRootSource::DQMRootSource | ( | edm::ParameterSet const & | iPSet, |
const edm::InputSourceDescription & | iDesc | ||
) |
Definition at line 443 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().
|
virtual |
Definition at line 490 of file DQMRootSource.cc.
References edm::InputFileCatalog::fileNames(), logFileAction(), m_catalog, m_file, and m_presentlyOpenFileIndex.
|
private |
|
overrideprivatevirtual |
Reimplemented from edm::InputSource.
Definition at line 680 of file DQMRootSource.cc.
References edm::JobReport::inputFileClosed(), m_file, m_jrToken, and edm::Primary.
|
static |
Definition at line 424 of file DQMRootSource.cc.
References edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivatevirtual |
Implements edm::InputSource.
Definition at line 518 of file DQMRootSource.cc.
References m_nextItemType.
|
private |
Definition at line 1045 of file DQMRootSource.cc.
References DEFINE_FWK_INPUT_SOURCE, MillePedeFileConverter_cfg::fileName, and edm::FlushMessageLog().
Referenced by setupFile(), and ~DQMRootSource().
|
private |
|
private |
Definition at line 686 of file DQMRootSource.cc.
References diffTreeTool::index, 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 513 of file DQMRootSource.cc.
|
overrideprivatevirtual |
Reimplemented from edm::InputSource.
Definition at line 651 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 614 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 540 of file DQMRootSource.cc.
References m_historyIDs, m_lumiAux, m_nextIndexItr, m_orderedIndices, m_runlumiToRange, and edm::LuminosityBlockAuxiliary::setProcessHistoryID().
|
private |
Definition at line 727 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 556 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 524 of file DQMRootSource.cc.
References m_historyIDs, m_nextIndexItr, m_orderedIndices, m_runAux, m_runlumiToRange, and edm::RunAuxiliary::setProcessHistoryID().
|
private |
Definition at line 788 of file DQMRootSource.cc.
References cms::Exception::addContext(), cmsPerfCommons::configs, edm::InputFileCatalog::fileNames(), edm::errors::FileOpenError, edm::errors::FileReadError, mps_fire::i, edm::ProcessHistory::id(), diffTreeTool::index, 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(), AlCaHLTBitMon_QueryRunRegistry::string, and groupFilesInBlocks::temp.
Referenced by readFile_().
|
private |
Definition at line 1029 of file DQMRootSource.cc.
References edm::binary_search_all(), edm::lessThan(), m_lumisToProcess, m_runsToProcess, and edm::search_all().
Referenced by readElements(), readFile_(), and readNextItemType().
|
private |
Definition at line 380 of file DQMRootSource.cc.
Referenced by DQMRootSource(), readFile_(), readNextItemType(), setupFile(), and ~DQMRootSource().
|
private |
Definition at line 390 of file DQMRootSource.cc.
Referenced by closeFile_(), readFile_(), setupFile(), and ~DQMRootSource().
|
private |
Definition at line 385 of file DQMRootSource.cc.
Referenced by DQMRootSource(), readFile_(), and readNextItemType().
|
private |
Definition at line 400 of file DQMRootSource.cc.
Referenced by readRun_().
|
private |
Definition at line 409 of file DQMRootSource.cc.
Referenced by readLuminosityBlockAuxiliary_(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 412 of file DQMRootSource.cc.
Referenced by closeFile_(), and readFile_().
|
private |
Definition at line 405 of file DQMRootSource.cc.
Referenced by readNextItemType(), readRun_(), and setupFile().
|
private |
Definition at line 399 of file DQMRootSource.cc.
Referenced by readLuminosityBlock_().
|
private |
Definition at line 395 of file DQMRootSource.cc.
Referenced by readNextItemType(), and readRun_().
|
private |
Definition at line 397 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 382 of file DQMRootSource.cc.
Referenced by readLuminosityBlockAuxiliary_().
|
private |
Definition at line 407 of file DQMRootSource.cc.
|
private |
Definition at line 402 of file DQMRootSource.cc.
Referenced by DQMRootSource(), and skipIt().
|
private |
Definition at line 387 of file DQMRootSource.cc.
Referenced by readLuminosityBlockAuxiliary_(), readNextItemType(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 383 of file DQMRootSource.cc.
Referenced by DQMRootSource(), getNextItemType(), readFile_(), and readNextItemType().
|
private |
Definition at line 394 of file DQMRootSource.cc.
Referenced by readElements(), readFile_(), readLuminosityBlock_(), readLuminosityBlockAuxiliary_(), readNextItemType(), readRun_(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 388 of file DQMRootSource.cc.
Referenced by readElements(), readFile_(), readLuminosityBlock_(), readRun_(), and setupFile().
|
private |
Definition at line 386 of file DQMRootSource.cc.
Referenced by setupFile(), and ~DQMRootSource().
|
private |
Definition at line 410 of file DQMRootSource.cc.
Referenced by readElements(), readLuminosityBlock_(), readNextItemType(), readRun_(), and setupFile().
|
private |
Definition at line 381 of file DQMRootSource.cc.
Referenced by readRunAuxiliary_().
|
private |
Definition at line 408 of file DQMRootSource.cc.
|
private |
Definition at line 389 of file DQMRootSource.cc.
Referenced by readElements(), readFile_(), readLuminosityBlock_(), readLuminosityBlockAuxiliary_(), readNextItemType(), readRun_(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 403 of file DQMRootSource.cc.
Referenced by DQMRootSource(), and skipIt().
|
private |
Definition at line 406 of file DQMRootSource.cc.
Referenced by readElements(), readLuminosityBlock_(), and readRun_().
|
private |
Definition at line 401 of file DQMRootSource.cc.
Referenced by setupFile().
|
private |
Definition at line 392 of file DQMRootSource.cc.
Referenced by DQMRootSource(), readElements(), and setupFile().
|
private |
Definition at line 391 of file DQMRootSource.cc.
Referenced by setupFile().