34 char const* principalType,
39 <<
"::put: A null auto_ptr was passed to 'put'.\n"
40 <<
"The pointer is of type "
42 <<
".\nThe specified productInstanceName was '"
43 << productInstanceName
49 char const* principalType,
55 <<
"::getByLabel: An attempt was made to read a "
57 <<
" product before end"
60 <<
"The product is of type '"
62 <<
"'.\nThe specified ModuleLabel was '"
64 <<
"'.\nThe specified productInstanceName was '"
65 << productInstanceName
71 char const* principalType,
72 TypeID const& productType) {
75 <<
"::getManyByType: An attempt was made to read a "
77 <<
" product before end"
80 <<
"The product is of type '"
87 char const* principalType,
91 <<
"::getByToken: An attempt was made to read a "
93 <<
" product before end"
96 <<
"The index of the token was "<<token.
index()<<
".\n";
101 TypeID const& productType,
110 *exception <<
"Principal::getByToken: Found zero products matching all criteria\nLooking for type: " << productType <<
"\n"
111 <<
"Looking for module label: " << labels.
module <<
"\n" <<
"Looking for productInstanceName: " << labels.
productInstance <<
"\n"
112 << (0==labels.
process[0] ?
"" :
"Looking for process: ") << labels.
process <<
"\n";
114 *exception <<
"Principal::getByToken: Found zero products matching all criteria\nLooking for a container with elements of type: " << productType <<
"\n"
115 <<
"Looking for module label: " << labels.
module <<
"\n" <<
"Looking for productInstanceName: " << labels.
productInstance <<
"\n"
116 << (0==labels.
process[0] ?
"" :
"Looking for process: ") << labels.
process <<
"\n";
128 exception <<
"Principal::getByToken: More than 1 product matches all criteria\nLooking for a container with elements of type: " << productType <<
"\n"
129 <<
"Looking for module label: " << labels.
module <<
"\n" <<
"Looking for productInstanceName: " << labels.
productInstance <<
"\n"
130 << (0==labels.
process[0] ?
"" :
"Looking for process: ") << labels.
process <<
"\n"
131 <<
"This can only occur with get function calls using a Handle<View> argument.\n"
132 <<
"Try a get not using a View or change the instance name of one of the products";
169 bool ambiguous =
false;
222 <<
"Illegal attempt to 'put' an unregistered product.\n"
223 <<
"No product is registered for\n"
226 <<
" product instance name: '" << productInstanceName <<
"'\n"
229 <<
"The ProductRegistry contains:\n"
ProcessHistory const & processHistory() const
BasicHandle getByToken_(TypeID const &id, KindOfType kindOfType, EDGetToken token, ModuleCallingContext const *mcc) const
ProductRegistry const & productRegistry() const
BasicHandle getMatchingSequenceByLabel_(TypeID const &typeID, InputTag const &tag, ModuleCallingContext const *mcc) const
BasicHandle getByLabel_(TypeID const &tid, InputTag const &tag, ModuleCallingContext const *mcc) const
std::string const & processName() const
PrincipalGetAdapter(Principal &pcpl, ModuleDescription const &md)
static PFTauRenderPlugin instance
ProductHolderIndex index(KindOfType kindOfType, TypeID const &typeID, char const *moduleLabel, char const *instance, char const *process=0) const
ProductHolderIndexAndSkipBit indexFrom(EDGetToken, BranchType, TypeID const &) const
bool skipCurrentProcess() const
const char * productInstance
EDConsumerBase const * consumer_
void getManyByType(TypeID const &typeID, BasicHandleVec &results, EDConsumerBase const *consumes, ModuleCallingContext const *mcc) const
unsigned int ProductHolderIndex
std::string const & moduleLabel() const
ProcessHistory const & processHistory() const
BranchType const & branchType() const
EDProductGetter const * prodGetter() const
BasicHandle getByToken(KindOfType kindOfType, TypeID const &typeID, ProductHolderIndex index, bool skipCurrentProcess, bool &ambiguous, ModuleCallingContext const *mcc) const
BranchDescription const & branchDescription() const
ConstProductHolderPtr getProductHolderByIndex(ProductHolderIndex const &oid) const
BranchType const & branchType() const
std::shared_ptr< HandleExceptionFactory > makeHandleExceptionFactory(T &&iFunctor)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
BranchDescription const & getBranchDescription(TypeID const &type, std::string const &productInstanceName) const
void getManyByType_(TypeID const &tid, BasicHandleVec &results, ModuleCallingContext const *mcc) const
BasicHandle makeFailToGetException(KindOfType, TypeID const &, EDGetToken) const
void labelsForToken(EDGetToken iToken, Labels &oLabels) const
void throwOnPrematureRead(char const *principalType, TypeID const &productType, std::string const &moduleLabel, std::string const &productInstanceName)
BasicHandle getByLabel(KindOfType kindOfType, TypeID const &typeID, InputTag const &inputTag, EDConsumerBase const *consumes, ModuleCallingContext const *mcc) const
ModuleDescription const & md_
void throwOnPutOfNullProduct(char const *principalType, TypeID const &productType, std::string const &productInstanceName)
EDProductGetter const * prodGetter() const
ProductHolderIndex productHolderIndex() const
void throwAmbiguousException(TypeID const &productType, EDGetToken token) const
unsigned int index() const
std::vector< BasicHandle > BasicHandleVec
ProductHolderIndexHelper const & productLookup() const
std::string friendlyClassName() const