#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.
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 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 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 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 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(), edm::RootOutputFile::fillBranches(), and NanoAODOutputModule::writeRun().
bool 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 > 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 OccurrenceForOutput::getProvenance | ( | BranchID const & | theID | ) | const |
Definition at line 28 of file OccurrenceForOutput.cc.
References edm::Principal::getProvenance(), moduleCallingContext_, 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 & 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 OccurrenceForOutput::setConsumer | ( | EDConsumerBase const * | iConsumer | ) |
Definition at line 22 of file OccurrenceForOutput.cc.
References provRecorder_, and edm::PrincipalGetAdapter::setConsumer().
Referenced by edm::global::OutputModuleBase::doBeginLuminosityBlock(), edm::one::OutputModuleBase::doBeginLuminosityBlock(), edm::limited::OutputModuleBase::doBeginLuminosityBlock(), edm::global::OutputModuleBase::doEndLuminosityBlock(), edm::one::OutputModuleBase::doEndLuminosityBlock(), edm::limited::OutputModuleBase::doEndLuminosityBlock(), edm::global::OutputModuleBase::doWriteLuminosityBlock(), edm::limited::OutputModuleBase::doWriteLuminosityBlock(), and edm::one::OutputModuleBase::doWriteLuminosityBlock().
size_t 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(), getProvenance(), and moduleCallingContext().
|
private |
Definition at line 83 of file OccurrenceForOutput.h.
Referenced by getAllProvenance(), getAllStableProvenance(), getByToken(), getHandle(), getProvenance(), principal(), processHistory(), setConsumer(), and size().