#include <OccurrenceForOutput.h>
Public Member Functions | |
void | getAllProvenance (std::vector< Provenance const * > &provenances) const |
void | getAllStableProvenance (std::vector< StableProvenance const * > &provenances) const |
BasicHandle | getByToken (EDGetToken token, TypeID const &typeID) const |
template<typename PROD > | |
bool | getByToken (EDGetToken token, Handle< PROD > &result) const |
template<typename PROD > | |
bool | getByToken (EDGetTokenT< PROD > token, Handle< PROD > &result) const |
template<typename PROD > | |
Handle< PROD > | getHandle (EDGetTokenT< PROD > token) const |
Provenance | getProvenance (BranchID const &theID) const |
OccurrenceForOutput (Principal const &ep, ModuleDescription const &md, ModuleCallingContext const *, bool isAtEnd) | |
virtual ProcessHistory const & | processHistory () const |
ProcessHistoryID const & | processHistoryID () const |
void | setConsumer (EDConsumerBase const *iConsumer) |
size_t | size () const |
virtual | ~OccurrenceForOutput () |
Protected Member Functions | |
Principal const & | principal () const |
Private Member Functions | |
ModuleCallingContext const * | moduleCallingContext () const |
Private Attributes | |
ModuleCallingContext const * | moduleCallingContext_ |
PrincipalGetAdapter | provRecorder_ |
Friends | |
class | edmtest::TestOutputModule |
Definition at line 45 of file OccurrenceForOutput.h.
OccurrenceForOutput::OccurrenceForOutput | ( | Principal const & | ep, |
ModuleDescription const & | md, | ||
ModuleCallingContext const * | moduleCallingContext, | ||
bool | isAtEnd | ||
) |
Definition at line 15 of file OccurrenceForOutput.cc.
|
virtual |
Definition at line 21 of file OccurrenceForOutput.cc.
void OccurrenceForOutput::getAllProvenance | ( | std::vector< Provenance const * > & | provenances | ) | const |
Definition at line 33 of file OccurrenceForOutput.cc.
References edm::Principal::getAllProvenance(), edm::PrincipalGetAdapter::principal(), and provRecorder_.
void OccurrenceForOutput::getAllStableProvenance | ( | std::vector< StableProvenance const * > & | provenances | ) | const |
Definition at line 37 of file OccurrenceForOutput.cc.
References edm::Principal::getAllStableProvenance(), edm::PrincipalGetAdapter::principal(), and provRecorder_.
BasicHandle OccurrenceForOutput::getByToken | ( | EDGetToken | token, |
TypeID const & | typeID | ||
) | const |
Definition at line 45 of file OccurrenceForOutput.cc.
References edm::PrincipalGetAdapter::getByToken_(), edm::PrincipalGetAdapter::isComplete(), moduleCallingContext_, edm::PRODUCT_TYPE, provRecorder_, mps_fire::result, and edm::principal_get_adapter_detail::throwOnPrematureRead().
Referenced by SummaryTableOutputBranches::fill(), EventStringOutputBranches::fill(), TriggerOutputBranches::fill(), TableOutputBranches::fill(), edm::RootOutputFile::fillBranches(), edm::StreamerOutputModuleBase::getTriggerResults(), evf::EvFOutputModule::getTriggerResults(), edm::OutputModule::getTriggerResults(), edm::detail::TriggerResultsBasedEventSelector::wantEvent(), RawEventOutputModuleForBU< Consumer >::write(), edm::ProvenanceCheckerOutputModule::write(), and NanoAODOutputModule::writeRun().
bool OccurrenceForOutput::getByToken | ( | EDGetToken | token, |
Handle< PROD > & | result | ||
) | const |
Definition at line 89 of file OccurrenceForOutput.h.
References edm::HandleBase::failedToGet(), eostools::move(), PROD, edm::PRODUCT_TYPE, and edm::principal_get_adapter_detail::throwOnPrematureRead().
bool OccurrenceForOutput::getByToken | ( | EDGetTokenT< PROD > | token, |
Handle< PROD > & | result | ||
) | const |
Definition at line 102 of file OccurrenceForOutput.h.
References edm::HandleBase::failedToGet(), eostools::move(), PROD, edm::PRODUCT_TYPE, and edm::principal_get_adapter_detail::throwOnPrematureRead().
Handle< PROD > OccurrenceForOutput::getHandle | ( | EDGetTokenT< PROD > | token | ) | const |
Definition at line 115 of file OccurrenceForOutput.h.
References eostools::move(), PROD, edm::PRODUCT_TYPE, and edm::principal_get_adapter_detail::throwOnPrematureRead().
Provenance OccurrenceForOutput::getProvenance | ( | BranchID const & | theID | ) | const |
Definition at line 29 of file OccurrenceForOutput.cc.
References edm::Principal::getProvenance(), moduleCallingContext_, edm::PrincipalGetAdapter::principal(), and provRecorder_.
Referenced by edm::AsciiOutputModule::write(), edm::ProvenanceCheckerOutputModule::write(), and edm::ProvenanceCheckerOutputModule::~ProvenanceCheckerOutputModule().
|
inlineprivate |
Definition at line 81 of file OccurrenceForOutput.h.
|
protected |
Definition at line 25 of file OccurrenceForOutput.cc.
References edm::PrincipalGetAdapter::principal(), and provRecorder_.
Referenced by edm::EventForOutput::eventPrincipal(), edm::LuminosityBlockForOutput::luminosityBlockPrincipal(), processHistoryID(), and edm::RunForOutput::runPrincipal().
|
virtual |
Definition at line 41 of file OccurrenceForOutput.cc.
References edm::PrincipalGetAdapter::processHistory(), and provRecorder_.
Referenced by edm::AsciiOutputModule::write(), NanoAODOutputModule::write(), NanoAODOutputModule::writeLuminosityBlock(), edm::RootOutputFile::writeLuminosityBlock(), DQMRootOutputModule::writeLuminosityBlock(), edm::RootOutputFile::writeOne(), NanoAODOutputModule::writeRun(), edm::RootOutputFile::writeRun(), and DQMRootOutputModule::writeRun().
ProcessHistoryID const & OccurrenceForOutput::processHistoryID | ( | ) | const |
Definition at line 27 of file OccurrenceForOutput.cc.
References principal(), and edm::Principal::processHistoryID().
Referenced by edm::RootOutputFile::writeLuminosityBlock(), DQMRootOutputModule::writeLuminosityBlock(), edm::RootOutputFile::writeOne(), edm::RootOutputFile::writeRun(), and DQMRootOutputModule::writeRun().
void OccurrenceForOutput::setConsumer | ( | EDConsumerBase const * | iConsumer | ) |
Definition at line 23 of file OccurrenceForOutput.cc.
References provRecorder_, and edm::PrincipalGetAdapter::setConsumer().
Referenced by edm::OutputModule::doBeginLuminosityBlock(), edm::one::OutputModuleBase::doBeginLuminosityBlock(), edm::global::OutputModuleBase::doBeginLuminosityBlock(), edm::limited::OutputModuleBase::doBeginLuminosityBlock(), edm::OutputModule::doBeginRun(), edm::one::OutputModuleBase::doBeginRun(), edm::global::OutputModuleBase::doBeginRun(), edm::limited::OutputModuleBase::doBeginRun(), edm::OutputModule::doEndLuminosityBlock(), edm::one::OutputModuleBase::doEndLuminosityBlock(), edm::global::OutputModuleBase::doEndLuminosityBlock(), edm::limited::OutputModuleBase::doEndLuminosityBlock(), edm::OutputModule::doEndRun(), edm::one::OutputModuleBase::doEndRun(), edm::global::OutputModuleBase::doEndRun(), edm::limited::OutputModuleBase::doEndRun(), edm::OutputModule::doEvent(), edm::one::OutputModuleBase::doEvent(), edm::global::OutputModuleBase::doEvent(), edm::limited::OutputModuleBase::doEvent(), edm::SubProcess::doEventAsync(), edm::OutputModule::doWriteLuminosityBlock(), edm::one::OutputModuleBase::doWriteLuminosityBlock(), edm::global::OutputModuleBase::doWriteLuminosityBlock(), edm::limited::OutputModuleBase::doWriteLuminosityBlock(), edm::OutputModule::doWriteRun(), edm::one::OutputModuleBase::doWriteRun(), edm::global::OutputModuleBase::doWriteRun(), edm::limited::OutputModuleBase::doWriteRun(), edm::OutputModule::prePrefetchSelection(), edm::one::OutputModuleBase::prePrefetchSelection(), edm::global::OutputModuleBase::prePrefetchSelection(), and edm::limited::OutputModuleBase::prePrefetchSelection().
size_t OccurrenceForOutput::size | ( | void | ) | const |
Definition at line 43 of file OccurrenceForOutput.cc.
References edm::PrincipalGetAdapter::principal(), provRecorder_, and edm::Principal::size().
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 80 of file OccurrenceForOutput.h.
|
private |
Definition at line 85 of file OccurrenceForOutput.h.
Referenced by getByToken(), and getProvenance().
|
private |
Definition at line 83 of file OccurrenceForOutput.h.
Referenced by getAllProvenance(), getAllStableProvenance(), getByToken(), getProvenance(), principal(), processHistory(), setConsumer(), and size().