#include <Principal.h>
Public Types | |
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 boost::filter_iterator < FilledProductPtr, ProductHolderCollection::iterator > | iterator |
typedef std::string | ProcessName |
typedef ProcessHistory::const_iterator | ProcessNameConstIterator |
typedef std::vector < propagate_const < std::shared_ptr < ProductHolderBase > > > | ProductHolderCollection |
typedef std::shared_ptr < ProductHolderBase > | SharedProductPtr |
typedef ProductHolderCollection::size_type | size_type |
Protected Member Functions | |
void | addProduct_ (std::unique_ptr< ProductHolderBase > phb) |
void | addProductOrThrow (std::unique_ptr< ProductHolderBase > phb) |
void | checkUniquenessAndType (WrapperBase const *prod, ProductHolderBase const *productHolder) const |
ProductHolderBase * | getExistingProduct (BranchID const &branchID) |
ProductHolderBase const * | getExistingProduct (BranchID const &branchID) const |
ProductHolderBase const * | getExistingProduct (ProductHolderBase const &phb) const |
void | putOrMerge (BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const |
Private Member Functions | |
ProductData const * | findProductByLabel (KindOfType kindOfType, TypeID const &typeID, InputTag const &inputTag, EDConsumerBase const *consumer, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const |
ProductData const * | findProductByLabel (KindOfType kindOfType, TypeID const &typeID, std::string const &label, std::string const &instance, std::string const &process, EDConsumerBase const *consumer, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const |
void | findProducts (std::vector< ProductHolderBase const * > const &holders, TypeID const &typeID, BasicHandleVec &results, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const |
virtual WrapperBase const * | getIt (ProductID const &) const override |
virtual WrapperBase const * | getThinnedProduct (ProductID const &, unsigned int &) const override |
virtual void | getThinnedProducts (ProductID const &, std::vector< WrapperBase const * > &, std::vector< unsigned int > &) const override |
virtual bool | isComplete_ () const |
void | putOrMerge (std::unique_ptr< WrapperBase > prod, ProductHolderBase const *productHolder) const |
virtual void | readFromSource_ (ProductHolderBase const &, ModuleCallingContext const *) const |
void | resolveProductImmediately (ProductHolderBase &phb) |
Private Attributes | |
BranchType | branchType_ |
CacheIdentifier_t | cacheIdentifier_ |
edm::propagate_const < HistoryAppender * > | historyAppender_ |
std::vector< unsigned int > | lookupProcessOrder_ |
ProcessHistoryID | orderProcessHistoryID_ |
std::shared_ptr < ProductRegistry const > | preg_ |
ProcessConfiguration const * | processConfiguration_ |
ProcessHistoryID | processHistoryID_ |
std::shared_ptr < ProcessHistory const > | processHistoryPtr_ |
ProductHolderCollection | productHolders_ |
std::shared_ptr < ProductHolderIndexHelper const > | productLookup_ |
std::set< void const * > | productPtrs_ |
DelayedReader * | reader_ |
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... | |
Definition at line 55 of file Principal.h.
typedef std::vector<BasicHandle> edm::Principal::BasicHandleVec |
Definition at line 62 of file Principal.h.
typedef unsigned long edm::Principal::CacheIdentifier_t |
Definition at line 182 of file Principal.h.
typedef boost::filter_iterator<FilledProductPtr, ProductHolderCollection::const_iterator> edm::Principal::const_iterator |
Definition at line 58 of file Principal.h.
typedef ProductHolderBase const* edm::Principal::ConstProductHolderPtr |
Definition at line 61 of file Principal.h.
typedef boost::filter_iterator<FilledProductPtr, ProductHolderCollection::iterator> edm::Principal::iterator |
Definition at line 59 of file Principal.h.
typedef std::string edm::Principal::ProcessName |
Definition at line 66 of file Principal.h.
Definition at line 60 of file Principal.h.
typedef std::vector<propagate_const<std::shared_ptr<ProductHolderBase> > > edm::Principal::ProductHolderCollection |
Definition at line 57 of file Principal.h.
typedef std::shared_ptr<ProductHolderBase> edm::Principal::SharedProductPtr |
Definition at line 65 of file Principal.h.
typedef ProductHolderCollection::size_type edm::Principal::size_type |
Definition at line 63 of file Principal.h.
edm::Principal::Principal | ( | std::shared_ptr< ProductRegistry const > | reg, |
std::shared_ptr< ProductHolderIndexHelper const > | productLookup, | ||
ProcessConfiguration const & | pc, | ||
BranchType | bt, | ||
HistoryAppender * | historyAppender | ||
) |
Definition at line 142 of file Principal.cc.
References addAliasedProduct(), addInputProduct(), addScheduledProduct(), addSourceProduct(), addUnscheduledProduct(), assert(), edm::ProductHolderIndexHelper::Range::begin(), edm::BranchDescription::branchType(), branchType_, edm::ProductHolderIndexHelper::Range::end(), spr::find(), i, edm::ProductHolderIndexHelper::IndexAndNames::index(), edm::InEvent, edm::BranchDescription::isAlias(), relval_2017::k, edm::BranchDescription::moduleLabel(), edm::BranchDescription::onDemand(), LaserDQM_cfg::process, parseEventContent::prod, edm::BranchDescription::produced(), edm::ProductHolderIndexAmbiguous, edm::ProductHolderIndexInvalid, productHolders_, productLookup_, diffTwoXMLs::ranges, edm::source(), edm::ProductHolderIndexHelper::IndexAndNames::startInProcessNames(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
Definition at line 248 of file Principal.cc.
void edm::Principal::addAliasedProduct | ( | std::shared_ptr< BranchDescription const > | bd | ) |
Definition at line 311 of file Principal.cc.
References addProductOrThrow(), assert(), cmsHarvester::index, eostools::move(), preg_, edm::ProductHolderIndexInvalid, and productHolders_.
Referenced by Principal().
void edm::Principal::addInputProduct | ( | std::shared_ptr< BranchDescription const > | bd | ) |
Definition at line 299 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by adjustIndexesAfterProductRegistryAddition(), and Principal().
|
protected |
Definition at line 429 of file Principal.cc.
References assert(), edm::BranchDescription::branchID(), edm::BranchDescription::className(), edm::BranchDescription::friendlyClassName(), cmsHarvester::index, edm::BranchDescription::moduleLabel(), preg_, edm::BranchDescription::processName(), edm::ProductHolderIndexInvalid, and productHolders_.
Referenced by addProductOrThrow().
|
protected |
Definition at line 443 of file Principal.cc.
References addProduct_(), Exception, edm::BranchDescription::friendlyClassName(), getExistingProduct(), edm::errors::InsertFailure, edm::BranchDescription::moduleLabel(), eostools::move(), edm::BranchDescription::processName(), and edm::BranchDescription::productInstanceName().
Referenced by addAliasedProduct(), addInputProduct(), addScheduledProduct(), addSourceProduct(), and addUnscheduledProduct().
void edm::Principal::addScheduledProduct | ( | std::shared_ptr< BranchDescription const > | bd | ) |
Definition at line 287 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
void edm::Principal::addSourceProduct | ( | std::shared_ptr< BranchDescription const > | bd | ) |
Definition at line 293 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
void edm::Principal::addUnscheduledProduct | ( | std::shared_ptr< BranchDescription const > | bd | ) |
Definition at line 305 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
void edm::Principal::adjustIndexesAfterProductRegistryAddition | ( | ) |
Definition at line 883 of file Principal.cc.
References addInputProduct(), assert(), edm::BranchDescription::branchID(), edm::BranchDescription::branchType(), branchType_, cmsHarvester::index, preg_, parseEventContent::prod, edm::BranchDescription::produced(), edm::ProductHolderIndexInvalid, and productHolders_.
Referenced by edm::PrincipalCache::adjustEventsToNewProductRegistry(), and edm::StreamerInputSource::read().
bool edm::Principal::adjustToNewProductRegistry | ( | ProductRegistry const & | reg | ) |
Definition at line 270 of file Principal.cc.
References edm::BranchDescription::branchType(), branchType_, getExistingProduct(), parseEventContent::prod, edm::BranchDescription::produced(), edm::ProductRegistry::productList(), and edm::ProductHolderBase::resetBranchDescription().
Referenced by edm::PrincipalCache::adjustEventsToNewProductRegistry(), and edm::StreamerInputSource::read().
|
inline |
Definition at line 168 of file Principal.h.
References productHolders_.
Referenced by edm::check(), and edm::PoolOutputModule::updateBranchParents().
|
inline |
Definition at line 171 of file Principal.h.
References productHolders_.
|
inline |
Definition at line 179 of file Principal.h.
References branchType_.
Referenced by edm::PrincipalGetAdapter::branchType(), findProductByLabel(), and getManyByType().
|
inline |
Definition at line 183 of file Principal.h.
References cacheIdentifier_.
Referenced by edm::LuminosityBlock::cacheIdentifier(), edm::Run::cacheIdentifier(), and edm::Event::cacheIdentifier().
|
protected |
Definition at line 843 of file Principal.cc.
References edm::ProductHolderBase::branchDescription(), edm::BranchDescription::branchName(), edm::ProductHolderBase::checkType(), productPtrs_, and edm::throwCorruptionException().
Referenced by edm::EventPrincipal::put(), edm::EventPrincipal::putOnRead(), putOrMerge(), and edm::EventPrincipal::readFromSource_().
void edm::Principal::clearPrincipal | ( | ) |
Definition at line 321 of file Principal.cc.
References processHistoryID_, processHistoryPtr_, parseEventContent::prod, productPtrs_, and reader_.
Referenced by edm::EventPrincipal::clearEventPrincipal(), and edm::PoolSource::readEvent_().
void edm::Principal::deleteProduct | ( | BranchID const & | id | ) | const |
Definition at line 332 of file Principal.cc.
References assert(), getExistingProduct(), and productPtrs_.
Referenced by edm::EarlyDeleteHelper::moduleRan().
|
inline |
Definition at line 169 of file Principal.h.
References productHolders_.
Referenced by edm::check(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and edm::PoolOutputModule::updateBranchParents().
|
inline |
Definition at line 172 of file Principal.h.
References productHolders_.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
void edm::Principal::fillPrincipal | ( | ProcessHistoryID const & | hist, |
ProcessHistoryRegistry const & | phr, | ||
DelayedReader * | reader | ||
) |
Definition at line 344 of file Principal.cc.
References cacheIdentifier_, Exception, spr::find(), edm::ProcessHistoryRegistry::getMapped(), estimatePileup::hist, historyAppender_, edm::Hash< I >::isValid(), relval_2017::k, edm::errors::LogicError, lookupProcessOrder_, edm::nextIdentifier(), orderProcessHistoryID_, processConfiguration_, processHistoryID_, processHistoryPtr_, productLookup_, productRegistry(), reader(), reader_, and edm::s_emptyProcessHistory.
Referenced by edm::EventPrincipal::fillEventPrincipal(), edm::LuminosityBlockPrincipal::fillLuminosityBlockPrincipal(), and edm::RunPrincipal::fillRunPrincipal().
|
private |
Definition at line 648 of file Principal.cc.
References edm::ProductHolderBase::Ambiguous, branchType(), edm::ELEMENT_TYPE, edm::ProductHolderIndexHelper::index(), cmsHarvester::index, edm::InputTag::indexFor(), edm::InputTag::instance(), edm::InputTag::label(), matches, edm::maybeThrowMissingDictionaryException(), edm::ProductHolderIndexHelper::Matches::numberOfMatches(), preg_, edm::InputTag::process(), FSQHLTOfflineSource_cfi::processName, edm::ProductHolderIndexAmbiguous, edm::ProductHolderIndexInvalid, productHolders_, productLookup(), productRegistry(), edm::EDConsumerBase::registeredToConsume(), edm::ProductHolderIndexHelper::relatedIndexes(), edm::throwAmbiguousException(), edm::InputTag::tryToCacheIndex(), unlikely, and edm::InputTag::willSkipCurrentProcess().
Referenced by findProductByTag(), and getByLabel().
|
private |
Definition at line 701 of file Principal.cc.
References edm::ProductHolderBase::Ambiguous, branchType(), edm::ELEMENT_TYPE, edm::ProductHolderIndexHelper::index(), cmsHarvester::index, matches, edm::maybeThrowMissingDictionaryException(), edm::ProductHolderIndexHelper::Matches::numberOfMatches(), preg_, edm::ProductHolderIndexAmbiguous, edm::ProductHolderIndexInvalid, productHolders_, productLookup(), edm::EDConsumerBase::registeredToConsume(), edm::ProductHolderIndexHelper::relatedIndexes(), edm::throwAmbiguousException(), and unlikely.
ProductData const * edm::Principal::findProductByTag | ( | TypeID const & | typeID, |
InputTag const & | tag, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 743 of file Principal.cc.
References findProductByLabel(), and edm::PRODUCT_TYPE.
Referenced by edm::getProductByTag().
|
private |
Definition at line 617 of file Principal.cc.
References edm::BranchDescription::isAlias(), LaserDQM_cfg::process, processHistoryPtr_, edm::BranchDescription::processName(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getManyByType().
void edm::Principal::getAllProvenance | ( | std::vector< Provenance const * > & | provenances | ) | const |
Definition at line 798 of file Principal.cc.
Referenced by edm::LuminosityBlock::getAllProvenance(), edm::Run::getAllProvenance(), edm::Event::getAllProvenance(), and edm::AsciiOutputModule::write().
BasicHandle edm::Principal::getByLabel | ( | KindOfType | kindOfType, |
TypeID const & | typeID, | ||
InputTag const & | inputTag, | ||
EDConsumerBase const * | consumes, | ||
SharedResourcesAcquirer * | sra, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 476 of file Principal.cc.
References findProductByLabel(), edm::InputTag::instance(), edm::InputTag::label(), edm::makeHandleExceptionFactory(), edm::makeNotFoundException(), edm::InputTag::process(), and mps_fire::result.
Referenced by edm::check(), PileUpEventPrincipal::getByLabel(), edm::PrincipalGetAdapter::getByLabel_(), edm::PrincipalGetAdapter::getMatchingSequenceByLabel_(), and edm::detail::TriggerResultsBasedEventSelector::wantEvent().
BasicHandle edm::Principal::getByLabel | ( | KindOfType | kindOfType, |
TypeID const & | typeID, | ||
std::string const & | label, | ||
std::string const & | instance, | ||
std::string const & | process, | ||
EDConsumerBase const * | consumes, | ||
SharedResourcesAcquirer * | sra, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 493 of file Principal.cc.
References findProductByLabel(), edm::makeHandleExceptionFactory(), edm::makeNotFoundException(), and mps_fire::result.
BasicHandle edm::Principal::getByToken | ( | KindOfType | kindOfType, |
TypeID const & | typeID, | ||
ProductHolderIndex | index, | ||
bool | skipCurrentProcess, | ||
bool & | ambiguous, | ||
SharedResourcesAcquirer * | sra, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 512 of file Principal.cc.
References edm::ProductHolderBase::Ambiguous, assert(), cmsHarvester::index, edm::ProductHolderIndexInvalid, and productHolders_.
Referenced by edm::PrincipalGetAdapter::getByToken_().
|
protected |
Definition at line 400 of file Principal.cc.
Referenced by addProductOrThrow(), adjustToNewProductRegistry(), deleteProduct(), getExistingProduct(), edm::EventPrincipal::put(), edm::EventPrincipal::putOnRead(), and putOrMerge().
|
protected |
Definition at line 405 of file Principal.cc.
References assert(), cmsHarvester::index, preg_, edm::ProductHolderIndexInvalid, and productHolders_.
|
protected |
Definition at line 412 of file Principal.cc.
References assert(), edm::ProductHolderBase::branchDescription(), edm::BranchDescription::branchID(), edm::BranchDescription::branchName(), Exception, dqmPostProcessing_online::existing, and getExistingProduct().
OutputHandle edm::Principal::getForOutput | ( | BranchID const & | bid, |
bool | getProd, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 755 of file Principal.cc.
References getProductHolder(), edm::errors::LogicError, mps_update::status, edm::throwProductDeletedException(), and edm::throwProductNotFoundException().
Referenced by edm::check(), edm::RootOutputFile::fillBranches(), and edm::StreamSerializer::serializeEvent().
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Reimplemented in edm::EventPrincipal.
Definition at line 824 of file Principal.cc.
References assert().
void edm::Principal::getManyByType | ( | TypeID const & | typeID, |
BasicHandleVec & | results, | ||
EDConsumerBase const * | consumes, | ||
SharedResourcesAcquirer * | sra, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 545 of file Principal.cc.
References assert(), branchType(), findProducts(), i, edm::ProductHolderIndexHelper::Matches::index(), cmsHarvester::index, edm::ProductHolderIndexHelper::Matches::isFullyResolved(), matches, edm::maybeThrowMissingDictionaryException(), edm::ProductHolderIndexHelper::Matches::numberOfMatches(), preg_, edm::PRODUCT_TYPE, productHolders_, productLookup(), edm::EDConsumerBase::registeredToConsumeMany(), edm::ProductHolderIndexHelper::relatedIndexes(), and unlikely.
Referenced by edm::PrincipalGetAdapter::getManyByType_().
|
inline |
Definition at line 161 of file Principal.h.
References getProductHolder().
Referenced by edm::SubProcess::propagateProducts().
Principal::ConstProductHolderPtr edm::Principal::getProductHolder | ( | BranchID const & | oid | ) | const |
Definition at line 460 of file Principal.cc.
References getProductHolderByIndex(), cmsHarvester::index, preg_, and edm::ProductHolderIndexInvalid.
Referenced by edm::EventPrincipal::getByProductID(), getForOutput(), getModifiableProductHolder(), getProvenance(), edm::EventPrincipal::getThinnedAssociation(), and edm::SubProcess::propagateProducts().
Principal::ConstProductHolderPtr edm::Principal::getProductHolderByIndex | ( | ProductHolderIndex const & | oid | ) | const |
Definition at line 469 of file Principal.cc.
References cmsHarvester::index, and productHolders_.
Referenced by edm::PrincipalGetAdapter::getBranchDescription(), getProductHolder(), and edm::NoProcessProductHolder::resolveProduct_().
Provenance edm::Principal::getProvenance | ( | BranchID const & | bid, |
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 778 of file Principal.cc.
References getProductHolder(), edm::errors::ProductNotFound, mps_update::status, and edm::throwProductNotFoundException().
Referenced by edm::LuminosityBlock::getProvenance(), edm::Run::getProvenance(), and edm::Event::getProvenance().
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Reimplemented in edm::EventPrincipal.
Definition at line 830 of file Principal.cc.
References assert().
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Reimplemented in edm::EventPrincipal.
Definition at line 836 of file Principal.cc.
References assert().
|
inline |
Definition at line 210 of file Principal.h.
References isComplete_().
Referenced by edm::PrincipalGetAdapter::isComplete().
|
inlineprivatevirtual |
Reimplemented in edm::LuminosityBlockPrincipal, and edm::RunPrincipal.
Definition at line 262 of file Principal.h.
Referenced by isComplete().
|
inline |
Definition at line 206 of file Principal.h.
References lookupProcessOrder_.
Referenced by edm::NoProcessProductHolder::resolveProduct_().
void edm::Principal::prefetch | ( | ProductHolderIndex | index, |
bool | skipCurrentProcess, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 535 of file Principal.cc.
References assert(), and productHolders_.
|
inline |
Definition at line 152 of file Principal.h.
References processConfiguration_.
|
inline |
Definition at line 144 of file Principal.h.
References processHistoryPtr_.
Referenced by edm::SubProcess::beginLuminosityBlock(), edm::SubProcess::beginRun(), edm::EventPrincipal::fillEventPrincipal(), edm::LuminosityBlockPrincipal::fillLuminosityBlockPrincipal(), edm::RunPrincipal::fillRunPrincipal(), edm::SubProcess::process(), edm::PrincipalGetAdapter::processHistory(), edm::StreamSerializer::serializeEvent(), edm::AsciiOutputModule::write(), edm::RootOutputFile::writeLuminosityBlock(), DQMRootOutputModule::writeLuminosityBlock(), edm::RootOutputFile::writeOne(), edm::RootOutputFile::writeRun(), and DQMRootOutputModule::writeRun().
|
inline |
Definition at line 148 of file Principal.h.
References processHistoryID_.
Referenced by edm::SubProcess::beginLuminosityBlock(), edm::SubProcess::beginRun(), edm::EventPrincipal::fillEventPrincipal(), edm::SubProcess::process(), edm::Event::processHistoryID(), edm::LuminosityBlock::processHistoryID(), edm::Run::processHistoryID(), edm::RootOutputFile::writeLuminosityBlock(), DQMRootOutputModule::writeLuminosityBlock(), edm::RootOutputFile::writeOne(), edm::RootOutputFile::writeRun(), and DQMRootOutputModule::writeRun().
|
inline |
Definition at line 96 of file Principal.h.
Referenced by edm::PrincipalGetAdapter::prodGetter().
|
inline |
Definition at line 156 of file Principal.h.
References productLookup_.
Referenced by findProductByLabel(), edm::PrincipalGetAdapter::getBranchDescription(), and getManyByType().
|
inline |
Definition at line 154 of file Principal.h.
References preg_.
Referenced by fillPrincipal(), findProductByLabel(), edm::PrincipalGetAdapter::getBranchDescription(), and edm::SubProcess::process().
|
protected |
Definition at line 869 of file Principal.cc.
References assert(), edm::BranchDescription::branchID(), Exception, getExistingProduct(), edm::errors::InsertFailure, and eostools::move().
Referenced by edm::RunPrincipal::put(), edm::LuminosityBlockPrincipal::put(), and resolveProductImmediately().
|
private |
Definition at line 857 of file Principal.cc.
References edm::ProductHolderBase::checkType(), checkUniquenessAndType(), edm::ProductHolderBase::mergeProduct(), eostools::move(), edm::ProductHolderBase::putOrMergeProduct(), and edm::ProductHolderBase::putProduct().
void edm::Principal::readAllFromSourceAndMergeImmediately | ( | ) |
Definition at line 904 of file Principal.cc.
References edm::ProductHolderBase::branchDescription(), parseEventContent::prod, edm::BranchDescription::produced(), edm::ProductHolderBase::productUnavailable(), resolveProductImmediately(), and edm::ProductHolderBase::singleProduct().
Referenced by edm::RootFile::readLuminosityBlock_(), and edm::RootFile::readRun_().
|
inline |
Definition at line 185 of file Principal.h.
References reader_.
Referenced by edm::SubProcess::beginLuminosityBlock(), edm::SubProcess::beginRun(), edm::EventPrincipal::fillEventPrincipal(), edm::LuminosityBlockPrincipal::fillLuminosityBlockPrincipal(), fillPrincipal(), edm::RunPrincipal::fillRunPrincipal(), edm::SubProcess::process(), edm::EventPrincipal::readFromSource_(), recombine(), and resolveProductImmediately().
|
inline |
Definition at line 196 of file Principal.h.
References readFromSource_().
Referenced by edm::InputProductHolder::resolveProduct_().
|
inlineprivatevirtual |
Reimplemented in edm::EventPrincipal.
Definition at line 258 of file Principal.h.
Referenced by readFromSource().
Definition at line 812 of file Principal.cc.
References assert(), edm::get_underlying_safe(), cmsHarvester::index, edm::DelayedReader::mergeReaders(), preg_, parseEventContent::prod, edm::ProductHolderIndexInvalid, productHolders_, reader(), and reader_.
Referenced by edm::PoolSource::readEvent_(), edm::PoolSource::readLuminosityBlock_(), and edm::PoolSource::readRun_().
|
private |
Definition at line 915 of file Principal.cc.
References edm::ProductHolderBase::branchDescription(), edm::getProduct(), eostools::move(), edm::BranchDescription::produced(), putOrMerge(), and reader().
Referenced by readAllFromSourceAndMergeImmediately().
size_t edm::Principal::size | ( | void | ) | const |
Definition at line 255 of file Principal.cc.
References parseEventContent::prod.
Referenced by edm::SecSourceAnalyzer::getBranches(), edm::StreamerInputSource::read(), and edm::Event::size().
|
pure virtual |
Implemented in edm::EventPrincipal, edm::LuminosityBlockPrincipal, and edm::RunPrincipal.
Referenced by edm::UnscheduledProductHolder::resolveProduct_().
|
private |
Definition at line 290 of file Principal.h.
Referenced by adjustIndexesAfterProductRegistryAddition(), adjustToNewProductRegistry(), branchType(), and Principal().
|
private |
Definition at line 297 of file Principal.h.
Referenced by cacheIdentifier(), and fillPrincipal().
|
private |
Definition at line 295 of file Principal.h.
Referenced by fillPrincipal().
|
private |
Definition at line 280 of file Principal.h.
Referenced by fillPrincipal(), and lookupProcessOrder().
|
private |
Definition at line 281 of file Principal.h.
Referenced by fillPrincipal().
|
private |
Definition at line 277 of file Principal.h.
Referenced by addAliasedProduct(), addProduct_(), adjustIndexesAfterProductRegistryAddition(), findProductByLabel(), getExistingProduct(), getManyByType(), getProductHolder(), productRegistry(), and recombine().
|
private |
Definition at line 270 of file Principal.h.
Referenced by fillPrincipal(), and processConfiguration().
|
private |
Definition at line 268 of file Principal.h.
Referenced by clearPrincipal(), fillPrincipal(), and processHistoryID().
|
private |
Definition at line 266 of file Principal.h.
Referenced by clearPrincipal(), fillPrincipal(), findProducts(), and processHistory().
|
private |
Definition at line 273 of file Principal.h.
Referenced by addAliasedProduct(), addProduct_(), adjustIndexesAfterProductRegistryAddition(), begin(), end(), findProductByLabel(), getByToken(), getExistingProduct(), getManyByType(), getProductHolderByIndex(), prefetch(), Principal(), and recombine().
|
private |
Definition at line 278 of file Principal.h.
Referenced by fillPrincipal(), Principal(), and productLookup().
|
mutableprivate |
Definition at line 288 of file Principal.h.
Referenced by checkUniquenessAndType(), clearPrincipal(), and deleteProduct().
|
private |
Definition at line 285 of file Principal.h.
Referenced by clearPrincipal(), fillPrincipal(), reader(), and recombine().