#include <LuminosityBlockPrincipal.h>
Public Types | |
typedef LuminosityBlockAuxiliary | Auxiliary |
typedef Principal | Base |
Public Types inherited from edm::Principal | |
typedef std::vector< BasicHandle > | BasicHandleVec |
typedef unsigned long | CacheIdentifier_t |
typedef boost::filter_iterator < FilledProductPtr, ProductHolderCollection::const_iterator > | const_iterator |
typedef ProductHolderBase const * | ConstProductHolderPtr |
typedef std::string | ProcessName |
typedef ProcessHistory::const_iterator | ProcessNameConstIterator |
typedef std::vector < boost::shared_ptr < ProductHolderBase > > | ProductHolderCollection |
typedef boost::shared_ptr < ProductHolderBase > | SharedProductPtr |
typedef ProductHolderCollection::size_type | size_type |
Private Member Functions | |
virtual bool | isComplete_ () const override |
void | resolveProductImmediate (ProductHolderBase const &phb) const |
virtual unsigned int | transitionIndex_ () const override |
virtual bool | unscheduledFill (std::string const &, ModuleCallingContext const *mcc) const override |
Private Attributes | |
boost::shared_ptr < LuminosityBlockAuxiliary > | aux_ |
bool | complete_ |
LuminosityBlockIndex | index_ |
boost::shared_ptr< RunPrincipal > | runPrincipal_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDProductGetter | |
static void | assignEDProductGetter (EDProductGetter const *&) |
static EDProductGetter const * | switchProductGetter (EDProductGetter const *) |
These can only be used internally by the framework. More... | |
Protected Member Functions inherited from edm::Principal | |
void | addProduct_ (std::auto_ptr< ProductHolderBase > phb) |
void | addProductOrThrow (std::auto_ptr< ProductHolderBase > phb) |
void | checkUniquenessAndType (WrapperOwningHolder const &prod, ProductHolderBase const *productHolder) const |
ProductHolderBase * | getExistingProduct (BranchID const &branchID) |
ProductHolderBase * | getExistingProduct (ProductHolderBase const &phb) |
void | putOrMerge (WrapperOwningHolder const &prod, ProductHolderBase const *productHolder) const |
void | putOrMerge (WrapperOwningHolder const &prod, ProductProvenance &prov, ProductHolderBase *productHolder) |
Definition at line 33 of file LuminosityBlockPrincipal.h.
Definition at line 35 of file LuminosityBlockPrincipal.h.
Definition at line 36 of file LuminosityBlockPrincipal.h.
edm::LuminosityBlockPrincipal::LuminosityBlockPrincipal | ( | boost::shared_ptr< LuminosityBlockAuxiliary > | aux, |
boost::shared_ptr< ProductRegistry const > | reg, | ||
ProcessConfiguration const & | pc, | ||
HistoryAppender * | historyAppender, | ||
unsigned int | index | ||
) |
Definition at line 11 of file LuminosityBlockPrincipal.cc.
|
inline |
Definition at line 44 of file LuminosityBlockPrincipal.h.
|
inline |
Definition at line 84 of file LuminosityBlockPrincipal.h.
References aux_.
Referenced by edm::SubProcess::beginLuminosityBlock(), beginTime(), endTime(), id(), luminosityBlock(), edm::PoolSource::readLuminosityBlock_(), run(), and edm::RootOutputFile::writeLuminosityBlock().
|
inline |
Definition at line 68 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::beginTime().
Referenced by edm::EventProcessor::beginLumi(), edm::EDLooperBase::doBeginLuminosityBlock(), edm::EDLooperBase::doEndLuminosityBlock(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OutputModuleCommunicatorT< T >::writeLumi(), and DQMRootOutputModule::writeLuminosityBlock().
|
inline |
Definition at line 72 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::endTime().
Referenced by edm::EventProcessor::endLumi(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext(), and DQMRootOutputModule::writeLuminosityBlock().
void edm::LuminosityBlockPrincipal::fillLuminosityBlockPrincipal | ( | ProcessHistoryRegistry const & | processHistoryRegistry, |
DelayedReader * | reader = 0 |
||
) |
Definition at line 25 of file LuminosityBlockPrincipal.cc.
References aux_, complete_, edm::Principal::fillPrincipal(), edm::Principal::processHistory(), parseEventContent::prod, and edm::Principal::reader().
Referenced by edm::DQMProtobufReader::readLuminosityBlock_(), LHESource::readLuminosityBlock_(), edm::RootFile::readLuminosityBlock_(), DQMRootSource::readLuminosityBlock_(), and edm::InputSource::readLuminosityBlock_().
|
inline |
Definition at line 64 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::id().
Referenced by RawEventOutputModuleForBU< Consumer >::beginLuminosityBlock(), edm::EDLooperBase::doBeginLuminosityBlock(), edm::EDLooperBase::doEndLuminosityBlock(), RawEventOutputModuleForBU< Consumer >::endLuminosityBlock(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext(), edm::DQMProtobufReader::readLuminosityBlock_(), DQMRootSource::readLuminosityBlock_(), edm::OutputModuleCommunicatorT< T >::writeLumi(), edm::GetProductCheckerOutputModule::writeLuminosityBlock(), edm::RootOutputFile::writeLuminosityBlock(), and DQMRootOutputModule::writeLuminosityBlock().
|
inline |
Definition at line 60 of file LuminosityBlockPrincipal.h.
References index_.
Referenced by BeautifulSoup.PageElement::_invert(), edm::SubProcess::beginLuminosityBlock(), edm::EDLooperBase::doBeginLuminosityBlock(), edm::EDLooperBase::doDuringLoop(), edm::EDLooperBase::doEndLuminosityBlock(), edm::stream::EDAnalyzerAdaptorBase::doStreamBeginLuminosityBlock(), edm::stream::ProducingModuleAdaptorBase< T >::doStreamBeginLuminosityBlock(), edm::LuminosityBlock::index(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext(), edm::PoolSource::readLuminosityBlock_(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext(), transitionIndex_(), and edm::OutputModuleCommunicatorT< T >::writeLumi().
|
inlineoverrideprivatevirtual |
Reimplemented from edm::Principal.
Definition at line 110 of file LuminosityBlockPrincipal.h.
References complete_.
|
inline |
Definition at line 80 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::luminosityBlock().
Referenced by edm::EventProcessor::beginLumi(), evf::RecoEventOutputModuleForFU< Consumer >::beginLuminosityBlock(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), edm::EventProcessor::endLumi(), evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock(), edm::PoolSource::readLuminosityBlock_(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), and edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext().
|
inline |
Definition at line 92 of file LuminosityBlockPrincipal.h.
References aux_.
void edm::LuminosityBlockPrincipal::put | ( | BranchDescription const & | bd, |
WrapperOwningHolder const & | edp | ||
) |
Definition at line 39 of file LuminosityBlockPrincipal.cc.
References edm::BranchDescription::branchID(), edm::hlt::Exception, edm::Principal::getExistingProduct(), edm::errors::InsertFailure, edm::WrapperHolder::isValid(), edm::BranchDescription::produced(), and edm::Principal::putOrMerge().
Referenced by edm::LuminosityBlock::commit_().
void edm::LuminosityBlockPrincipal::readImmediate | ( | ) | const |
Definition at line 56 of file LuminosityBlockPrincipal.cc.
References edm::ProductHolderBase::branchDescription(), parseEventContent::prod, edm::BranchDescription::produced(), edm::ProductHolderBase::productUnavailable(), resolveProductImmediate(), and edm::ProductHolderBase::singleProduct().
Referenced by edm::RootFile::readLuminosityBlock_().
|
private |
Definition at line 68 of file LuminosityBlockPrincipal.cc.
References edm::ProductHolderBase::branchDescription(), edm::ProductData::getInterface(), edm::getProduct(), edm::BranchDescription::produced(), edm::ProductHolderBase::productData(), edm::Principal::putOrMerge(), and edm::Principal::reader().
Referenced by readImmediate().
|
inline |
Definition at line 88 of file LuminosityBlockPrincipal.h.
References aux(), and edm::LuminosityBlockAuxiliary::run().
Referenced by edm::EventProcessor::beginLumi(), Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), edm::EventProcessor::endLumi(), edm::PoolSource::readLuminosityBlock_(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), and edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext().
|
inline |
Definition at line 48 of file LuminosityBlockPrincipal.h.
References runPrincipal_.
Referenced by edm::EDLooperBase::doBeginLuminosityBlock(), edm::EDLooperBase::doDuringLoop(), edm::EDLooperBase::doEndLuminosityBlock(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalBegin >::makeGlobalContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionGlobalEnd >::makeGlobalContext(), edm::EventPrincipal::runPrincipal(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamBegin >::setStreamContext(), edm::OccurrenceTraits< LuminosityBlockPrincipal, BranchActionStreamEnd >::setStreamContext(), and edm::OutputModuleCommunicatorT< T >::writeLumi().
|
inline |
Definition at line 52 of file LuminosityBlockPrincipal.h.
References runPrincipal_.
|
inline |
Definition at line 104 of file LuminosityBlockPrincipal.h.
References complete_.
Referenced by edm::InputSource::doEndLumi().
|
inline |
Definition at line 76 of file LuminosityBlockPrincipal.h.
References aux_.
Referenced by edm::InputSource::doEndLumi().
|
inline |
Definition at line 56 of file LuminosityBlockPrincipal.h.
References runPrincipal_.
|
inline |
Definition at line 96 of file LuminosityBlockPrincipal.h.
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Definition at line 83 of file LuminosityBlockPrincipal.cc.
References index(), and edm::LuminosityBlockIndex::value().
|
inlineoverrideprivatevirtual |
Implements edm::Principal.
Definition at line 112 of file LuminosityBlockPrincipal.h.
|
private |
Definition at line 121 of file LuminosityBlockPrincipal.h.
Referenced by aux(), fillLuminosityBlockPrincipal(), mergeAuxiliary(), and setEndTime().
|
private |
Definition at line 125 of file LuminosityBlockPrincipal.h.
Referenced by fillLuminosityBlockPrincipal(), isComplete_(), and setComplete().
|
private |
Definition at line 123 of file LuminosityBlockPrincipal.h.
Referenced by index().
|
private |
Definition at line 119 of file LuminosityBlockPrincipal.h.
Referenced by runPrincipal(), and setRunPrincipal().