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());
173 return resolveProductImpl<true>([
this, &principal, mcc]() {
174 auto branchType = principal.branchType();
190 if (
auto reader = principal.reader()) {
191 std::unique_lock<std::recursive_mutex> guard;
192 if (
auto sr =
reader->sharedResources().second) {
193 guard = std::unique_lock<std::recursive_mutex>(*sr);
213 std::unique_lock<std::recursive_mutex> guard;
214 if (
auto sr =
reader->sharedResources().second) {
215 guard = std::unique_lock<std::recursive_mutex>(*sr);
222 if (edp.get() !=
nullptr) {
227 <<
"Mergeable data types written to a Run must have the swap member function defined" 236 <<
"The product branch was dropped in the first run or lumi fragment and present in a later one" 238 <<
"The solution is to drop the branch on input. Or better do not create inconsistent files\n" 239 <<
"that need to be merged in the first place.\n";
246 <<
"The product branch was present in first run or lumi fragment and dropped in a later one" 248 <<
"The solution is to drop the branch on input. Or better do not create inconsistent files\n" 249 <<
"that need to be merged in the first place.\n";
272 bool skipCurrentProcess,
277 bool expected =
false;
281 if (prefetchRequested) {
283 auto workToDo = [
this, mcc, &principal, weakToken]() {
288 resolveProductImpl<true>([
this, &principal, mcc]() {
289 if (principal.branchType() !=
InEvent && principal.branchType() !=
InProcess) {
292 if (
auto reader = principal.reader()) {
293 std::unique_lock<std::recursive_mutex> guard;
294 if (
auto sr =
reader->sharedResources().second) {
295 guard = std::unique_lock<std::recursive_mutex>(*sr);
318 if (
auto reader = principal.reader()) {
319 if (
auto shared_res =
reader->sharedResources().first) {
320 queue = &(shared_res->serialQueueChain());
328 waitTask.
group()->run([
t]() {
337 if (not deleteEarly) {
362 bool skipCurrentProcess,
365 return resolveProductImpl<false>([]() {
return; });
370 bool skipCurrentProcess,
380 bool skipCurrentProcess,
383 if (!skipCurrentProcess) {
385 return resolveProductImpl<false>([]() {
return; });
392 bool skipCurrentProcess,
396 if (not skipCurrentProcess) {
433 bool skipCurrentProcess,
436 if (!skipCurrentProcess and
worker_) {
437 return resolveProductImpl<false>([] {});
444 bool skipCurrentProcess,
448 if (skipCurrentProcess) {
452 throw cms::Exception(
"LogicError") <<
"UnscheduledProductResolver::prefetchAsync_() called with null worker_. " 453 "This should not happen, please contact framework developers.";
456 bool expected =
false;
459 if (prefetchRequested) {
467 resolveProductImpl<true>([iPtr]() {
469 std::rethrow_exception(*iPtr);
485 info.principal().streamID(),
492 if (not deleteEarly) {
510 bool skipCurrentProcess,
513 if (!skipCurrentProcess and
worker_) {
514 return resolveProductImpl<false>([] {});
521 bool skipCurrentProcess,
525 if (skipCurrentProcess) {
529 throw cms::Exception(
"LogicError") <<
"TransformingProductResolver::prefetchAsync_() called with null worker_. " 530 "This should not happen, please contact framework developers.";
533 bool expected =
false;
536 if (prefetchRequested) {
544 resolveProductImpl<true>([iPtr]() {
546 std::rethrow_exception(*iPtr);
565 info.principal().streamID(),
572 if (not deleteEarly) {
600 <<
"It is actually of type " << typeID.className() <<
".\n";
627 auto presentStatus =
status();
698 : realProduct_(realProduct), productData_(
std::
move(
bd)), prefetchRequested_(
false) {
708 <<
"SwitchBaseProductResolver::connectTo() not implemented and should never be called.\n" 709 <<
"Contact a Framework developer\n";
717 if (
res.data() ==
nullptr)
742 if (not deleteEarly) {
760 bool skipCurrentProcess,
771 bool skipCurrentProcess,
775 if (skipCurrentProcess) {
783 bool expected =
false;
784 bool doPrefetchRequested =
prefetchRequested().compare_exchange_strong(expected,
true);
787 if (doPrefetchRequested) {
793 if (
nullptr != iException) {
808 <<
"This makes no sense for SwitchProducerProductResolver.\nContact a Framework developer";
813 bool expected =
false;
830 if (not deleteEarly) {
836 bool skipCurrentProcess,
844 bool skipCurrentProcess,
848 if (skipCurrentProcess) {
853 bool expected =
false;
854 bool doPrefetchRequested =
prefetchRequested().compare_exchange_strong(expected,
true);
857 if (doPrefetchRequested) {
863 if (
nullptr != iException) {
906 <<
"ParentProcessProductResolver::throwNullRealProduct RealProduct pointer not set in this context.\n" 907 <<
"Contact a Framework developer\n";
911 std::vector<bool>
const& ambiguous,
913 : matchingHolders_(matchingHolders),
914 ambiguous_(ambiguous),
916 lastSkipCurrentCheckIndex_(lastCheckIndex_.
load()),
917 prefetchRequested_(
false),
918 skippingPrefetchRequested_(
false),
919 madeAtEnd_{madeAtEnd} {
920 assert(ambiguous_.size() == matchingHolders_.size());
925 bool skipCurrentProcess,
929 return productResolver->
resolveProduct(principal, skipCurrentProcess, sra, mcc);
933 bool skipCurrentProcess,
938 const unsigned int choiceSize =
ambiguous_.size();
941 if ((not skipCurrentProcess) and (
madeAtEnd_ and mcc)) {
942 skipCurrentProcess = not mcc->parent().isAtEndTransition();
952 return tryResolver(checkCacheIndex, principal, skipCurrentProcess, sra, mcc);
958 for (
unsigned int k : lookupProcessOrder) {
969 updateCacheIndex =
k;
981 bool skipCurrentProcess,
985 bool timeToMakeAtEnd =
true;
987 timeToMakeAtEnd = mcc->parent().isAtEndTransition();
991 if (not skipCurrentProcess and timeToMakeAtEnd) {
993 bool expected =
false;
997 if (prefetchRequested) {
1003 bool expected =
false;
1013 std::exception_ptr iExceptPtr)
const {
1014 if (not iSkipCurrentProcess) {
1027 unsigned int iResolverIndex,
1031 bool iSkipCurrentProcess,
1033 oneapi::tbb::task_group* iGroup)
1034 : resolver_(iResolver),
1035 principal_(iPrincipal),
1039 serviceToken_(iToken),
1040 index_(iResolverIndex),
1041 skipCurrentProcess_(iSkipCurrentProcess) {}
1043 void execute() final {
1044 auto exceptPtr = exceptionPtr();
1046 resolver_->prefetchFailed(index_, *principal_, skipCurrentProcess_, exceptPtr);
1048 if (not resolver_->dataValidFromResolver(index_, *principal_, skipCurrentProcess_)) {
1049 resolver_->tryPrefetchResolverAsync(
1050 index_ + 1, *principal_, skipCurrentProcess_, sra_, mcc_, serviceToken_.lock(), group_);
1056 NoProcessProductResolver
const* resolver_;
1057 Principal
const* principal_;
1059 ModuleCallingContext
const* mcc_;
1060 oneapi::tbb::task_group* group_;
1061 ServiceWeakToken serviceToken_;
1062 unsigned int index_;
1063 bool skipCurrentProcess_;
1069 bool iSkipCurrentProcess,
1070 std::exception_ptr iExceptPtr)
const {
1071 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1072 auto k = lookupProcessOrder[iProcessingIndex];
1074 setCache(iSkipCurrentProcess,
k, iExceptPtr);
1079 bool iSkipCurrentProcess)
const {
1080 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1081 auto k = lookupProcessOrder[iProcessingIndex];
1085 setCache(iSkipCurrentProcess,
k,
nullptr);
1093 bool skipCurrentProcess,
1097 oneapi::tbb::task_group*
group)
const {
1098 std::vector<unsigned int>
const& lookupProcessOrder = principal.
lookupProcessOrder();
1099 auto index = iProcessingIndex;
1101 const unsigned int choiceSize =
ambiguous_.size();
1103 while (
index < lookupProcessOrder.size()) {
1104 auto k = lookupProcessOrder[
index];
1116 auto task =
new TryNextResolverWaitingTask(
this,
index, &principal, sra, mcc, skipCurrentProcess,
token,
group);
1123 productResolver->
prefetchAsync(hTask, principal, skipCurrentProcess,
token, sra, mcc);
1129 setCache(skipCurrentProcess, newCacheIndex,
nullptr);
1157 <<
"NoProcessProductResolver::unscheduledWasNotRun_() not implemented and should never be called.\n" 1158 <<
"Contact a Framework developer\n";
1163 <<
"NoProcessProductResolver::productUnavailable_() not implemented and should never be called.\n" 1164 <<
"Contact a Framework developer\n";
1169 <<
"NoProcessProductResolver::productResolved_() not implemented and should never be called.\n" 1170 <<
"Contact a Framework developer\n";
1175 <<
"NoProcessProductResolver::productWasDeleted_() not implemented and should never be called.\n" 1176 <<
"Contact a Framework developer\n";
1181 <<
"NoProcessProductResolver::productWasFetchedAndIsValid_() not implemented and should never be called.\n" 1182 <<
"Contact a Framework developer\n";
1187 <<
"NoProcessProductResolver::branchDescription_() not implemented and should never be called.\n" 1188 <<
"Contact a Framework developer\n";
1193 <<
"NoProcessProductResolver::resetBranchDescription_() not implemented and should never be called.\n" 1194 <<
"Contact a Framework developer\n";
1199 <<
"NoProcessProductResolver::provenance_() not implemented and should never be called.\n" 1200 <<
"Contact a Framework developer\n";
1205 <<
"NoProcessProductResolver::connectTo() not implemented and should never be called.\n" 1206 <<
"Contact a Framework developer\n";
1212 bool skipCurrentProcess,
1218 ->resolveProduct(principal, skipCurrentProcess, sra, mcc);
1223 bool skipCurrentProcess,
1228 ->prefetchAsync(waitTask, principal, skipCurrentProcess,
token, sra, mcc);
1243 <<
"SingleChoiceNoProcessProductResolver::unscheduledWasNotRun_() not implemented and should never be called.\n" 1244 <<
"Contact a Framework developer\n";
1249 <<
"SingleChoiceNoProcessProductResolver::productUnavailable_() not implemented and should never be called.\n" 1250 <<
"Contact a Framework developer\n";
1255 <<
"SingleChoiceNoProcessProductResolver::productResolved_() not implemented and should never be called.\n" 1256 <<
"Contact a Framework developer\n";
1261 <<
"SingleChoiceNoProcessProductResolver::productWasDeleted_() not implemented and should never be called.\n" 1262 <<
"Contact a Framework developer\n";
1267 "implemented and should never be called.\n" 1268 <<
"Contact a Framework developer\n";
1273 <<
"SingleChoiceNoProcessProductResolver::branchDescription_() not implemented and should never be called.\n" 1274 <<
"Contact a Framework developer\n";
1279 "implemented and should never be called.\n" 1280 <<
"Contact a Framework developer\n";
1285 <<
"SingleChoiceNoProcessProductResolver::provenance_() not implemented and should never be called.\n" 1286 <<
"Contact a Framework developer\n";
1291 <<
"SingleChoiceNoProcessProductResolver::connectTo() not implemented and should never be called.\n" 1292 <<
"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