1 #ifndef FWCore_Framework_PrincipalGetAdapter_h
2 #define FWCore_Framework_PrincipalGetAdapter_h
111 class ModuleCallingContext;
113 namespace principal_get_adapter_detail {
115 void operator()(std::pair<WrapperOwningHolder, BranchDescription const*>
const p)
const;
146 template <
typename PROD>
150 template <
typename PROD>
235 template <
typename PROD>
238 operator<<(std::ostream& os, Handle<PROD>
const&
h) {
239 os <<
h.product() <<
" " <<
h.provenance() <<
" " <<
h.id();
272 sizeof(has_postinsert_helper<T>(
nullptr)) ==
sizeof(
yes_tag) &&
280 template <
typename T>
294 template <
typename T>
299 template <
typename T>
308 template <
typename PROD>
315 template <
typename PROD>
335 std::vector<Handle<PROD> >
products;
337 typename BasicHandleVec::iterator it = bhv.begin();
338 typename BasicHandleVec::iterator
end = bhv.end();
343 products.push_back(result);
ProcessHistory const & processHistory() const
BasicHandle getByToken_(TypeID const &id, KindOfType kindOfType, EDGetToken token, ModuleCallingContext const *mcc) const
void setConsumer(EDConsumerBase const *iConsumer)
BasicHandle getMatchingSequenceByLabel_(TypeID const &typeID, InputTag const &tag, ModuleCallingContext const *mcc) const
void operator()(T *p) const
Principal const & principal() const
BasicHandle getByLabel_(TypeID const &tid, InputTag const &tag, ModuleCallingContext const *mcc) const
PrincipalGetAdapter(Principal &pcpl, ModuleDescription const &md)
static PFTauRenderPlugin instance
no_tag has_postinsert_helper(...)
EDConsumerBase const * consumer_
BranchType const & branchType() const
EDProductGetter const * prodGetter() const
ESProducts< T, S > products(const T &i1, const S &i2)
void getManyByType(std::vector< Handle< PROD > > &results, ModuleCallingContext const *mcc) const
PrincipalGetAdapter & operator=(PrincipalGetAdapter const &)=delete
void convert_handle(BasicHandle &&bh, Handle< T > &result)
BranchDescription const & getBranchDescription(TypeID const &type, std::string const &productInstanceName) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
void getManyByType_(TypeID const &tid, BasicHandleVec &results, ModuleCallingContext const *mcc) const
BasicHandle makeFailToGetException(KindOfType, TypeID const &, EDGetToken) const
void operator()(T *) const
void throwOnPrematureRead(char const *principalType, TypeID const &productType, std::string const &moduleLabel, std::string const &productInstanceName)
void operator()(std::pair< WrapperOwningHolder, BranchDescription const * > const p) const
ModuleDescription const & md_
void throwOnPutOfNullProduct(char const *principalType, TypeID const &productType, std::string const &productInstanceName)
bool checkIfComplete() const
void throwAmbiguousException(TypeID const &productType, EDGetToken token) const
std::vector< BasicHandle > BasicHandleVec