#include <Principal.h>
Public Types | |
typedef std::vector< BasicHandle > | BasicHandleVec |
typedef unsigned long | CacheIdentifier_t |
typedef boost::filter_iterator< FilledProductPtr, ProductResolverCollection::const_iterator > | const_iterator |
typedef ProductResolverBase const * | ConstProductResolverPtr |
typedef boost::filter_iterator< FilledProductPtr, ProductResolverCollection::iterator > | iterator |
typedef std::string | ProcessName |
typedef ProcessHistory::const_iterator | ProcessNameConstIterator |
typedef std::vector< propagate_const< std::shared_ptr< ProductResolverBase > > > | ProductResolverCollection |
typedef std::shared_ptr< ProductResolverBase > | SharedProductPtr |
typedef ProductResolverCollection::size_type | size_type |
Protected Member Functions | |
void | addProduct_ (std::unique_ptr< ProductResolverBase > phb) |
void | addProductOrThrow (std::unique_ptr< ProductResolverBase > phb) |
template<typename F > | |
void | applyToResolvers (F iFunc) |
ProductResolverBase * | getExistingProduct (BranchID const &branchID) |
ProductResolverBase const * | getExistingProduct (BranchID const &branchID) const |
ProductResolverBase const * | getExistingProduct (ProductResolverBase const &phb) const |
void | put_ (BranchDescription const &bd, std::unique_ptr< WrapperBase > edp) const |
Private Member Functions | |
void | addAliasedProduct (std::shared_ptr< BranchDescription const > bd) |
void | addDelayedReaderInputProduct (std::shared_ptr< BranchDescription const > bd) |
void | addParentProcessProduct (std::shared_ptr< BranchDescription const > bd) |
void | addPutOnReadInputProduct (std::shared_ptr< BranchDescription const > bd) |
void | addScheduledProduct (std::shared_ptr< BranchDescription const > bd) |
void | addSourceProduct (std::shared_ptr< BranchDescription const > bd) |
void | addSwitchAliasProduct (std::shared_ptr< BranchDescription const > bd) |
void | addSwitchProducerProduct (std::shared_ptr< BranchDescription const > bd) |
void | addTransformProduct (std::shared_ptr< BranchDescription const > bd) |
void | addUnscheduledProduct (std::shared_ptr< BranchDescription const > bd) |
virtual void | changedIndexes_ () |
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< ProductResolverBase const *> const &holders, TypeID const &typeID, BasicHandleVec &results, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const |
WrapperBase const * | getIt (ProductID const &) const override |
OptionalThinnedKey | getThinnedKeyFrom (ProductID const &parent, unsigned int key, ProductID const &thinned) const override |
std::optional< std::tuple< WrapperBase const *, unsigned int > > | getThinnedProduct (ProductID const &, unsigned int) const override |
void | getThinnedProducts (ProductID const &, std::vector< WrapperBase const *> &, std::vector< unsigned int > &) const override |
void | put_ (std::unique_ptr< WrapperBase > prod, ProductResolverBase const *productResolver) const |
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_ |
ProcessHistoryID | processHistoryIDBeforeConfig_ |
std::shared_ptr< ProcessHistory const > | processHistoryPtr_ |
std::shared_ptr< ProductResolverIndexHelper const > | productLookup_ |
ProductResolverCollection | productResolvers_ |
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 56 of file Principal.h.
typedef std::vector<BasicHandle> edm::Principal::BasicHandleVec |
Definition at line 63 of file Principal.h.
typedef unsigned long edm::Principal::CacheIdentifier_t |
Definition at line 184 of file Principal.h.
typedef boost::filter_iterator<FilledProductPtr, ProductResolverCollection::const_iterator> edm::Principal::const_iterator |
Definition at line 59 of file Principal.h.
typedef ProductResolverBase const* edm::Principal::ConstProductResolverPtr |
Definition at line 62 of file Principal.h.
typedef boost::filter_iterator<FilledProductPtr, ProductResolverCollection::iterator> edm::Principal::iterator |
Definition at line 60 of file Principal.h.
typedef std::string edm::Principal::ProcessName |
Definition at line 67 of file Principal.h.
Definition at line 61 of file Principal.h.
typedef std::vector<propagate_const<std::shared_ptr<ProductResolverBase> > > edm::Principal::ProductResolverCollection |
Definition at line 58 of file Principal.h.
typedef std::shared_ptr<ProductResolverBase> edm::Principal::SharedProductPtr |
Definition at line 66 of file Principal.h.
typedef ProductResolverCollection::size_type edm::Principal::size_type |
Definition at line 64 of file Principal.h.
edm::Principal::Principal | ( | std::shared_ptr< ProductRegistry const > | reg, |
std::shared_ptr< ProductResolverIndexHelper const > | productLookup, | ||
ProcessConfiguration const & | pc, | ||
BranchType | bt, | ||
HistoryAppender * | historyAppender, | ||
bool | isForPrimaryProcess = true |
||
) |
Definition at line 122 of file Principal.cc.
References addAliasedProduct(), addDelayedReaderInputProduct(), addParentProcessProduct(), addPutOnReadInputProduct(), addScheduledProduct(), addSourceProduct(), addSwitchAliasProduct(), addSwitchProducerProduct(), addTransformProduct(), addUnscheduledProduct(), cms::cuda::assert(), branchType_, spr::find(), mps_fire::i, edm::ProductResolverIndexHelper::IndexAndNames::index(), edm::InEvent, dqmiolumiharvest::j, dqmdumpme::k, or, LaserDQM_cfg::process, edm::ProcessConfiguration::processName(), dumpMFGeometry_cfg::prod, productLookup_, edm::ProductResolverIndexAmbiguous, edm::ProductResolverIndexInvalid, productResolvers_, FastTimerService_cff::range, diffTwoXMLs::ranges, edm::source(), edm::ProductResolverIndexHelper::IndexAndNames::startInProcessNames(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 302 of file Principal.cc.
|
private |
Definition at line 361 of file Principal.cc.
References addProductOrThrow(), cms::cuda::assert(), eostools::move(), preg_, edm::ProductResolverIndexInvalid, and productResolvers_.
Referenced by Principal().
|
private |
Definition at line 345 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by adjustIndexesAfterProductRegistryAddition(), and Principal().
|
private |
Definition at line 385 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
|
protected |
Definition at line 537 of file Principal.cc.
References cms::cuda::assert(), preg_, edm::ProductResolverIndexInvalid, and productResolvers_.
Referenced by addProductOrThrow().
|
protected |
Definition at line 550 of file Principal.cc.
References addProduct_(), Exception, getExistingProduct(), edm::errors::InsertFailure, and eostools::move().
Referenced by addAliasedProduct(), addDelayedReaderInputProduct(), addParentProcessProduct(), addPutOnReadInputProduct(), addScheduledProduct(), addSourceProduct(), addSwitchAliasProduct(), addSwitchProducerProduct(), addTransformProduct(), and addUnscheduledProduct().
|
private |
Definition at line 349 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by adjustIndexesAfterProductRegistryAddition(), and Principal().
|
private |
Definition at line 335 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
|
private |
Definition at line 340 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
|
private |
Definition at line 377 of file Principal.cc.
References addProductOrThrow(), cms::cuda::assert(), eostools::move(), preg_, edm::ProductResolverIndexInvalid, and productResolvers_.
Referenced by Principal().
|
private |
Definition at line 369 of file Principal.cc.
References addProductOrThrow(), cms::cuda::assert(), eostools::move(), preg_, edm::ProductResolverIndexInvalid, and productResolvers_.
Referenced by Principal().
|
private |
Definition at line 357 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
|
private |
Definition at line 353 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
void edm::Principal::adjustIndexesAfterProductRegistryAddition | ( | ) |
Definition at line 975 of file Principal.cc.
References addDelayedReaderInputProduct(), addPutOnReadInputProduct(), cms::cuda::assert(), branchType_, changedIndexes_(), preg_, dumpMFGeometry_cfg::prod, edm::ProductResolverIndexInvalid, and productResolvers_.
Referenced by edm::PrincipalCache::adjustEventsToNewProductRegistry(), and edm::StreamerInputSource::read().
bool edm::Principal::adjustToNewProductRegistry | ( | ProductRegistry const & | reg | ) |
Definition at line 319 of file Principal.cc.
References branchType_, getExistingProduct(), dumpMFGeometry_cfg::prod, edm::ProductRegistry::productList(), and edm::ProductResolverBase::resetBranchDescription().
Referenced by edm::PrincipalCache::adjustEventsToNewProductRegistry(), edm::StreamerInputSource::read(), and edm::EventProcessor::readAndMergeRun().
|
inlineprotected |
Definition at line 217 of file Principal.h.
References productResolvers_.
Referenced by setupUnscheduled().
|
inline |
Definition at line 160 of file Principal.h.
References productResolvers_.
|
inline |
Definition at line 167 of file Principal.h.
References productResolvers_.
|
inline |
Definition at line 181 of file Principal.h.
References branchType_.
Referenced by edm::PrincipalGetAdapter::branchType(), edm::EDLooperBase::edPrefetchAsync(), edm::Worker::edPrefetchAsync(), findProductByLabel(), getManyByType(), edm::Worker::prefetchAsync(), edm::ParentProcessProductResolver::prefetchAsync_(), and edm::ParentProcessProductResolver::resolveProduct_().
|
inline |
Definition at line 185 of file Principal.h.
References cacheIdentifier_.
Referenced by edm::ProcessBlock::cacheIdentifier(), edm::LuminosityBlock::cacheIdentifier(), edm::Run::cacheIdentifier(), and edm::Event::cacheIdentifier().
|
inlineprivatevirtual |
Reimplemented in edm::EventPrincipal.
Definition at line 225 of file Principal.h.
Referenced by adjustIndexesAfterProductRegistryAddition().
void edm::Principal::clearPrincipal | ( | ) |
Definition at line 390 of file Principal.cc.
References dumpMFGeometry_cfg::prod, and reader_.
Referenced by edm::EventPrincipal::clearEventPrincipal(), edm::SubProcess::clearProcessBlockPrincipal(), edm::SubProcess::doEndProcessBlockAsync(), edm::EventProcessor::endProcessBlock(), edm::EventProcessor::inputProcessBlocks(), and edm::PoolSource::readEvent_().
void edm::Principal::deleteProduct | ( | BranchID const & | id | ) | const |
Definition at line 400 of file Principal.cc.
References cms::cuda::assert(), and getExistingProduct().
|
inline |
Definition at line 163 of file Principal.h.
References productResolvers_.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and edm::EventPrincipal::wasBranchListIndexesChangedFromInput().
|
inline |
Definition at line 170 of file Principal.h.
References productResolvers_.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
void edm::Principal::fillPrincipal | ( | DelayedReader * | reader | ) |
Definition at line 410 of file Principal.cc.
References cacheIdentifier_, edm::nextIdentifier(), reader(), and reader_.
Referenced by edm::EventPrincipal::commonFillEventPrincipal(), edm::LuminosityBlockPrincipal::fillLuminosityBlockPrincipal(), fillPrincipal(), edm::ProcessBlockPrincipal::fillProcessBlockPrincipal(), and edm::RunPrincipal::fillRunPrincipal().
void edm::Principal::fillPrincipal | ( | ProcessHistoryID const & | hist, |
ProcessHistory const * | phr, | ||
DelayedReader * | reader | ||
) |
Definition at line 419 of file Principal.cc.
References Exception, fillPrincipal(), spr::find(), gpuVertexFinder::hist, historyAppender_, dqmdumpme::k, edm::errors::LogicError, lookupProcessOrder_, orderProcessHistoryID_, processConfiguration_, processHistory(), processHistoryID_, processHistoryIDBeforeConfig_, processHistoryPtr_, edm::ProcessConfiguration::processName(), productLookup_, productRegistry(), reader(), and edm::s_emptyProcessHistory.
void edm::Principal::fillPrincipal | ( | std::string const & | processNameOfBlock, |
DelayedReader * | reader | ||
) |
Definition at line 496 of file Principal.cc.
References fillPrincipal(), spr::find(), lookupProcessOrder_, productLookup_, and reader().
|
private |
Definition at line 752 of file Principal.cc.
References edm::appendCurrentProcessIfAlias(), branchType(), OfflineOutput_cfi::consumer, edm::ProductResolverIndexHelper::index(), SimL1EmulatorRepack_Full_cff::inputTag, B2GTnPMonitor_cfi::item, edm::InputTag::kCurrentProcess, or, preg_, processConfiguration_, SimL1EmulatorRepack_CalouGT_cff::processName, edm::ProcessConfiguration::processName(), productLookup(), productRegistry(), edm::ProductResolverIndexAmbiguous, edm::ProductResolverIndexInvalid, productResolvers_, L1TObjectsTimingClient_cff::resolution, edm::throwAmbiguousException(), and UNLIKELY.
Referenced by findProductByTag(), and getByLabel().
|
private |
Definition at line 823 of file Principal.cc.
References branchType(), OfflineOutput_cfi::consumer, edm::ProductResolverIndexHelper::index(), instance, B2GTnPMonitor_cfi::item, label, or, preg_, LaserDQM_cfg::process, productLookup(), edm::ProductResolverIndexAmbiguous, edm::ProductResolverIndexInvalid, productResolvers_, L1TObjectsTimingClient_cff::resolution, edm::throwAmbiguousException(), and UNLIKELY.
ProductData const * edm::Principal::findProductByTag | ( | TypeID const & | typeID, |
InputTag const & | tag, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 863 of file Principal.cc.
References cms::cuda::assert(), branchType_, findProductByLabel(), edm::InProcess, edm::PRODUCT_TYPE, and makeGlobalPositionRcd_cfg::tag.
|
private |
Definition at line 727 of file Principal.cc.
References LaserDQM_cfg::process, processHistoryPtr_, edm::ProductData::provenance(), mysort::results, AlCaHLTBitMon_QueryRunRegistry::string, and edm::ProductData::wrapper().
Referenced by getManyByType().
void edm::Principal::getAllProvenance | ( | std::vector< Provenance const *> & | provenances | ) | const |
Definition at line 898 of file Principal.cc.
Referenced by edm::OccurrenceForOutput::getAllProvenance(), and edm::Event::getAllProvenance().
void edm::Principal::getAllStableProvenance | ( | std::vector< StableProvenance const *> & | provenances | ) | const |
Definition at line 915 of file Principal.cc.
Referenced by edm::OccurrenceForOutput::getAllStableProvenance(), edm::Run::getAllStableProvenance(), edm::LuminosityBlock::getAllStableProvenance(), and edm::Event::getAllStableProvenance().
BasicHandle edm::Principal::getByLabel | ( | KindOfType | kindOfType, |
TypeID const & | typeID, | ||
InputTag const & | inputTag, | ||
EDConsumerBase const * | consumes, | ||
SharedResourcesAcquirer * | sra, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 579 of file Principal.cc.
References edm::appendCurrentProcessIfAlias(), cms::cuda::assert(), branchType_, OfflineOutput_cfi::consumer, findProductByLabel(), edm::InProcess, SimL1EmulatorRepack_Full_cff::inputTag, edm::makeHandleExceptionFactory(), edm::makeNotFoundException(), processConfiguration_, edm::ProcessConfiguration::processName(), and mps_fire::result.
Referenced by edm::test::ProcessBlock::get(), edm::test::Event::get(), PileUpEventPrincipal::getByLabel(), edm::PrincipalGetAdapter::getByLabel_(), and edm::PrincipalGetAdapter::getMatchingSequenceByLabel_().
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 604 of file Principal.cc.
References OfflineOutput_cfi::consumer, findProductByLabel(), instance, label, edm::makeHandleExceptionFactory(), edm::makeNotFoundException(), LaserDQM_cfg::process, and mps_fire::result.
BasicHandle edm::Principal::getByToken | ( | KindOfType | kindOfType, |
TypeID const & | typeID, | ||
ProductResolverIndex | index, | ||
bool | skipCurrentProcess, | ||
bool & | ambiguous, | ||
SharedResourcesAcquirer * | sra, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 621 of file Principal.cc.
References cms::cuda::assert(), edm::BasicHandle::makeInvalid(), edm::ProductResolverIndexInvalid, productResolvers_, and L1TObjectsTimingClient_cff::resolution.
Referenced by edm::EventForTransformer::get(), and edm::PrincipalGetAdapter::getByToken_().
|
protected |
Definition at line 509 of file Principal.cc.
Referenced by addProductOrThrow(), adjustToNewProductRegistry(), deleteProduct(), getExistingProduct(), edm::EventPrincipal::put(), put_(), edm::EventPrincipal::putOnRead(), and edm::RunPrincipal::putOrMerge().
|
protected |
Definition at line 513 of file Principal.cc.
References cms::cuda::assert(), preg_, edm::ProductResolverIndexInvalid, and productResolvers_.
|
protected |
Definition at line 519 of file Principal.cc.
References cms::cuda::assert(), edm::ProductResolverBase::branchDescription(), edm::BranchDescription::branchID(), edm::BranchDescription::branchName(), Exception, dqmPostProcessing_online::existing, and getExistingProduct().
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Definition at line 937 of file Principal.cc.
References cms::cuda::assert().
void edm::Principal::getManyByType | ( | TypeID const & | typeID, |
BasicHandleVec & | results, | ||
EDConsumerBase const * | consumes, | ||
SharedResourcesAcquirer * | sra, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 657 of file Principal.cc.
References cms::cuda::assert(), branchType(), branchType_, OfflineOutput_cfi::consumer, findProducts(), mps_fire::i, edm::InProcess, oniaPATMuonsWithTrigger_cff::matches, edm::PRODUCT_TYPE, productLookup(), productResolvers_, edm::ProductResolverIndexHelper::relatedIndexes(), mysort::results, and UNLIKELY.
Referenced by edm::PrincipalGetAdapter::getManyByType_().
|
inline |
Definition at line 153 of file Principal.h.
References getProductResolver().
Referenced by edm::SubProcess::parentProducedProductIsKept(), and edm::SubProcess::propagateProducts().
Principal::ConstProductResolverPtr edm::Principal::getProductResolver | ( | BranchID const & | oid | ) | const |
Definition at line 562 of file Principal.cc.
References getProductResolverByIndex(), preg_, and edm::ProductResolverIndexInvalid.
Referenced by edm::EventPrincipal::getByProductID(), getModifiableProductResolver(), getProvenance(), getStableProvenance(), edm::EventPrincipal::getThinnedAssociation(), edm::SubProcess::parentProducedProductIsKept(), and edm::SubProcess::propagateProducts().
Principal::ConstProductResolverPtr edm::Principal::getProductResolverByIndex | ( | ProductResolverIndex const & | oid | ) | const |
Definition at line 570 of file Principal.cc.
References productResolvers_.
Referenced by edm::ProcessBlock::commit_(), edm::NoProcessProductResolver::dataValidFromResolver(), edm::PrincipalGetAdapter::getBranchDescription(), edm::PrincipalGetAdapter::getProductID(), getProductResolver(), edm::SingleChoiceNoProcessProductResolver::prefetchAsync_(), edm::ProcessBlockPrincipal::put(), edm::LuminosityBlockPrincipal::put(), edm::RunPrincipal::put(), edm::EventPrincipal::put(), edm::SingleChoiceNoProcessProductResolver::resolveProduct_(), edm::NoProcessProductResolver::tryPrefetchResolverAsync(), and edm::NoProcessProductResolver::tryResolver().
Provenance const & edm::Principal::getProvenance | ( | BranchID const & | bid | ) | const |
Definition at line 873 of file Principal.cc.
References Exception, getProductResolver(), edm::errors::ProductNotFound, edm::throwProductNotFoundException(), and edm::errors::UnimplementedFeature.
Referenced by edm::OccurrenceForOutput::getProvenance(), edm::Run::getProvenance(), edm::LuminosityBlock::getProvenance(), and edm::Event::getProvenance().
StableProvenance const & edm::Principal::getStableProvenance | ( | BranchID const & | bid | ) | const |
Definition at line 886 of file Principal.cc.
References getProductResolver(), edm::errors::ProductNotFound, and edm::throwProductNotFoundException().
Referenced by edm::Run::getStableProvenance(), edm::LuminosityBlock::getStableProvenance(), and edm::Event::getStableProvenance().
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Definition at line 954 of file Principal.cc.
References cms::cuda::assert().
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Definition at line 942 of file Principal.cc.
References cms::cuda::assert().
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Definition at line 948 of file Principal.cc.
References cms::cuda::assert().
|
inline |
Definition at line 197 of file Principal.h.
References lookupProcessOrder_.
Referenced by edm::NoProcessProductResolver::dataValidFromResolver(), edm::NoProcessProductResolver::prefetchFailed(), edm::NoProcessProductResolver::resolveProduct_(), and edm::NoProcessProductResolver::tryPrefetchResolverAsync().
void edm::Principal::prefetchAsync | ( | WaitingTaskHolder | waitTask, |
ProductResolverIndex | index, | ||
bool | skipCurrentProcess, | ||
ServiceToken const & | token, | ||
ModuleCallingContext const * | mcc | ||
) | const |
Definition at line 647 of file Principal.cc.
References cms::cuda::assert(), productResolvers_, TrackValidation_cff::task, and unpackBuffers-CaloStage2::token.
Referenced by edm::Worker::doTransformAsync(), edm::EDLooperBase::edPrefetchAsync(), edm::Worker::edPrefetchAsync(), and edm::Worker::prePrefetchSelectionAsync().
|
virtual |
Reimplemented in edm::EventPrincipal.
Definition at line 575 of file Principal.cc.
References Exception, and edm::errors::LogicError.
Referenced by edm::PrincipalGetAdapter::processBlockIndex().
|
inline |
Definition at line 144 of file Principal.h.
References processConfiguration_.
|
inline |
Definition at line 140 of file Principal.h.
References processHistoryPtr_.
Referenced by edm::EventPrincipal::commonFillEventPrincipal(), edm::SubProcess::doBeginLuminosityBlockAsync(), edm::SubProcess::doBeginRunAsync(), edm::EventPrincipal::fillEventPrincipal(), edm::LuminosityBlockPrincipal::fillLuminosityBlockPrincipal(), fillPrincipal(), edm::SubProcess::processAsync(), and edm::PrincipalGetAdapter::processHistory().
|
inline |
Definition at line 142 of file Principal.h.
References processHistoryID_.
Referenced by edm::EventPrincipal::commonFillEventPrincipal(), edm::SubProcess::doBeginLuminosityBlockAsync(), edm::SubProcess::doBeginRunAsync(), edm::SubProcess::processAsync(), edm::OccurrenceForOutput::processHistoryID(), edm::Event::processHistoryID(), edm::LuminosityBlock::processHistoryID(), and edm::Run::processHistoryID().
|
inline |
Definition at line 92 of file Principal.h.
Referenced by edm::PrincipalGetAdapter::prodGetter().
|
inline |
Definition at line 148 of file Principal.h.
References productLookup_.
Referenced by findProductByLabel(), edm::PrincipalGetAdapter::getBranchDescription(), and getManyByType().
|
inline |
Definition at line 146 of file Principal.h.
References preg_.
Referenced by edm::EventPrincipal::changedIndexes_(), fillPrincipal(), findProductByLabel(), edm::SubProcess::processAsync(), and edm::PrincipalGetAdapter::throwUnregisteredPutException().
|
protected |
Definition at line 963 of file Principal.cc.
References cms::cuda::assert(), Exception, getExistingProduct(), edm::errors::InsertFailure, and eostools::move().
Referenced by edm::LuminosityBlockPrincipal::put(), and edm::RunPrincipal::put().
|
private |
Definition at line 959 of file Principal.cc.
References runTheMatrix::const, eostools::move(), and dumpMFGeometry_cfg::prod.
void edm::Principal::readAllFromSourceAndMergeImmediately | ( | MergeableRunProductMetadata const * | mergeableRunProductMetadata = nullptr | ) |
Definition at line 1004 of file Principal.cc.
References dumpMFGeometry_cfg::prod, and reader().
Referenced by edm::PoolSource::readEvent_(), edm::RootFile::readLuminosityBlock_(), and edm::RootFile::readRun_().
|
inline |
Definition at line 187 of file Principal.h.
References reader_.
Referenced by edm::RepeatingCachedRootSource::beginJob(), edm::EventPrincipal::commonFillEventPrincipal(), edm::SubProcess::doBeginLuminosityBlockAsync(), edm::SubProcess::doBeginProcessBlockAsync(), edm::SubProcess::doBeginRunAsync(), edm::SubProcess::doEndProcessBlockAsync(), edm::EventPrincipal::fillEventPrincipal(), edm::LuminosityBlockPrincipal::fillLuminosityBlockPrincipal(), fillPrincipal(), edm::ProcessBlockPrincipal::fillProcessBlockPrincipal(), edm::RunPrincipal::fillRunPrincipal(), edm::SubProcess::processAsync(), readAllFromSourceAndMergeImmediately(), and edm::DelayedReaderInputProductResolver::retrieveAndMerge_().
Definition at line 926 of file Principal.cc.
References cms::cuda::assert(), edm::get_underlying_safe(), edm::DelayedReader::mergeReaders(), trackingPlots::other, preg_, dumpMFGeometry_cfg::prod, edm::ProductResolverIndexInvalid, productResolvers_, and reader_.
Referenced by edm::PoolSource::readEvent_(), edm::PoolSource::readLuminosityBlock_(), and edm::PoolSource::readRun_().
void edm::Principal::setupUnscheduled | ( | UnscheduledConfigurator const & | iConfigure | ) |
Definition at line 406 of file Principal.cc.
References applyToResolvers(), and edm::ProductResolverBase::setupUnscheduled().
size_t edm::Principal::size | ( | void | ) | const |
Definition at line 307 of file Principal.cc.
References dumpMFGeometry_cfg::prod, and mitigatedMETSequence_cff::U.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), edm::StreamerInputSource::read(), edm::OccurrenceForOutput::size(), and edm::Event::size().
|
private |
Definition at line 294 of file Principal.h.
Referenced by adjustIndexesAfterProductRegistryAddition(), adjustToNewProductRegistry(), branchType(), findProductByTag(), getByLabel(), getManyByType(), and Principal().
|
private |
Definition at line 301 of file Principal.h.
Referenced by cacheIdentifier(), and fillPrincipal().
|
private |
Definition at line 299 of file Principal.h.
Referenced by fillPrincipal().
|
private |
Definition at line 287 of file Principal.h.
Referenced by fillPrincipal(), and lookupProcessOrder().
|
private |
Definition at line 288 of file Principal.h.
Referenced by fillPrincipal().
|
private |
Definition at line 284 of file Principal.h.
Referenced by addAliasedProduct(), addProduct_(), addSwitchAliasProduct(), addSwitchProducerProduct(), adjustIndexesAfterProductRegistryAddition(), findProductByLabel(), getExistingProduct(), getProductResolver(), productRegistry(), and recombine().
|
private |
Definition at line 277 of file Principal.h.
Referenced by fillPrincipal(), findProductByLabel(), getByLabel(), and processConfiguration().
|
private |
Definition at line 274 of file Principal.h.
Referenced by fillPrincipal(), and processHistoryID().
|
private |
Definition at line 275 of file Principal.h.
Referenced by fillPrincipal().
|
private |
Definition at line 272 of file Principal.h.
Referenced by fillPrincipal(), findProducts(), and processHistory().
|
private |
Definition at line 285 of file Principal.h.
Referenced by fillPrincipal(), Principal(), and productLookup().
|
private |
Definition at line 280 of file Principal.h.
Referenced by addAliasedProduct(), addProduct_(), addSwitchAliasProduct(), addSwitchProducerProduct(), adjustIndexesAfterProductRegistryAddition(), applyToResolvers(), begin(), end(), findProductByLabel(), getByToken(), getExistingProduct(), getManyByType(), getProductResolverByIndex(), prefetchAsync(), Principal(), and recombine().
|
private |
Definition at line 292 of file Principal.h.
Referenced by clearPrincipal(), fillPrincipal(), reader(), and recombine().