#include <OccurrenceForOutput.h>
Public Member Functions | |
void | getAllProvenance (std::vector< Provenance const * > &provenances) const |
void | getAllStableProvenance (std::vector< StableProvenance const * > &provenances) const |
template<typename PROD > | |
bool | getByToken (EDGetToken token, Handle< PROD > &result) const |
BasicHandle | getByToken (EDGetToken token, TypeID const &typeID) 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.
edm::OccurrenceForOutput::OccurrenceForOutput | ( | Principal const & | ep, |
ModuleDescription const & | md, | ||
ModuleCallingContext const * | moduleCallingContext, | ||
bool | isAtEnd | ||
) |
Definition at line 14 of file OccurrenceForOutput.cc.
|
virtual |
Definition at line 20 of file OccurrenceForOutput.cc.
void edm::OccurrenceForOutput::getAllProvenance | ( | std::vector< Provenance const * > & | provenances | ) | const |
Definition at line 32 of file OccurrenceForOutput.cc.
References edm::Principal::getAllProvenance(), edm::PrincipalGetAdapter::principal(), and provRecorder_.
void edm::OccurrenceForOutput::getAllStableProvenance | ( | std::vector< StableProvenance const * > & | provenances | ) | const |
Definition at line 36 of file OccurrenceForOutput.cc.
References edm::Principal::getAllStableProvenance(), edm::PrincipalGetAdapter::principal(), and provRecorder_.
bool edm::OccurrenceForOutput::getByToken | ( | EDGetToken | token, |
Handle< PROD > & | result | ||
) | const |
Definition at line 89 of file OccurrenceForOutput.h.
References edm::PrincipalGetAdapter::checkIfComplete(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, mps_fire::result, edm::principal_get_adapter_detail::throwOnPrematureRead(), and unpackBuffers-CaloStage2::token.
BasicHandle edm::OccurrenceForOutput::getByToken | ( | EDGetToken | token, |
TypeID const & | typeID | ||
) | const |
Definition at line 44 of file OccurrenceForOutput.cc.
References edm::PrincipalGetAdapter::getByToken_(), edm::PrincipalGetAdapter::isComplete(), moduleCallingContext_, edm::PRODUCT_TYPE, provRecorder_, mps_fire::result, edm::principal_get_adapter_detail::throwOnPrematureRead(), and unpackBuffers-CaloStage2::token.
Referenced by SummaryTableOutputBranches::fill(), TableOutputBranches::fill(), edm::RootOutputFile::fillBranches(), and NanoAODOutputModule::writeRun().
bool edm::OccurrenceForOutput::getByToken | ( | EDGetTokenT< PROD > | token, |
Handle< PROD > & | result | ||
) | const |
Definition at line 102 of file OccurrenceForOutput.h.
References edm::PrincipalGetAdapter::checkIfComplete(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, mps_fire::result, edm::principal_get_adapter_detail::throwOnPrematureRead(), and unpackBuffers-CaloStage2::token.
Handle< PROD > edm::OccurrenceForOutput::getHandle | ( | EDGetTokenT< PROD > | token | ) | const |
Definition at line 115 of file OccurrenceForOutput.h.
References edm::PrincipalGetAdapter::checkIfComplete(), edm::PrincipalGetAdapter::getByToken_(), moduleCallingContext_, eostools::move(), PROD, edm::PRODUCT_TYPE, provRecorder_, edm::principal_get_adapter_detail::throwOnPrematureRead(), and unpackBuffers-CaloStage2::token.
Referenced by edm::StreamerOutputModuleBase::beginRun().
Provenance edm::OccurrenceForOutput::getProvenance | ( | BranchID const & | theID | ) | const |
Definition at line 28 of file OccurrenceForOutput.cc.
References edm::Principal::getProvenance(), edm::PrincipalGetAdapter::principal(), and provRecorder_.
|
inlineprivate |
|
protected |
Definition at line 24 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 40 of file OccurrenceForOutput.cc.
References edm::PrincipalGetAdapter::processHistory(), and provRecorder_.
Referenced by edm::RootOutputFile::writeLuminosityBlock(), NanoAODOutputModule::writeLuminosityBlock(), DQMRootOutputModule::writeLuminosityBlock(), NanoAODOutputModule::writeRun(), and DQMRootOutputModule::writeRun().
ProcessHistoryID const & edm::OccurrenceForOutput::processHistoryID | ( | ) | const |
Definition at line 26 of file OccurrenceForOutput.cc.
References principal(), and edm::Principal::processHistoryID().
Referenced by edm::RootOutputFile::writeLuminosityBlock(), DQMRootOutputModule::writeLuminosityBlock(), and DQMRootOutputModule::writeRun().
void edm::OccurrenceForOutput::setConsumer | ( | EDConsumerBase const * | iConsumer | ) |
Definition at line 22 of file OccurrenceForOutput.cc.
References provRecorder_, and edm::PrincipalGetAdapter::setConsumer().
Referenced by edm::one::OutputModuleBase::doBeginLuminosityBlock(), edm::global::OutputModuleBase::doBeginLuminosityBlock(), edm::limited::OutputModuleBase::doBeginLuminosityBlock(), edm::one::OutputModuleBase::doEndLuminosityBlock(), edm::global::OutputModuleBase::doEndLuminosityBlock(), edm::limited::OutputModuleBase::doEndLuminosityBlock(), edm::global::OutputModuleBase::doWriteLuminosityBlock(), edm::limited::OutputModuleBase::doWriteLuminosityBlock(), edm::one::OutputModuleBase::doWriteLuminosityBlock(), edm::global::OutputModuleBase::doWriteProcessBlock(), edm::limited::OutputModuleBase::doWriteProcessBlock(), and edm::one::OutputModuleBase::doWriteProcessBlock().
size_t edm::OccurrenceForOutput::size | ( | void | ) | const |
Definition at line 42 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(), getHandle(), and moduleCallingContext().
|
private |
Definition at line 83 of file OccurrenceForOutput.h.
Referenced by getAllProvenance(), getAllStableProvenance(), getByToken(), getHandle(), getProvenance(), principal(), processHistory(), setConsumer(), and size().