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"))
30 std::map<std::string,std::map<std::string,double> >::const_iterator ioperpoint =
discCut.find(operpoint);
31 if ( ioperpoint ==
discCut.end() )
throw cms::Exception(
"UnknownOperatingPoint") <<
"Unknown or undefined operative point" << std::endl;
32 std::map<std::string,double>::const_iterator itagger = ioperpoint->second.find(tagger);
33 if ( itagger == ioperpoint->second.end() )
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_
bJetSelector(const edm::ParameterSet &cfg)
float bDiscriminator(const std::string &theLabel) const
-— methods for accessing b-tagging info -—
std::vector< double > discriminantCutsMedium_
Analysis-level calorimeter jet class.
std::map< std::string, std::map< std::string, double > > discCut
std::vector< double > discriminantCutsTight_