9 : discriminantCutsLoose_(cfg.getParameter<std::
vector<double> >(
"discCutLoose")),
10 discriminantCutsMedium_(cfg.getParameter<std::
vector<double> >(
"discCutMedium")),
11 discriminantCutsTight_(cfg.getParameter<std::
vector<double> >(
"discCutTight")),
12 BTagdiscriminator_(cfg.getParameter<std::
vector<std::
string> >(
"bdiscriminators")),
13 DefaultOp_(cfg.getParameter<std::
string>(
"DefaultOp")),
14 DefaultTg_(cfg.getParameter<std::
string>(
"DefaultBdisc"))
25 std::map<std::string, std::map<std::string, double> >::const_iterator ioperpoint =
discCut.find(operpoint);
26 if (ioperpoint ==
discCut.end())
27 throw cms::Exception(
"UnknownOperatingPoint") <<
"Unknown or undefined operative point" << std::endl;
28 std::map<std::string, double>::const_iterator itagger = ioperpoint->second.find(tagger);
29 if (itagger == ioperpoint->second.end())
30 throw cms::Exception(
"UnknownTagger") <<
"Unknown or undefined tagger" << std::endl;
bool IsbTag(const pat::Jet &JetCand, const std::string &operpoint, const std::string &tagger) const
std::vector< std::string > BTagdiscriminator_
std::vector< double > discriminantCutsLoose_
float bDiscriminator(const std::string &theLabel) const
-— methods for accessing b-tagging info -—
bJetSelector(const edm::ParameterSet &cfg)
std::map< std::string, std::map< std::string, double > > discCut
std::vector< double > discriminantCutsMedium_
Analysis-level calorimeter jet class.
std::vector< double > discriminantCutsTight_