1 #include <ext/functional> 23 <<
"No such tagging variable \"" 24 << categoryVariable <<
"\"." << std::endl;
26 categoryLabels = params.
getParameter<std::vector<std::string> >(
27 "calibrationRecords");
28 for(std::vector<std::string>::iterator iter = categoryLabels.begin();
29 iter != categoryLabels.end(); iter++)
30 if (*iter ==
" " || *iter ==
"-" || *iter ==
"*")
41 int index = (
int)taggingVariables.
get(categoryVariable, -1);
43 if (index < 0 || (
unsigned int)index >= categoryLabels.size())
T getParameter(std::string const &) const
int findCategory(const reco::TaggingVariableList &taggingVariables) const
TagInfoMVACategorySelector(const edm::ParameterSet ¶ms)
TaggingValue get(TaggingVariableName tag) const
~TagInfoMVACategorySelector()
TaggingVariableName getTaggingVariableName(const std::string &name)