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 if (!skipCurrentProcess) {
76 if (!skipCurrentProcess) {
91 bool skipCurrentProcess,
93 if (!skipCurrentProcess) {
113 std::unique_ptr<WrapperBase> edp,
120 assert(edp.get() !=
nullptr);
132 std::unique_ptr<WrapperBase> edp,
158 assert(edp.get() !=
nullptr);
167 std::unique_ptr<WrapperBase> edp,
178 std::unique_ptr<WrapperBase>,
206 <<
"ProductHolderBase::mergeTheProduct\n"
207 <<
"Two run/lumi products for the same run/lumi which should be equal are not\n"
208 <<
"Using the first, ignoring the second\n"
216 <<
"ProductHolderBase::mergeTheProduct\n"
217 <<
"Run/lumi product has neither a mergeProduct nor isProductEqual function\n"
218 <<
"Using the first, ignoring the second in merge\n"
229 if(prod.get() ==
nullptr || !prod->isPresent()) {
334 <<
"ProducedProductHolder::setPrincipal__() not implemented and should never be called.\n"
335 <<
"Contact a Framework developer\n";
364 <<
"It is actually of type " << typeID.className() <<
".\n";
377 os <<
std::string(
"ProductHolder for product with ID: ")
383 std::vector<bool>
const& ambiguous,
385 matchingHolders_(matchingHolders),
386 ambiguous_(ambiguous),
387 principal_(principal) {
393 <<
"NoProcessProductHolder::getProductData() not implemented and should never be called.\n"
394 <<
"Contact a Framework developer\n";
399 <<
"NoProcessProductHolder::getProductData() not implemented and should never be called.\n"
400 <<
"Contact a Framework developer\n";
404 bool skipCurrentProcess,
407 for(
unsigned int k : lookupProcessOrder) {
417 if(pd !=
nullptr)
return pd;
479 <<
"NoProcessProductHolder::setPrincipal__() not implemented and should never be called.\n"
480 <<
"Contact a Framework developer\n";
485 <<
"NoProcessProductHolder::onDemand_() not implemented and should never be called.\n"
486 <<
"Contact a Framework developer\n";
491 <<
"NoProcessProductHolder::productUnavailable_() not implemented and should never be called.\n"
492 <<
"Contact a Framework developer\n";
497 <<
"NoProcessProductHolder::productWasDeleted_() not implemented and should never be called.\n"
498 <<
"Contact a Framework developer\n";
503 <<
"NoProcessProductHolder::putProduct_() not implemented and should never be called.\n"
504 <<
"Contact a Framework developer\n";
509 <<
"NoProcessProductHolder::putProduct_() not implemented and should never be called.\n"
510 <<
"Contact a Framework developer\n";
515 <<
"NoProcessProductHolder::mergeProduct_() not implemented and should never be called.\n"
516 <<
"Contact a Framework developer\n";
521 <<
"NoProcessProductHolder::mergeProduct_() not implemented and should never be called.\n"
522 <<
"Contact a Framework developer\n";
527 <<
"NoProcessProductHolder::putOrMergeProduct_() not implemented and should never be called.\n"
528 <<
"Contact a Framework developer\n";
533 <<
"NoProcessProductHolder::checkType_() not implemented and should never be called.\n"
534 <<
"Contact a Framework developer\n";
539 <<
"NoProcessProductHolder::setProductDeleted_() not implemented and should never be called.\n"
540 <<
"Contact a Framework developer\n";
545 <<
"NoProcessProductHolder::branchDescription_() not implemented and should never be called.\n"
546 <<
"Contact a Framework developer\n";
551 <<
"NoProcessProductHolder::resetBranchDescription_() not implemented and should never be called.\n"
552 <<
"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 ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, ModuleCallingContext const *mcc) const override
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 void setProvenance_(std::shared_ptr< ProductProvenanceRetriever > provRetriever, ProcessHistory const &ph, ProductID const &pid) override
ProductProvenance * productProvenance() const
ProductData const * resolveProduct(ResolveStatus &resolveStatus, bool skipCurrentProcess, ModuleCallingContext const *mcc) 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
virtual ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, ModuleCallingContext const *mcc) const override
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
virtual bool unscheduledFill(std::string const &moduleLabel, ModuleCallingContext const *mcc) const =0
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 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, 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 ProductData const * resolveProduct_(ResolveStatus &resolveStatus, bool skipCurrentProcess, ModuleCallingContext const *mcc) const override
virtual ~NoProcessProductHolder()
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 & 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
bool isProductEqual(WrapperBase const *newProduct) const
virtual bool productWasDeleted_() const override
std::string const & productInstanceName() const
virtual ~ProducedProductHolder()
bool productUnavailable() const