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";
106 TypeID const& productType,
115 *exception <<
"Principal::getByToken: Found zero products matching all criteria\nLooking for type: " << productType <<
"\n"
116 <<
"Looking for module label: " << labels.
module <<
"\n" <<
"Looking for productInstanceName: " << labels.
productInstance <<
"\n"
117 << (0==labels.
process[0] ?
"" :
"Looking for process: ") << labels.
process <<
"\n";
119 *exception <<
"Principal::getByToken: Found zero products matching all criteria\nLooking for a container with elements of type: " << productType <<
"\n"
120 <<
"Looking for module label: " << labels.
module <<
"\n" <<
"Looking for productInstanceName: " << labels.
productInstance <<
"\n"
121 << (0==labels.
process[0] ?
"" :
"Looking for process: ") << labels.
process <<
"\n";
133 exception <<
"Principal::getByToken: More than 1 product matches all criteria\nLooking for a container with elements of type: " << productType <<
"\n"
134 <<
"Looking for module label: " << labels.
module <<
"\n" <<
"Looking for productInstanceName: " << labels.
productInstance <<
"\n"
135 << (0==labels.
process[0] ?
"" :
"Looking for process: ") << labels.
process <<
"\n"
136 <<
"This can only occur with get function calls using a Handle<View> argument.\n"
137 <<
"Try a get not using a View or change the instance name of one of the products";
174 bool ambiguous =
false;
227 <<
"Illegal attempt to 'put' an unregistered product.\n"
228 <<
"No product is registered for\n"
231 <<
" product instance name: '" << productInstanceName <<
"'\n"
234 <<
"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
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
char const * productInstance
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
void labelsForToken(EDGetToken const &iToken, ProductLabels &oLabels) const
std::vector< BasicHandle > BasicHandleVec
ProductHolderIndexHelper const & productLookup() const
std::string friendlyClassName() const