Public Member Functions | |
DQMRootSource (edm::ParameterSet const &, const edm::InputSourceDescription &) | |
virtual | ~DQMRootSource () |
Public Member Functions inherited from edm::InputSource | |
boost::shared_ptr < ActivityRegistry > | actReg () const |
Accessor for Activity Registry. More... | |
void | closeFile (boost::shared_ptr< FileBlock >) |
close current file More... | |
void | doBeginJob () |
Called by framework at beginning of job. More... | |
void | doBeginLumi (LuminosityBlockPrincipal &lbp) |
Called by framework at beginning of lumi block. More... | |
void | doBeginRun (RunPrincipal &rp) |
Called by framework at beginning of run. More... | |
void | doEndJob () |
Called by framework at end of job. More... | |
void | doEndLumi (LuminosityBlockPrincipal &lbp) |
Called by framework at end of lumi block. More... | |
void | doEndRun (RunPrincipal &rp) |
Called by framework at end of run. More... | |
void | doPostForkReacquireResources (boost::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... | |
void | issueReports (EventID const &eventID) |
issue an event report More... | |
LuminosityBlockNumber_t | luminosityBlock () const |
Accessor for current luminosity block number. More... | |
boost::shared_ptr < LuminosityBlockAuxiliary > | luminosityBlockAuxiliary () const |
Called by the framework to merge or insert lumi in principal cache. More... | |
int | markLumi () |
Mark lumi as read. More... | |
int | markRun () |
Mark run as read. More... | |
int | maxEvents () const |
int | maxLuminosityBlocks () const |
ModuleDescription const & | moduleDescription () const |
Accessor for 'module' description. More... | |
ItemType | nextItemType () |
bool const | primary () const |
Accessor for primary input source flag. More... | |
ProcessConfiguration const & | processConfiguration () const |
Accessor for Process Configuration. More... | |
std::string const & | processGUID () const |
Accessor for global process identifier. More... | |
ProcessHistoryID const & | processHistoryID () const |
Accessor for the input process history ID of the current run. More... | |
ProcessingMode | processingMode () const |
RunsLumisAndEvents (default), RunsAndLumis, or Runs. More... | |
boost::shared_ptr < ProductRegistry const > | productRegistry () const |
Accessor for product registry. More... | |
bool | randomAccess () const |
void | readAndCacheLumi () |
Read next luminosity block. More... | |
void | readAndCacheRun () |
Read next run. More... | |
EventPrincipal * | readEvent (boost::shared_ptr< LuminosityBlockPrincipal > lbCache) |
EventPrincipal * | readEvent (EventID const &) |
Read a specific event. More... | |
boost::shared_ptr< FileBlock > | readFile () |
Read next file. More... | |
boost::shared_ptr < LuminosityBlockAuxiliary > | readLuminosityBlockAuxiliary () |
Read next luminosity block Auxilary. More... | |
boost::shared_ptr< RunAuxiliary > | readRunAuxiliary () |
Read next run Auxiliary. More... | |
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... | |
ProcessingController::ReverseState | reverseState () const |
void | rewind () |
Begin again at the first event. More... | |
RunNumber_t | run () const |
Accessor for current run number. More... | |
boost::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) |
Timestamp const & | timestamp () const |
Accessor for the current time, as seen by the input source. More... | |
void | wakeUp () |
Wake up the input source. More... | |
virtual | ~InputSource () |
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) |
Protected Member Functions | |
virtual void | endLuminosityBlock (edm::LuminosityBlock &) |
virtual void | endRun (edm::Run &) |
Protected Member Functions inherited from edm::InputSource | |
void | decreaseRemainingEventsBy (int iSkipped) |
EventPrincipal *const | eventPrincipalCache () |
boost::shared_ptr < LuminosityBlockPrincipal > const | luminosityBlockPrincipal () const |
PrincipalCache const & | principalCache () const |
PrincipalCache & | principalCache () |
ProductRegistry & | productRegistryUpdate () const |
void | reset () const |
void | resetLuminosityBlockAuxiliary () const |
void | resetRunAuxiliary () const |
boost::shared_ptr < RunPrincipal > const | runPrincipal () const |
void | setLuminosityBlockAuxiliary (LuminosityBlockAuxiliary *lbp) |
void | setLumiPrematurelyRead () |
void | setRunAuxiliary (RunAuxiliary *rp) |
void | setRunPrematurelyRead () |
void | setTimestamp (Timestamp const &theTime) |
To set the current time, as seen by the input source. More... | |
ItemType | state () const |
Private Member Functions | |
virtual void | closeFile_ () |
DQMRootSource (const DQMRootSource &) | |
virtual edm::InputSource::ItemType | getNextItemType () |
const DQMRootSource & | operator= (const DQMRootSource &) |
void | readElements () |
virtual edm::EventPrincipal * | readEvent_ () |
virtual boost::shared_ptr < edm::FileBlock > | readFile_ () |
virtual boost::shared_ptr < edm::LuminosityBlockPrincipal > | readLuminosityBlock_ (boost::shared_ptr< edm::LuminosityBlockPrincipal > lbCache) |
virtual boost::shared_ptr < edm::LuminosityBlockAuxiliary > | readLuminosityBlockAuxiliary_ () |
void | readNextItemType () |
virtual boost::shared_ptr < edm::RunPrincipal > | readRun_ (boost::shared_ptr< edm::RunPrincipal > rpCache) |
virtual boost::shared_ptr < edm::RunAuxiliary > | readRunAuxiliary_ () |
void | setupFile (unsigned int iIndex) |
Private Attributes | |
edm::InputFileCatalog | m_catalog |
bool | m_doNotReadRemainingPartsOfFileSinceFrameworkTerminating |
std::auto_ptr< TFile > | m_file |
size_t | m_fileIndex |
std::vector < edm::ProcessHistoryID > | m_historyIDs |
edm::JobReport::Token | m_jrToken |
bool | m_justOpenedFileSoNeedToGenerateRunTransition |
unsigned int | m_lastSeenRun |
edm::LuminosityBlockAuxiliary | m_lumiAux |
std::set< MonitorElement * > | m_lumiElements |
std::list< unsigned int >::iterator | m_nextIndexItr |
edm::InputSource::ItemType | m_nextItemType |
std::list< unsigned int > | m_orderedIndices |
std::list< unsigned int >::iterator | m_presentIndexItr |
edm::RunAuxiliary | m_runAux |
std::set< MonitorElement * > | m_runElements |
std::vector< RunLumiToRange > | m_runlumiToRange |
std::vector< boost::shared_ptr < TreeReaderBase > > | m_treeReaders |
std::vector< TTree * > | m_trees |
Additional Inherited Members | |
Public Types inherited from edm::InputSource | |
enum | ItemType { IsInvalid, IsStop, IsFile, IsRun, IsLumi, IsEvent, IsRepeat } |
enum | ProcessingMode { Runs, RunsAndLumis, RunsLumisAndEvents } |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Definition at line 287 of file DQMRootSource.cc.
DQMRootSource::DQMRootSource | ( | edm::ParameterSet const & | iPSet, |
const edm::InputSourceDescription & | iDesc | ||
) |
Definition at line 369 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_nextItemType, and m_treeReaders.
|
virtual |
Definition at line 405 of file DQMRootSource.cc.
|
private |
|
privatevirtual |
Reimplemented from edm::InputSource.
Definition at line 579 of file DQMRootSource.cc.
References edm::JobReport::inputFileClosed(), m_doNotReadRemainingPartsOfFileSinceFrameworkTerminating, m_jrToken, m_orderedIndices, m_presentIndexItr, and readElements().
|
protectedvirtual |
Reimplemented from edm::InputSource.
Definition at line 566 of file DQMRootSource.cc.
|
protectedvirtual |
Reimplemented from edm::InputSource.
Definition at line 570 of file DQMRootSource.cc.
References m_doNotReadRemainingPartsOfFileSinceFrameworkTerminating.
|
static |
Definition at line 358 of file DQMRootSource.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::addUntracked().
|
privatevirtual |
Implements edm::InputSource.
Definition at line 437 of file DQMRootSource.cc.
References m_nextItemType.
|
private |
|
private |
Definition at line 594 of file DQMRootSource.cc.
References kNoTypesStored, m_lumiElements, m_orderedIndices, m_presentIndexItr, m_runElements, m_runlumiToRange, and m_treeReaders.
Referenced by closeFile_(), readLuminosityBlock_(), and readRun_().
|
privatevirtual |
Implements edm::InputSource.
Definition at line 431 of file DQMRootSource.cc.
|
privatevirtual |
Reimplemented from edm::InputSource.
Definition at line 543 of file DQMRootSource.cc.
References edm::InputFileCatalog::fileNames(), edm::JobReport::inputFileOpened(), edm::InputFileCatalog::logicalFileNames(), m_catalog, m_doNotReadRemainingPartsOfFileSinceFrameworkTerminating, m_file, m_fileIndex, m_jrToken, readNextItemType(), and setupFile().
|
privatevirtual |
Reimplemented from edm::InputSource.
Definition at line 519 of file DQMRootSource.cc.
References m_lumiElements, m_presentIndexItr, m_runlumiToRange, readElements(), readNextItemType(), and edm::JobReport::reportInputLumiSection().
|
privatevirtual |
Implements edm::InputSource.
Definition at line 469 of file DQMRootSource.cc.
References m_historyIDs, m_lumiAux, m_nextIndexItr, m_orderedIndices, m_runlumiToRange, and edm::LuminosityBlockAuxiliary::setProcessHistoryID().
|
private |
Definition at line 631 of file DQMRootSource.cc.
References edm::InputFileCatalog::fileNames(), edm::RunAuxiliary::id(), edm::LuminosityBlockAuxiliary::id(), edm::InputSource::IsFile, edm::InputSource::IsLumi, edm::InputSource::IsRun, edm::InputSource::IsStop, m_catalog, m_fileIndex, m_justOpenedFileSoNeedToGenerateRunTransition, m_lastSeenRun, m_lumiAux, m_nextIndexItr, m_nextItemType, m_orderedIndices, m_runAux, and m_runlumiToRange.
Referenced by readFile_(), readLuminosityBlock_(), and readRun_().
|
privatevirtual |
Reimplemented from edm::InputSource.
Definition at line 484 of file DQMRootSource.cc.
References m_justOpenedFileSoNeedToGenerateRunTransition, m_lastSeenRun, m_orderedIndices, m_presentIndexItr, m_runElements, m_runlumiToRange, readElements(), readNextItemType(), and edm::JobReport::reportInputRunNumber().
|
privatevirtual |
Implements edm::InputSource.
Definition at line 443 of file DQMRootSource.cc.
References getHLTprescales::index, m_historyIDs, m_nextIndexItr, m_orderedIndices, m_runAux, m_runlumiToRange, and edm::RunAuxiliary::setProcessHistoryID().
|
private |
Definition at line 699 of file DQMRootSource.cc.
References cmsPerfCommons::configs, cms::Digest::digest(), edm::InputFileCatalog::fileNames(), i, edm::ProcessHistory::id(), getHLTprescales::index, edm::detail::ThreadSafeRegistry< KEY, T, E >::insertMapped(), edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), kBeginTimeBranch, kEndTimeBranch, kFirstIndex, kIndicesTree, kLastIndex, kLumiBranch, kMetaDataDirectoryAbsolute, kNIndicies, kParameterSetBranch, kParameterSetTree, kPHIndexBranch, kProcessConfigurationParameterSetIDBranch, kProcessConfigurationPassID, kProcessConfigurationProcessNameBranch, kProcessConfigurationReleaseVersion, kProcessHistoryIndexBranch, kProcessHistoryTree, kRunBranch, kTypeBranch, kTypeNames, m_catalog, m_file, m_historyIDs, m_justOpenedFileSoNeedToGenerateRunTransition, m_nextIndexItr, m_orderedIndices, m_presentIndexItr, m_runlumiToRange, m_treeReaders, m_trees, cond::rpcobtemp::temp, and cms::MD5Result::toString().
Referenced by readFile_().
|
private |
Definition at line 325 of file DQMRootSource.cc.
Referenced by DQMRootSource(), readFile_(), readNextItemType(), and setupFile().
|
private |
Definition at line 341 of file DQMRootSource.cc.
Referenced by closeFile_(), endRun(), and readFile_().
|
private |
Definition at line 334 of file DQMRootSource.cc.
Referenced by readFile_(), and setupFile().
|
private |
Definition at line 330 of file DQMRootSource.cc.
Referenced by DQMRootSource(), readFile_(), and readNextItemType().
|
private |
Definition at line 344 of file DQMRootSource.cc.
Referenced by readLuminosityBlockAuxiliary_(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 346 of file DQMRootSource.cc.
Referenced by closeFile_(), and readFile_().
|
private |
Definition at line 340 of file DQMRootSource.cc.
Referenced by readNextItemType(), readRun_(), and setupFile().
|
private |
Definition at line 339 of file DQMRootSource.cc.
Referenced by readNextItemType(), and readRun_().
|
private |
Definition at line 327 of file DQMRootSource.cc.
Referenced by readLuminosityBlockAuxiliary_(), and readNextItemType().
|
private |
Definition at line 342 of file DQMRootSource.cc.
Referenced by readElements(), and readLuminosityBlock_().
|
private |
Definition at line 331 of file DQMRootSource.cc.
Referenced by readLuminosityBlockAuxiliary_(), readNextItemType(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 328 of file DQMRootSource.cc.
Referenced by DQMRootSource(), getNextItemType(), and readNextItemType().
|
private |
Definition at line 338 of file DQMRootSource.cc.
Referenced by closeFile_(), readElements(), readLuminosityBlockAuxiliary_(), readNextItemType(), readRun_(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 332 of file DQMRootSource.cc.
Referenced by closeFile_(), readElements(), readLuminosityBlock_(), readRun_(), and setupFile().
|
private |
Definition at line 326 of file DQMRootSource.cc.
Referenced by readNextItemType(), and readRunAuxiliary_().
|
private |
Definition at line 343 of file DQMRootSource.cc.
Referenced by readElements(), and readRun_().
|
private |
Definition at line 333 of file DQMRootSource.cc.
Referenced by readElements(), readLuminosityBlock_(), readLuminosityBlockAuxiliary_(), readNextItemType(), readRun_(), readRunAuxiliary_(), and setupFile().
|
private |
Definition at line 336 of file DQMRootSource.cc.
Referenced by DQMRootSource(), readElements(), and setupFile().
|
private |
Definition at line 335 of file DQMRootSource.cc.
Referenced by setupFile().