#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 |
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 178 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 115 of file Principal.cc.
References addAliasedProduct(), addDelayedReaderInputProduct(), addParentProcessProduct(), addPutOnReadInputProduct(), addScheduledProduct(), addSourceProduct(), addSwitchAliasProduct(), addSwitchProducerProduct(), addTransformProduct(), addUnscheduledProduct(), cms::cuda::assert(), edm::BranchDescription::branchType(), branchType_, spr::find(), mps_fire::i, edm::ProductResolverIndexHelper::IndexAndNames::index(), edm::InEvent, edm::BranchDescription::isAlias(), edm::BranchDescription::isSwitchAlias(), edm::BranchDescription::isTransform(), dqmiolumiharvest::j, dqmdumpme::k, edm::BranchDescription::moduleLabel(), edm::BranchDescription::onDemand(), or, LaserDQM_cfg::process, edm::ProcessConfiguration::processName(), edm::BranchDescription::processName(), dumpMFGeometry_cfg::prod, edm::BranchDescription::produced(), 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 295 of file Principal.cc.
|
private |
Definition at line 354 of file Principal.cc.
References addProductOrThrow(), cms::cuda::assert(), eostools::move(), preg_, edm::ProductResolverIndexInvalid, and productResolvers_.
Referenced by Principal().
|
private |
Definition at line 338 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by adjustIndexesAfterProductRegistryAddition(), and Principal().
|
private |
Definition at line 378 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
|
protected |
Definition at line 530 of file Principal.cc.
References cms::cuda::assert(), edm::BranchDescription::branchID(), edm::BranchDescription::className(), edm::BranchDescription::friendlyClassName(), edm::BranchDescription::moduleLabel(), preg_, edm::BranchDescription::processName(), edm::ProductResolverIndexInvalid, and productResolvers_.
Referenced by addProductOrThrow().
|
protected |
Definition at line 543 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(), addDelayedReaderInputProduct(), addParentProcessProduct(), addPutOnReadInputProduct(), addScheduledProduct(), addSourceProduct(), addSwitchAliasProduct(), addSwitchProducerProduct(), addTransformProduct(), and addUnscheduledProduct().
|
private |
Definition at line 342 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by adjustIndexesAfterProductRegistryAddition(), and Principal().
|
private |
Definition at line 328 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
|
private |
Definition at line 333 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
|
private |
Definition at line 370 of file Principal.cc.
References addProductOrThrow(), cms::cuda::assert(), eostools::move(), preg_, edm::ProductResolverIndexInvalid, and productResolvers_.
Referenced by Principal().
|
private |
Definition at line 362 of file Principal.cc.
References addProductOrThrow(), cms::cuda::assert(), eostools::move(), preg_, edm::ProductResolverIndexInvalid, and productResolvers_.
Referenced by Principal().
|
private |
Definition at line 350 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
|
private |
Definition at line 346 of file Principal.cc.
References addProductOrThrow(), and eostools::move().
Referenced by Principal().
void edm::Principal::adjustIndexesAfterProductRegistryAddition | ( | ) |
Definition at line 873 of file Principal.cc.
References addDelayedReaderInputProduct(), addPutOnReadInputProduct(), cms::cuda::assert(), edm::BranchDescription::branchID(), edm::BranchDescription::branchType(), branchType_, changedIndexes_(), edm::BranchDescription::onDemand(), preg_, dumpMFGeometry_cfg::prod, edm::BranchDescription::produced(), edm::ProductResolverIndexInvalid, and productResolvers_.
Referenced by edm::PrincipalCache::adjustEventsToNewProductRegistry(), and edm::streamer::StreamerInputSource::read().
bool edm::Principal::adjustToNewProductRegistry | ( | ProductRegistry const & | reg | ) |
Definition at line 312 of file Principal.cc.
References edm::BranchDescription::branchType(), branchType_, getExistingProduct(), dumpMFGeometry_cfg::prod, edm::BranchDescription::produced(), edm::ProductRegistry::productList(), and edm::ProductResolverBase::resetBranchDescription().
Referenced by edm::PrincipalCache::adjustEventsToNewProductRegistry(), edm::streamer::StreamerInputSource::read(), and edm::EventProcessor::readAndMergeRun().
|
inlineprotected |
Definition at line 211 of file Principal.h.
References productResolvers_.
Referenced by setupUnscheduled().
|
inline |
Definition at line 154 of file Principal.h.
References productResolvers_.
|
inline |
Definition at line 161 of file Principal.h.
References productResolvers_.
|
inline |
Definition at line 175 of file Principal.h.
References branchType_.
Referenced by edm::PrincipalGetAdapter::branchType(), edm::EDLooperBase::edPrefetchAsync(), edm::Worker::edPrefetchAsync(), findProductByLabel(), edm::Worker::prefetchAsync(), edm::ParentProcessProductResolver::prefetchAsync_(), and edm::ParentProcessProductResolver::resolveProduct_().
|
inline |
Definition at line 179 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 219 of file Principal.h.
Referenced by adjustIndexesAfterProductRegistryAddition().
void edm::Principal::clearPrincipal | ( | ) |
Definition at line 383 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 393 of file Principal.cc.
References cms::cuda::assert(), and getExistingProduct().
|
inline |
Definition at line 157 of file Principal.h.
References productResolvers_.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and edm::EventPrincipal::wasBranchListIndexesChangedFromInput().
|
inline |
Definition at line 164 of file Principal.h.
References productResolvers_.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
void edm::Principal::fillPrincipal | ( | DelayedReader * | reader | ) |
Definition at line 403 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 412 of file Principal.cc.
References Exception, fillPrincipal(), spr::find(), compareTotals::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 489 of file Principal.cc.
References fillPrincipal(), spr::find(), lookupProcessOrder_, productLookup_, and reader().
|
private |
Definition at line 650 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 721 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 761 of file Principal.cc.
References cms::cuda::assert(), branchType_, findProductByLabel(), edm::InProcess, edm::PRODUCT_TYPE, and makeGlobalPositionRcd_cfg::tag.
void edm::Principal::getAllProvenance | ( | std::vector< Provenance const *> & | provenances | ) | const |
Definition at line 796 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 813 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 572 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 597 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 614 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 502 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 506 of file Principal.cc.
References cms::cuda::assert(), preg_, edm::ProductResolverIndexInvalid, and productResolvers_.
|
protected |
Definition at line 512 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 835 of file Principal.cc.
References cms::cuda::assert().
|
inline |
Definition at line 147 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 555 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 563 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 771 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 784 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 852 of file Principal.cc.
References cms::cuda::assert().
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Definition at line 840 of file Principal.cc.
References cms::cuda::assert().
|
overrideprivatevirtual |
Implements edm::EDProductGetter.
Definition at line 846 of file Principal.cc.
References cms::cuda::assert().
|
inline |
Definition at line 191 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 640 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 568 of file Principal.cc.
References Exception, and edm::errors::LogicError.
Referenced by edm::PrincipalGetAdapter::processBlockIndex().
|
inline |
Definition at line 138 of file Principal.h.
References processConfiguration_.
|
inline |
Definition at line 134 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 136 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 142 of file Principal.h.
References productLookup_.
Referenced by findProductByLabel(), and edm::PrincipalGetAdapter::getBranchDescription().
|
inline |
Definition at line 140 of file Principal.h.
References preg_.
Referenced by edm::EventPrincipal::changedIndexes_(), fillPrincipal(), findProductByLabel(), edm::SubProcess::processAsync(), and edm::PrincipalGetAdapter::throwUnregisteredPutException().
|
protected |
Definition at line 861 of file Principal.cc.
References cms::cuda::assert(), edm::BranchDescription::branchID(), Exception, getExistingProduct(), edm::errors::InsertFailure, and eostools::move().
Referenced by edm::LuminosityBlockPrincipal::put(), and edm::RunPrincipal::put().
|
private |
Definition at line 857 of file Principal.cc.
References runTheMatrix::const, eostools::move(), and dumpMFGeometry_cfg::prod.
void edm::Principal::readAllFromSourceAndMergeImmediately | ( | MergeableRunProductMetadata const * | mergeableRunProductMetadata = nullptr | ) |
Definition at line 902 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 181 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 824 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 399 of file Principal.cc.
References applyToResolvers(), and edm::ProductResolverBase::setupUnscheduled().
size_t edm::Principal::size | ( | void | ) | const |
Definition at line 300 of file Principal.cc.
References dumpMFGeometry_cfg::prod, and mitigatedMETSequence_cff::U.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), edm::streamer::StreamerInputSource::read(), edm::OccurrenceForOutput::size(), and edm::Event::size().
|
private |
Definition at line 282 of file Principal.h.
Referenced by adjustIndexesAfterProductRegistryAddition(), adjustToNewProductRegistry(), branchType(), findProductByTag(), getByLabel(), and Principal().
|
private |
Definition at line 289 of file Principal.h.
Referenced by cacheIdentifier(), and fillPrincipal().
|
private |
Definition at line 287 of file Principal.h.
Referenced by fillPrincipal().
|
private |
Definition at line 275 of file Principal.h.
Referenced by fillPrincipal(), and lookupProcessOrder().
|
private |
Definition at line 276 of file Principal.h.
Referenced by fillPrincipal().
|
private |
Definition at line 272 of file Principal.h.
Referenced by addAliasedProduct(), addProduct_(), addSwitchAliasProduct(), addSwitchProducerProduct(), adjustIndexesAfterProductRegistryAddition(), findProductByLabel(), getExistingProduct(), getProductResolver(), productRegistry(), and recombine().
|
private |
Definition at line 265 of file Principal.h.
Referenced by fillPrincipal(), findProductByLabel(), getByLabel(), and processConfiguration().
|
private |
Definition at line 262 of file Principal.h.
Referenced by fillPrincipal(), and processHistoryID().
|
private |
Definition at line 263 of file Principal.h.
Referenced by fillPrincipal().
|
private |
Definition at line 260 of file Principal.h.
Referenced by fillPrincipal(), and processHistory().
|
private |
Definition at line 273 of file Principal.h.
Referenced by fillPrincipal(), Principal(), and productLookup().
|
private |
Definition at line 268 of file Principal.h.
Referenced by addAliasedProduct(), addProduct_(), addSwitchAliasProduct(), addSwitchProducerProduct(), adjustIndexesAfterProductRegistryAddition(), applyToResolvers(), begin(), end(), findProductByLabel(), getByToken(), getExistingProduct(), getProductResolverByIndex(), prefetchAsync(), Principal(), and recombine().
|
private |
Definition at line 280 of file Principal.h.
Referenced by clearPrincipal(), fillPrincipal(), reader(), and recombine().