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()) {
163 e.addContext(
std::string(
"While reading from source ") +
bd.className() +
" " +
bd.moduleLabel() +
" '" +
164 bd.productInstanceName() +
"' " +
bd.processName());
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);
579 info.principal().streamID(),
586 if (not deleteEarly) {
614 <<
"It is actually of type " << typeID.className() <<
".\n";
641 auto presentStatus =
status();
712 : realProduct_(realProduct), productData_(
std::
move(
bd)), prefetchRequested_(
false) {
722 <<
"SwitchBaseProductResolver::connectTo() not implemented and should never be called.\n" 723 <<
"Contact a Framework developer\n";
731 if (
res.data() ==
nullptr)
756 if (not deleteEarly) {
774 bool skipCurrentProcess,
785 bool skipCurrentProcess,
789 if (skipCurrentProcess) {
797 bool expected =
false;
798 bool doPrefetchRequested =
prefetchRequested().compare_exchange_strong(expected,
true);
801 if (doPrefetchRequested) {
807 if (
nullptr != iException) {
822 <<
"This makes no sense for SwitchProducerProductResolver.\nContact a Framework developer";
827 bool expected =
false;
844 if (not deleteEarly) {
850 bool skipCurrentProcess,
858 bool skipCurrentProcess,
862 if (skipCurrentProcess) {
867 bool expected =
false;
868 bool doPrefetchRequested =
prefetchRequested().compare_exchange_strong(expected,
true);
871 if (doPrefetchRequested) {
877 if (
nullptr != iException) {
920 <<
"ParentProcessProductResolver::throwNullRealProduct RealProduct pointer not set in this context.\n" 921 <<
"Contact a Framework developer\n";
925 std::vector<bool>
const& ambiguous,
927 : matchingHolders_(matchingHolders),
928 ambiguous_(ambiguous),
930 lastSkipCurrentCheckIndex_(lastCheckIndex_.
load()),
931 prefetchRequested_(
false),
932 skippingPrefetchRequested_(
false),
933 madeAtEnd_{madeAtEnd} {
934 assert(ambiguous_.size() == matchingHolders_.size());
939 bool skipCurrentProcess,
943 return productResolver->
resolveProduct(principal, skipCurrentProcess, sra, mcc);
947 bool skipCurrentProcess,
952 const unsigned int choiceSize =
ambiguous_.size();
955 if ((not skipCurrentProcess) and (
madeAtEnd_ and mcc)) {
956 skipCurrentProcess = not mcc->parent().isAtEndTransition();
966 return tryResolver(checkCacheIndex, principal, skipCurrentProcess, sra, mcc);
972 for (
unsigned int k : lookupProcessOrder) {
983 updateCacheIndex =
k;
995 bool skipCurrentProcess,
999 bool timeToMakeAtEnd =
true;
1001 timeToMakeAtEnd = mcc->parent().isAtEndTransition();
1005 if (not skipCurrentProcess and timeToMakeAtEnd) {
1007 bool expected =
false;
1011 if (prefetchRequested) {
1017 bool expected =
false;
1027 std::exception_ptr iExceptPtr)
const {
1028 if (not iSkipCurrentProcess) {
1041 unsigned int iResolverIndex,
1045 bool iSkipCurrentProcess,
1047 oneapi::tbb::task_group* iGroup)
1048 : resolver_(iResolver),
1049 principal_(iPrincipal),
1053 serviceToken_(iToken),
1054 index_(iResolverIndex),
1055 skipCurrentProcess_(iSkipCurrentProcess) {}
1057 void execute() final {
1058 auto exceptPtr = exceptionPtr();
1060 resolver_->prefetchFailed(index_, *principal_, skipCurrentProcess_, exceptPtr);
1062 if (not resolver_->dataValidFromResolver(index_, *principal_, skipCurrentProcess_)) {
1063 resolver_->tryPrefetchResolverAsync(
1064 index_ + 1, *principal_, skipCurrentProcess_, sra_, mcc_, serviceToken_.lock(), group_);
1070 NoProcessProductResolver
const* resolver_;
1071 Principal
const* principal_;
1073 ModuleCallingContext
const* mcc_;
1074 oneapi::tbb::task_group* group_;
1075 ServiceWeakToken serviceToken_;
1076 unsigned int index_;
1077 bool skipCurrentProcess_;
1083 bool iSkipCurrentProcess,
1084 std::exception_ptr iExceptPtr)
const {
1085 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1086 auto k = lookupProcessOrder[iProcessingIndex];
1088 setCache(iSkipCurrentProcess,
k, iExceptPtr);
1093 bool iSkipCurrentProcess)
const {
1094 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1095 auto k = lookupProcessOrder[iProcessingIndex];
1099 setCache(iSkipCurrentProcess,
k,
nullptr);
1107 bool skipCurrentProcess,
1111 oneapi::tbb::task_group*
group)
const {
1112 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1113 auto index = iProcessingIndex;
1115 const unsigned int choiceSize =
ambiguous_.size();
1117 while (
index < lookupProcessOrder.size()) {
1118 auto k = lookupProcessOrder[
index];
1130 auto task =
new TryNextResolverWaitingTask(
this,
index, &principal, sra, mcc, skipCurrentProcess,
token,
group);
1137 productResolver->
prefetchAsync(hTask, principal, skipCurrentProcess,
token, sra, mcc);
1143 setCache(skipCurrentProcess, newCacheIndex,
nullptr);
1171 <<
"NoProcessProductResolver::unscheduledWasNotRun_() not implemented and should never be called.\n" 1172 <<
"Contact a Framework developer\n";
1177 <<
"NoProcessProductResolver::productUnavailable_() not implemented and should never be called.\n" 1178 <<
"Contact a Framework developer\n";
1183 <<
"NoProcessProductResolver::productResolved_() not implemented and should never be called.\n" 1184 <<
"Contact a Framework developer\n";
1189 <<
"NoProcessProductResolver::productWasDeleted_() not implemented and should never be called.\n" 1190 <<
"Contact a Framework developer\n";
1195 <<
"NoProcessProductResolver::productWasFetchedAndIsValid_() not implemented and should never be called.\n" 1196 <<
"Contact a Framework developer\n";
1201 <<
"NoProcessProductResolver::branchDescription_() not implemented and should never be called.\n" 1202 <<
"Contact a Framework developer\n";
1207 <<
"NoProcessProductResolver::resetBranchDescription_() not implemented and should never be called.\n" 1208 <<
"Contact a Framework developer\n";
1213 <<
"NoProcessProductResolver::provenance_() not implemented and should never be called.\n" 1214 <<
"Contact a Framework developer\n";
1219 <<
"NoProcessProductResolver::connectTo() not implemented and should never be called.\n" 1220 <<
"Contact a Framework developer\n";
1226 bool skipCurrentProcess,
1232 ->resolveProduct(principal, skipCurrentProcess, sra, mcc);
1237 bool skipCurrentProcess,
1242 ->prefetchAsync(waitTask, principal, skipCurrentProcess,
token, sra, mcc);
1257 <<
"SingleChoiceNoProcessProductResolver::unscheduledWasNotRun_() not implemented and should never be called.\n" 1258 <<
"Contact a Framework developer\n";
1263 <<
"SingleChoiceNoProcessProductResolver::productUnavailable_() not implemented and should never be called.\n" 1264 <<
"Contact a Framework developer\n";
1269 <<
"SingleChoiceNoProcessProductResolver::productResolved_() not implemented and should never be called.\n" 1270 <<
"Contact a Framework developer\n";
1275 <<
"SingleChoiceNoProcessProductResolver::productWasDeleted_() not implemented and should never be called.\n" 1276 <<
"Contact a Framework developer\n";
1281 "implemented and should never be called.\n" 1282 <<
"Contact a Framework developer\n";
1287 <<
"SingleChoiceNoProcessProductResolver::branchDescription_() not implemented and should never be called.\n" 1288 <<
"Contact a Framework developer\n";
1293 "implemented and should never be called.\n" 1294 <<
"Contact a Framework developer\n";
1299 <<
"SingleChoiceNoProcessProductResolver::provenance_() not implemented and should never be called.\n" 1300 <<
"Contact a Framework developer\n";
1305 <<
"SingleChoiceNoProcessProductResolver::connectTo() not implemented and should never be called.\n" 1306 <<
"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
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_
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()
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