1 #ifndef FWCore_Framework_PrincipalGetAdapter_h 2 #define FWCore_Framework_PrincipalGetAdapter_h 87 #include <type_traits> 113 class ModuleCallingContext;
117 namespace principal_get_adapter_detail {
119 TypeID const& productType,
124 TypeID const& productType,
154 template <
typename PROD>
246 template <
typename PROD>
247 inline std::ostream& operator<<(std::ostream& os, Handle<PROD>
const&
h) {
248 os <<
h.product() <<
" " <<
h.provenance() <<
" " <<
h.id();
267 using no_tag = std::false_type;
268 using yes_tag = std::true_type;
272 template <
typename T,
void (T::*)()>
274 template <
typename T>
276 template <
typename T>
279 template <
typename T>
293 template <
typename T>
298 template <
typename T>
307 template <
typename PROD>
EDPutToken::value_type getPutTokenIndex(TypeID const &type, std::string const &productInstanceName) const
SharedResourcesAcquirer * resourcesAcquirer_
void setConsumer(EDConsumerBase const *iConsumer)
void labelsForToken(EDGetToken const &iToken, ProductLabels &oLabels) const
static PFTauRenderPlugin instance
void throwOnPutOfUninitializedToken(char const *principalType, std::type_info const &productType)
BasicHandle getByLabel_(TypeID const &tid, InputTag const &tag, ModuleCallingContext const *mcc) const
no_tag has_postinsert_helper(...)
EDProductGetter const * prodGetter() const
EDConsumerBase const * consumer_
SharedResourcesAcquirer * getSharedResourcesAcquirer() const
Transition transition() const
void setSharedResourcesAcquirer(SharedResourcesAcquirer *iSra)
ProducerBase const * prodBase_
ProcessHistory const & processHistory() const
std::string const & productInstanceLabel(EDPutToken) const
void throwAmbiguousException(TypeID const &productType, EDGetToken token) const
void setProducer(ProducerBase const *iProd)
std::vector< bool > const & recordProvenanceList() const
BranchType const & branchType() const
BasicHandle getByToken_(TypeID const &id, KindOfType kindOfType, EDGetToken token, ModuleCallingContext const *mcc) const
EDConsumerBase const * getConsumer() const
ProductID const & getProductID(unsigned int iPutTokenIndex) const
Principal const & principal() const
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex() const
void operator()(T *p) const
void throwOnPutOfWrongType(std::type_info const &wrongType, TypeID const &rightType)
void throwUnregisteredPutException(TypeID const &type, std::string const &productInstanceLabel) const
void operator()(T *) const
PrincipalGetAdapter & operator=(PrincipalGetAdapter const &)=delete
PrincipalGetAdapter(Principal const &pcpl, ModuleDescription const &md, bool isComplete)
unsigned int processBlockIndex(std::string const &processName) const
BranchDescription const & getBranchDescription(TypeID const &type, std::string const &productInstanceName) const
Principal const & principal_
BasicHandle getMatchingSequenceByLabel_(TypeID const &typeID, InputTag const &tag, ModuleCallingContext const *mcc) const
size_t numberOfProductsConsumed() const
bool checkIfComplete() const
void throwOnPrematureRead(char const *principalType, TypeID const &productType, std::string const &moduleLabel, std::string const &productInstanceName)
BasicHandle makeFailToGetException(KindOfType, TypeID const &, EDGetToken) const
static constexpr bool value
ModuleDescription const & moduleDescription() const
ModuleDescription const & md_
void throwOnPutOfNullProduct(char const *principalType, TypeID const &productType, std::string const &productInstanceName)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
TypeID const & getTypeIDForPutTokenIndex(EDPutToken::value_type index) const
std::vector< BasicHandle > BasicHandleVec