CMS 3D CMS Logo

bJetSelector.h
Go to the documentation of this file.
1 #ifndef PatUtils_bJetSelector_H_
2 #define PatUtils_bJetSelector_H_
3 
18 
19 class bJetSelector {
20 public:
22  bool IsbTag(const pat::Jet& JetCand, const std::string& operpoint, const std::string& tagger) const;
23  bool IsbTag(const pat::Jet& JetCand, const std::string& operpoint) const;
24  bool IsbTag(const pat::Jet& JetCand) const;
25  //
26 private:
27  std::map<std::string, std::map<std::string, double> > discCut; //map to associate cuts and taggers
28  std::vector<double> discriminantCutsLoose_; //list of discriminant cut per tagger
29  std::vector<double> discriminantCutsMedium_; //list of discriminant cut per tagger
30  std::vector<double> discriminantCutsTight_; //list of discriminant cut per tagger
31  std::vector<std::string> BTagdiscriminator_; //list of taggers
32  std::string DefaultOp_; //default operating point
33  std::string DefaultTg_; //default taggers
34 };
35 
36 #endif
bool IsbTag(const pat::Jet &JetCand, const std::string &operpoint, const std::string &tagger) const
Definition: bJetSelector.cc:24
std::vector< std::string > BTagdiscriminator_
Definition: bJetSelector.h:31
std::vector< double > discriminantCutsLoose_
Definition: bJetSelector.h:28
bJetSelector(const edm::ParameterSet &cfg)
Definition: bJetSelector.cc:8
std::map< std::string, std::map< std::string, double > > discCut
Definition: bJetSelector.h:27
std::vector< double > discriminantCutsMedium_
Definition: bJetSelector.h:29
std::string DefaultTg_
Definition: bJetSelector.h:33
Analysis-level calorimeter jet class.
Definition: Jet.h:77
std::vector< double > discriminantCutsTight_
Definition: bJetSelector.h:30
std::string DefaultOp_
Definition: bJetSelector.h:32