35 exception <<
"DataManagingProductResolver::resolveProduct_: The product matching all criteria was already deleted\n" 37 <<
"Looking for module label: " <<
moduleLabel() <<
"\n" 40 <<
"This means there is a configuration error.\n" 41 <<
"The module which is asking for this data must be configured to state that it will read this data.";
46 template <
bool callResolver,
typename FUNC>
51 auto presentStatus =
status();
56 auto failedStatusSetter = [
this](
ProductStatus* iPresentStatus) {
60 *iPresentStatus = this->
status();
62 std::unique_ptr<ProductStatus, decltype(failedStatusSetter)> failedStatusGuard(&presentStatus,
71 if (pd->wrapper()->isPresent()) {
96 if (
original->isPresent() != iFrom->isPresent()) {
99 <<
"Was trying to merge objects where one product had been put in the input file and the other had not " 102 <<
"The solution is to drop the branch on input. Or better do not create inconsistent files\n" 103 <<
"that need to be merged in the first place.\n";
107 if (mergeableRunProductMetadata ==
nullptr ||
desc.branchType() !=
InRun) {
108 original->mergeProduct(iFrom.get());
113 original->mergeProduct(iFrom.get());
128 }
else if (
original->hasIsProductEqual()) {
129 if (
original->isPresent() && iFrom->isPresent()) {
130 if (!
original->isProductEqual(iFrom.get())) {
133 <<
"ProductResolver::mergeTheProduct\n" 134 <<
"Two run/lumi products for the same run/lumi which should be equal are not\n" 135 <<
"Using the first, ignoring the second\n" 136 <<
"className = " << bd.className() <<
"\n" 137 <<
"moduleLabel = " << bd.moduleLabel() <<
"\n" 138 <<
"instance = " << bd.productInstanceName() <<
"\n" 139 <<
"process = " << bd.processName() <<
"\n";
141 }
else if (!
original->isPresent() && iFrom->isPresent()) {
147 edm::LogWarning(
"RunLumiMerging") <<
"ProductResolver::mergeTheProduct\n" 148 <<
"Run/lumi product has neither a mergeProduct nor isProductEqual function\n" 149 <<
"Using the first, ignoring the second in merge\n" 150 <<
"className = " << bd.className() <<
"\n" 151 <<
"moduleLabel = " << bd.moduleLabel() <<
"\n" 152 <<
"instance = " << bd.productInstanceName() <<
"\n" 153 <<
"process = " << bd.processName() <<
"\n";
154 if (!
original->isPresent() && iFrom->isPresent()) {
172 return resolveProductImpl<true>([
this, &principal, mcc]() {
173 auto branchType = principal.branchType();
189 if (
auto reader = principal.reader()) {
190 std::unique_lock<std::recursive_mutex> guard;
191 if (
auto sr =
reader->sharedResources().second) {
192 guard = std::unique_lock<std::recursive_mutex>(*sr);
214 std::unique_lock<std::recursive_mutex> guard;
215 if (
auto sr =
reader->sharedResources().second) {
216 guard = std::unique_lock<std::recursive_mutex>(*sr);
223 if (edp.get() !=
nullptr) {
228 <<
"Mergeable data types written to a Run must have the swap member function defined" 237 <<
"The product branch was dropped in the first run or lumi fragment and present in a later one" 239 <<
"The solution is to drop the branch on input. Or better do not create inconsistent files\n" 240 <<
"that need to be merged in the first place.\n";
247 <<
"The product branch was present in first run or lumi fragment and dropped in a later one" 249 <<
"The solution is to drop the branch on input. Or better do not create inconsistent files\n" 250 <<
"that need to be merged in the first place.\n";
273 bool skipCurrentProcess,
278 bool expected =
false;
282 if (prefetchRequested) {
284 auto workToDo = [
this, mcc, &principal, weakToken]() {
289 resolveProductImpl<true>([
this, &principal, mcc]() {
290 if (principal.branchType() !=
InEvent && principal.branchType() !=
InProcess) {
293 if (
auto reader = principal.reader()) {
294 std::unique_lock<std::recursive_mutex> guard;
295 if (
auto sr =
reader->sharedResources().second) {
296 guard = std::unique_lock<std::recursive_mutex>(*sr);
321 if (
auto reader = principal.reader()) {
322 if (
auto shared_res =
reader->sharedResources().first) {
323 queue = &(shared_res->serialQueueChain());
331 waitTask.
group()->run([
t]() {
340 if (not deleteEarly) {
365 bool skipCurrentProcess,
368 return resolveProductImpl<false>([]() {
return; });
373 bool skipCurrentProcess,
383 bool skipCurrentProcess,
386 if (!skipCurrentProcess) {
388 return resolveProductImpl<false>([]() {
return; });
395 bool skipCurrentProcess,
399 if (not skipCurrentProcess) {
436 bool skipCurrentProcess,
439 if (!skipCurrentProcess and
worker_) {
440 return resolveProductImpl<false>([] {});
447 bool skipCurrentProcess,
451 if (skipCurrentProcess) {
455 throw cms::Exception(
"LogicError") <<
"UnscheduledProductResolver::prefetchAsync_() called with null worker_. " 456 "This should not happen, please contact framework developers.";
459 bool expected =
false;
462 if (prefetchRequested) {
470 resolveProductImpl<true>([iPtr]() {
472 std::rethrow_exception(*iPtr);
488 info.principal().streamID(),
495 if (not deleteEarly) {
513 bool skipCurrentProcess,
516 if (!skipCurrentProcess and
worker_) {
517 return resolveProductImpl<false>([] {});
535 bool skipCurrentProcess,
539 if (skipCurrentProcess) {
543 throw cms::Exception(
"LogicError") <<
"TransformingProductResolver::prefetchAsync_() called with null worker_. " 544 "This should not happen, please contact framework developers.";
547 bool expected =
false;
550 if (prefetchRequested) {
558 resolveProductImpl<true>([iPtr]() {
560 std::rethrow_exception(*iPtr);
580 info.principal().streamID(),
587 if (not deleteEarly) {
615 <<
"It is actually of type " << typeID.className() <<
".\n";
642 auto presentStatus =
status();
713 : realProduct_(realProduct), productData_(
std::
move(bd)), prefetchRequested_(
false) {
723 <<
"SwitchBaseProductResolver::connectTo() not implemented and should never be called.\n" 724 <<
"Contact a Framework developer\n";
732 if (
res.data() ==
nullptr)
757 if (not deleteEarly) {
775 bool skipCurrentProcess,
786 bool skipCurrentProcess,
790 if (skipCurrentProcess) {
798 bool expected =
false;
799 bool doPrefetchRequested =
prefetchRequested().compare_exchange_strong(expected,
true);
802 if (doPrefetchRequested) {
808 if (
nullptr != iException) {
823 <<
"This makes no sense for SwitchProducerProductResolver.\nContact a Framework developer";
828 bool expected =
false;
845 if (not deleteEarly) {
851 bool skipCurrentProcess,
859 bool skipCurrentProcess,
863 if (skipCurrentProcess) {
868 bool expected =
false;
869 bool doPrefetchRequested =
prefetchRequested().compare_exchange_strong(expected,
true);
872 if (doPrefetchRequested) {
878 if (
nullptr != iException) {
921 <<
"ParentProcessProductResolver::throwNullRealProduct RealProduct pointer not set in this context.\n" 922 <<
"Contact a Framework developer\n";
926 std::vector<bool>
const& ambiguous,
928 : matchingHolders_(matchingHolders),
929 ambiguous_(ambiguous),
931 lastSkipCurrentCheckIndex_(lastCheckIndex_.
load()),
932 prefetchRequested_(
false),
933 skippingPrefetchRequested_(
false),
934 madeAtEnd_{madeAtEnd} {
935 assert(ambiguous_.size() == matchingHolders_.size());
940 bool skipCurrentProcess,
944 return productResolver->
resolveProduct(principal, skipCurrentProcess, sra, mcc);
948 bool skipCurrentProcess,
953 const unsigned int choiceSize =
ambiguous_.size();
956 if ((not skipCurrentProcess) and (
madeAtEnd_ and mcc)) {
957 skipCurrentProcess = not mcc->parent().isAtEndTransition();
967 return tryResolver(checkCacheIndex, principal, skipCurrentProcess, sra, mcc);
973 for (
unsigned int k : lookupProcessOrder) {
984 updateCacheIndex =
k;
996 bool skipCurrentProcess,
1000 bool timeToMakeAtEnd =
true;
1002 timeToMakeAtEnd = mcc->parent().isAtEndTransition();
1006 if (not skipCurrentProcess and timeToMakeAtEnd) {
1008 bool expected =
false;
1012 if (prefetchRequested) {
1018 bool expected =
false;
1028 std::exception_ptr iExceptPtr)
const {
1029 if (not iSkipCurrentProcess) {
1042 unsigned int iResolverIndex,
1046 bool iSkipCurrentProcess,
1048 oneapi::tbb::task_group* iGroup)
1049 : resolver_(iResolver),
1050 principal_(iPrincipal),
1054 serviceToken_(iToken),
1055 index_(iResolverIndex),
1056 skipCurrentProcess_(iSkipCurrentProcess) {}
1058 void execute() final {
1059 auto exceptPtr = exceptionPtr();
1061 resolver_->prefetchFailed(index_, *principal_, skipCurrentProcess_, exceptPtr);
1063 if (not resolver_->dataValidFromResolver(index_, *principal_, skipCurrentProcess_)) {
1064 resolver_->tryPrefetchResolverAsync(
1065 index_ + 1, *principal_, skipCurrentProcess_, sra_, mcc_, serviceToken_.lock(), group_);
1071 NoProcessProductResolver
const* resolver_;
1072 Principal
const* principal_;
1074 ModuleCallingContext
const* mcc_;
1075 oneapi::tbb::task_group* group_;
1076 ServiceWeakToken serviceToken_;
1077 unsigned int index_;
1078 bool skipCurrentProcess_;
1084 bool iSkipCurrentProcess,
1085 std::exception_ptr iExceptPtr)
const {
1086 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1087 auto k = lookupProcessOrder[iProcessingIndex];
1089 setCache(iSkipCurrentProcess,
k, iExceptPtr);
1094 bool iSkipCurrentProcess)
const {
1095 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1096 auto k = lookupProcessOrder[iProcessingIndex];
1100 setCache(iSkipCurrentProcess,
k,
nullptr);
1108 bool skipCurrentProcess,
1112 oneapi::tbb::task_group*
group)
const {
1113 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1114 auto index = iProcessingIndex;
1116 const unsigned int choiceSize =
ambiguous_.size();
1118 while (
index < lookupProcessOrder.size()) {
1119 auto k = lookupProcessOrder[
index];
1131 auto task =
new TryNextResolverWaitingTask(
this,
index, &principal, sra, mcc, skipCurrentProcess,
token,
group);
1138 productResolver->
prefetchAsync(hTask, principal, skipCurrentProcess,
token, sra, mcc);
1144 setCache(skipCurrentProcess, newCacheIndex,
nullptr);
1172 <<
"NoProcessProductResolver::unscheduledWasNotRun_() not implemented and should never be called.\n" 1173 <<
"Contact a Framework developer\n";
1178 <<
"NoProcessProductResolver::productUnavailable_() not implemented and should never be called.\n" 1179 <<
"Contact a Framework developer\n";
1184 <<
"NoProcessProductResolver::productResolved_() not implemented and should never be called.\n" 1185 <<
"Contact a Framework developer\n";
1190 <<
"NoProcessProductResolver::productWasDeleted_() not implemented and should never be called.\n" 1191 <<
"Contact a Framework developer\n";
1196 <<
"NoProcessProductResolver::productWasFetchedAndIsValid_() not implemented and should never be called.\n" 1197 <<
"Contact a Framework developer\n";
1202 <<
"NoProcessProductResolver::branchDescription_() not implemented and should never be called.\n" 1203 <<
"Contact a Framework developer\n";
1208 <<
"NoProcessProductResolver::resetBranchDescription_() not implemented and should never be called.\n" 1209 <<
"Contact a Framework developer\n";
1214 <<
"NoProcessProductResolver::provenance_() not implemented and should never be called.\n" 1215 <<
"Contact a Framework developer\n";
1220 <<
"NoProcessProductResolver::connectTo() not implemented and should never be called.\n" 1221 <<
"Contact a Framework developer\n";
1227 bool skipCurrentProcess,
1233 ->resolveProduct(principal, skipCurrentProcess, sra, mcc);
1238 bool skipCurrentProcess,
1243 ->prefetchAsync(waitTask, principal, skipCurrentProcess,
token, sra, mcc);
1258 <<
"SingleChoiceNoProcessProductResolver::unscheduledWasNotRun_() not implemented and should never be called.\n" 1259 <<
"Contact a Framework developer\n";
1264 <<
"SingleChoiceNoProcessProductResolver::productUnavailable_() not implemented and should never be called.\n" 1265 <<
"Contact a Framework developer\n";
1270 <<
"SingleChoiceNoProcessProductResolver::productResolved_() not implemented and should never be called.\n" 1271 <<
"Contact a Framework developer\n";
1276 <<
"SingleChoiceNoProcessProductResolver::productWasDeleted_() not implemented and should never be called.\n" 1277 <<
"Contact a Framework developer\n";
1282 "implemented and should never be called.\n" 1283 <<
"Contact a Framework developer\n";
1288 <<
"SingleChoiceNoProcessProductResolver::branchDescription_() not implemented and should never be called.\n" 1289 <<
"Contact a Framework developer\n";
1294 "implemented and should never be called.\n" 1295 <<
"Contact a Framework developer\n";
1300 <<
"SingleChoiceNoProcessProductResolver::provenance_() not implemented and should never be called.\n" 1301 <<
"Contact a Framework developer\n";
1306 <<
"SingleChoiceNoProcessProductResolver::connectTo() not implemented and should never be called.\n" 1307 <<
"Contact a Framework developer\n";
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) override
void connectTo(ProductResolverBase const &iOther, Principal const *) final
void setProductID(ProductID const &pid)
ProductData const & getProductData() const final
ProductProvenance const * productProvenancePtr_() const override
BranchDescription const & branchDescription_() const override
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) final
std::string const & productInstanceName() const
std::unique_ptr< T, F > make_sentry(T *iObject, F iFunc)
NOTE: if iObject is null, then iFunc will not be called.
void resetProductData_(bool deleteEarly) override
bool productWasDeleted_() const override
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
static constexpr unsigned int kAmbiguousOffset
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const final
bool singleProduct_() const override
void exceptionContext(cms::Exception &, ESModuleCallingContext const &)
unsigned int ProductResolverIndex
ProductProvenance const * productProvenance() const
static constexpr unsigned int kMissingOffset
std::vector< unsigned int > const & lookupProcessOrder() const
std::shared_ptr< BranchDescription const > bd_
Provenance const & provenance() const
void resetProductData_(bool deleteEarly) override
GlobalContext const * globalContext() const
BranchType const & branchType() const
void setProductID_(ProductID const &pid) final
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) override
Worker * findWorker(std::string const &iLabel) const
void putProduct(std::unique_ptr< WrapperBase > edp) const final
bool dataValidFromResolver(unsigned int iProcessingIndex, Principal const &principal, bool iSkipCurrentProcess) const
void checkType(WrapperBase const &prod) const
std::atomic< bool > prefetchRequested_
ProductStatus status() const
void resetProductData_(bool deleteEarly) final
WaitingTaskList & waitingTasks() const
Resolution resolveProduct(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
void doWorkAsync(WaitingTaskHolder, typename T::TransitionInfoType const &, ServiceToken const &, StreamID, ParentContext const &, typename T::Context const *)
Provenance const * provenance() const
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const final
TypeID unwrappedTypeID() const
std::string const & processName() const
bool singleProduct_() const final
WaitingTaskList skippingWaitingTasks_
SwitchProducerProductResolver(std::shared_ptr< BranchDescription const > bd, DataManagingOrAliasProductResolver &realProduct)
void resetProductData_(bool deleteEarly) override
void setFailedStatus() const
bool productWasFetchedAndIsValid_(bool iSkipCurrentProcess) const override
bool unscheduledWasNotRun_() const override
bool singleProduct_() const override
Log< level::Error, false > LogError
bool productUnavailable_() const override
TypeWithDict const & unwrappedType() const
bool isAtEndTransition() const
void reset()
Resets access to the resource so that added tasks will wait.
ProductProvenanceRetriever const * provRetriever_
void connectTo(ProductResolverBase const &iOther, Principal const *) final
std::string const & processName() const
ProductData const & getProductData() const final
WrapperBase const * wrapper() const
void resetProductData_(bool deleteEarly) override
WaitingTaskList waitingTasks_
void connectTo(ProductResolverBase const &, Principal const *) final
void setProductID(ProductID const &pid)
DataManagingOrAliasProductResolver & realProduct_
bool productUnavailable_() const final
WaitingTaskList * waitingTasks_
ProductProvenance const * productProvenancePtr_() const override
bool productResolved() const
WaitingTaskList waitingTasks_
oneapi::tbb::task_group * group() const noexcept
bool singleProduct_() const override
void emit(Args &&... args) const
ProductProvenanceLookup const * store() const
void doTransformAsync(WaitingTaskHolder, size_t iTransformIndex, EventPrincipal const &, ServiceToken const &, StreamID, ModuleCallingContext const &, StreamContext const *)
void setProductID_(ProductID const &pid) override
UnscheduledAuxiliary const * aux_
void doneWaiting(std::exception_ptr iPtr)
Signals that the resource is now available and tasks should be spawned.
void tryPrefetchResolverAsync(unsigned int iProcessingIndex, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc, ServiceToken token, oneapi::tbb::task_group *) const
bool productWasDeleted_() const final
virtual bool isFromCurrentProcess() const =0
void setupUnscheduled(UnscheduledConfigurator const &iConfigure) final
bool productUnavailable() const
std::string const & moduleLabel() const
bool productResolved_() const final
SwitchBaseProductResolver(std::shared_ptr< BranchDescription const > bd, DataManagingOrAliasProductResolver &realProduct)
std::string const & className() const
ProductProvenance const * productProvenancePtr_() const final
void throwNullRealProduct() const
std::string const & branchName() const
std::atomic< unsigned int > lastSkipCurrentCheckIndex_
std::atomic< bool > prefetchRequested_
std::string const & productInstanceName() const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
DataManagingOrAliasProductResolver const & realProduct() const
bool productWasFetchedAndIsValid_(bool iSkipCurrentProcess) const final
void resetProductData_(bool deleteEarly) override
void add(oneapi::tbb::task_group *, WaitingTask *)
Adds task to the waiting list.
void resetProductData_(bool deleteEarly) override
void unsafe_setWrapperAndProvenance() const
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
bool isFromCurrentProcess() const final
bool productResolved_() const final
bool productWasFetchedAndIsValid(bool iSkipCurrentProcess) const
static constexpr const ProductStatus defaultStatus_
FunctorWaitingTask< F > * make_waiting_task(F f)
std::atomic< bool > prefetchRequested_
std::atomic< unsigned int > lastCheckIndex_
void callWhenDoneAsync(WaitingTaskHolder task)
void setProductID_(ProductID const &pid) override
ProductProvenance const * branchIDToProvenance(BranchID const &bid) const
void setMergeableRunProductMetadata(MergeableRunProductMetadataBase const *mrpm)
ProductProvenance const * productProvenancePtr_() const override
WrapperBase * unsafe_wrapper() const
void setProductID_(ProductID const &pid) final
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
ServiceToken lock() const
void prefetchAsync(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
virtual size_t transformIndex(edm::BranchDescription const &) const =0
void setCache(bool skipCurrentProcess, ProductResolverIndex index, std::exception_ptr exceptionPtr) const
NoProcessProductResolver(std::vector< ProductResolverIndex > const &matchingHolders, std::vector< bool > const &ambiguous, bool madeAtEnd)
std::atomic< bool > skippingPrefetchRequested_
Resolution resolveProductImpl(Resolution) const
std::atomic< ProductStatus > theStatus_
ModuleDescription const * description() const
std::vector< bool > ambiguous_
std::type_info const & unvalidatedTypeInfo() const
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) override
static constexpr unsigned int kUnsetOffset
bool productResolved_() const final
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) override
Provenance const * provenance_() const override
bool singleProduct_() const override
void setupUnscheduled(UnscheduledConfigurator const &) final
void setMergeableRunProductMetadataInProductData(MergeableRunProductMetadata const *)
void setProvenance(ProductProvenanceLookup const *provRetriever)
FunctorTask< F > * make_functor_task(F f)
ProductStatus defaultStatus() const
BranchDescription const & branchDescription() const
void prefetchFailed(unsigned int iProcessingIndex, Principal const &principal, bool iSkipCurrentProcess, std::exception_ptr iExceptPtr) const
void setProductID_(ProductID const &pid) override
DataManagingOrAliasProductResolver & realProduct_
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> preModuleDelayedGetSignal_
Transition transition() const
std::vector< ProductResolverIndex > matchingHolders_
Resolution tryResolver(unsigned int index, Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
bool availableOnlyAtEndTransition() const
unsigned int unsetIndexValue() const
StreamContext const * getStreamContext() const
bool unscheduledWasNotRun_() const override
void setProduct(std::unique_ptr< WrapperBase > edp) const
void unsafe_setWrapper(std::unique_ptr< WrapperBase > iValue) const
Provenance const * provenance_() const override
bool productWasDeleted_() const override
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
void setupUnscheduled(UnscheduledConfigurator const &) final
Resolution resolveProductImpl(FUNC resolver) const
void resetProductData_(bool deleteEarly) override=0
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const final
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
Log< level::Warning, false > LogWarning
void resetProductData_(bool deleteEarly) override
signalslot::Signal< void(StreamContext const &, ModuleCallingContext const &)> postModuleDelayedGetSignal_
UnscheduledAuxiliary const * auxiliary() const
bool productResolved_() const final
bool productWasDeleted() const
std::atomic< bool > & prefetchRequested() const
static ParentageRegistry * instance()
bool productUnavailable_() const override
BranchDescription const & branchDescription_() const override
EventTransitionInfo const & eventTransitionInfo() const
bool productWasFetchedAndIsValid_(bool iSkipCurrentProcess) const override
void throwProductDeletedException() const
ConstProductResolverPtr getProductResolverByIndex(ProductResolverIndex const &oid) const
static Resolution makeAmbiguous()
std::string const & moduleLabel() const
void setProductID_(ProductID const &pid) override
ProductProvenance const * productProvenancePtr_() const override
void prefetchAsync_(WaitingTaskHolder waitTask, Principal const &principal, bool skipCurrentProcess, ServiceToken const &token, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const final
void resetBranchDescription_(std::shared_ptr< BranchDescription const > bd) override
WaitingTaskList waitingTasks_
bool insertMapped(value_type const &v)
void resetBranchDescription_(std::shared_ptr< BranchDescription const > bd) override
void setProductProvenanceRetriever_(ProductProvenanceRetriever const *provRetriever) final
DelayedReader * reader() const
void putProduct(std::unique_ptr< WrapperBase > edp) const override
void setProductProvenanceRetriever(ProductProvenanceRetriever const *provRetriever)
bool productUnavailable_() const final
void insertIntoSet(ProductProvenance provenanceProduct) const
static HepMC::HEPEVT_Wrapper wrapper
ProductResolverIndex realResolverIndex_
ParentContext const & parent() const
BranchID const & originalBranchID() const
Resolution resolveProduct_(Principal const &principal, bool skipCurrentProcess, SharedResourcesAcquirer *sra, ModuleCallingContext const *mcc) const override
void connectTo(ProductResolverBase const &iOther, Principal const *iParentPrincipal) final