16 exception <<
"ProductHolderBase::resolveProduct_: The product matching all criteria was already deleted\n"
18 <<
"Looking for module label: " <<
moduleLabel() <<
"\n"
21 <<
"This means there is a configuration error.\n"
22 <<
"The module which is asking for this data must be configured to state that it will read this data.";
60 bool skipCurrentProcess,
63 if (!skipCurrentProcess) {
78 bool skipCurrentProcess,
81 if (!skipCurrentProcess) {
96 bool skipCurrentProcess,
99 if (!skipCurrentProcess) {
119 std::unique_ptr<WrapperBase> edp,
126 assert(edp.get() !=
nullptr);
138 std::unique_ptr<WrapperBase> edp,
164 assert(edp.get() !=
nullptr);
173 std::unique_ptr<WrapperBase> edp,
184 std::unique_ptr<WrapperBase>,
212 <<
"ProductHolderBase::mergeTheProduct\n"
213 <<
"Two run/lumi products for the same run/lumi which should be equal are not\n"
214 <<
"Using the first, ignoring the second\n"
222 <<
"ProductHolderBase::mergeTheProduct\n"
223 <<
"Run/lumi product has neither a mergeProduct nor isProductEqual function\n"
224 <<
"Using the first, ignoring the second in merge\n"
235 if(prod.get() ==
nullptr || !prod->isPresent()) {
340 <<
"ProducedProductHolder::setPrincipal__() not implemented and should never be called.\n"
341 <<
"Contact a Framework developer\n";
370 <<
"It is actually of type " << typeID.className() <<
".\n";
383 os <<
std::string(
"ProductHolder for product with ID: ")
389 std::vector<bool>
const& ambiguous,
391 matchingHolders_(matchingHolders),
392 ambiguous_(ambiguous),
393 principal_(principal) {
399 <<
"NoProcessProductHolder::getProductData() not implemented and should never be called.\n"
400 <<
"Contact a Framework developer\n";
405 <<
"NoProcessProductHolder::getProductData() not implemented and should never be called.\n"
406 <<
"Contact a Framework developer\n";
410 bool skipCurrentProcess,
414 for(
unsigned int k : lookupProcessOrder) {
424 if(pd !=
nullptr)
return pd;
486 <<
"NoProcessProductHolder::setPrincipal__() not implemented and should never be called.\n"
487 <<
"Contact a Framework developer\n";
492 <<
"NoProcessProductHolder::onDemand_() not implemented and should never be called.\n"
493 <<
"Contact a Framework developer\n";
498 <<
"NoProcessProductHolder::productUnavailable_() not implemented and should never be called.\n"
499 <<
"Contact a Framework developer\n";
504 <<
"NoProcessProductHolder::productWasDeleted_() not implemented and should never be called.\n"
505 <<
"Contact a Framework developer\n";
510 <<
"NoProcessProductHolder::putProduct_() not implemented and should never be called.\n"
511 <<
"Contact a Framework developer\n";
516 <<
"NoProcessProductHolder::putProduct_() not implemented and should never be called.\n"
517 <<
"Contact a Framework developer\n";
522 <<
"NoProcessProductHolder::mergeProduct_() not implemented and should never be called.\n"
523 <<
"Contact a Framework developer\n";
528 <<
"NoProcessProductHolder::mergeProduct_() not implemented and should never be called.\n"
529 <<
"Contact a Framework developer\n";
534 <<
"NoProcessProductHolder::putOrMergeProduct_() not implemented and should never be called.\n"
535 <<
"Contact a Framework developer\n";
540 <<
"NoProcessProductHolder::checkType_() not implemented and should never be called.\n"
541 <<
"Contact a Framework developer\n";
546 <<
"NoProcessProductHolder::setProductDeleted_() not implemented and should never be called.\n"
547 <<
"Contact a Framework developer\n";
552 <<
"NoProcessProductHolder::branchDescription_() not implemented and should never be called.\n"
553 <<
"Contact a Framework developer\n";
558 <<
"NoProcessProductHolder::resetBranchDescription_() not implemented and should never be called.\n"
559 <<
"Contact a Framework developer\n";
bool mergeProduct(WrapperBase const *newProduct)
virtual ProductStatus & status_() const =0
std::string const & branchName() const
WrapperBase * product() const
virtual void setPrincipal_(Principal *principal) override
bool provenanceAvailable() const
virtual void resetBranchDescription_(std::shared_ptr< BranchDescription const > bd) override
std::vector< ProductHolderIndex > matchingHolders_
virtual void setProductDeleted_() override
virtual void setProductDeleted_() override
std::type_info const & dynamicTypeInfo() const
void readFromSource(ProductHolderBase const &phb, ModuleCallingContext const *mcc) const
virtual void setProcessHistory_(ProcessHistory const &ph) override
virtual ProductProvenance * productProvenancePtr_() const override
virtual void resetStatus_() override
virtual ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
virtual void setProvenance_(std::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid) override
ProductProvenance * productProvenance() const
NoProcessProductHolder(std::vector< ProductHolderIndex > const &matchingHolders, std::vector< bool > const &ambiguous, Principal *principal)
virtual bool singleProduct_() const override
virtual void checkType_(WrapperBase const &prod) const override
void write(std::ostream &os) const
std::string const & moduleLabel() const
virtual void setPrincipal_(Principal *principal) override
virtual ~SourceProductHolder()
virtual void mergeProduct_(std::unique_ptr< WrapperBase > edp, ProductProvenance &productProvenance) override
virtual bool singleProduct_() const override
Provenance * provenance() const
virtual bool putOrMergeProduct_() const override
BranchDescription const & branchDescription() const
std::string const & className() const
virtual void setProcessHistory_(ProcessHistory const &ph) override
ConstProductHolderPtr getProductHolderByIndex(ProductHolderIndex const &oid) const
virtual void resetProductData_() override
virtual bool productUnavailable_() const override
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
std::vector< unsigned int > const & lookupProcessOrder() const
virtual bool putOrMergeProduct_() const override
virtual ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
virtual void resetProductData_() override
virtual ~ProductHolderBase()
TypeID unwrappedTypeID() const
virtual void setProvenance_(std::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid) override
ProductID const & productID() const
std::shared_ptr< WrapperBase > wrapper_
virtual bool productUnavailable_() const override
bool productWasDeleted() const
ProductData const & productData() const
virtual ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
virtual void mergeProduct_(std::unique_ptr< WrapperBase > edp, ProductProvenance &productProvenance) override
virtual void setProcessHistory_(ProcessHistory const &ph) override
virtual ProductProvenance * productProvenancePtr_() const override
virtual bool onDemand_() const override
void throwProductDeletedException() const
void setProductProvenance(ProductProvenance const &prov) const
eventsetup::produce::Produce produced
void reallyCheckType(WrapperBase const &prod) const
std::string const & processName() const
virtual ~NoProcessProductHolder()
ProductData const * resolveProduct(ResolveStatus &resolveStatus, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
void mergeTheProduct(std::unique_ptr< WrapperBase > edp) const
std::vector< bool > ambiguous_
virtual bool singleProduct_() const override
virtual void swap_(ProductHolderBase &rhs) override
virtual ~AliasProductHolder()
virtual void putProduct_(std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) override
virtual BranchDescription const & branchDescription_() const override
void setProductID(ProductID const &pid)
virtual ~ScheduledProductHolder()
void setStore(std::shared_ptr< ProductProvenanceRetriever > store) const
virtual ~UnscheduledProductHolder()
void setProcessHistory(ProcessHistory const &ph)
virtual void setPrincipal_(Principal *principal) override
ProductStatus & status() const
void setProductProvenance(ProductProvenance const &prov) const
virtual ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
virtual ProductData const & getProductData() const override
virtual void resetProductData_() override
virtual void putProduct_(std::unique_ptr< WrapperBase > edp, ProductProvenance const &productProvenance) override
virtual bool productWasDeleted_() const override
bool hasIsProductEqual() const
virtual ProductProvenance * productProvenancePtr_() const override
TypeID productType() const
virtual void setProvenance_(std::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid) override
virtual bool unscheduledFill(std::string const &moduleLabel, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const =0
bool isProductEqual(WrapperBase const *newProduct) const
virtual bool productWasDeleted_() const override
std::string const & productInstanceName() const
virtual ~ProducedProductHolder()
bool productUnavailable() const