test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
21 
23  bool IsbTag(const pat::Jet& JetCand,
24  const std::string& operpoint,
25  const std::string& tagger) const;
26  bool IsbTag(const pat::Jet& JetCand,
27  const std::string& operpoint) const;
28  bool IsbTag(const pat::Jet& JetCand) const;
29 //
30 private:
31  std::map <std::string,std::map<std::string,double> > discCut; //map to associate cuts and taggers
32  std::vector<double> discriminantCutsLoose_; //list of discriminant cut per tagger
33  std::vector<double> discriminantCutsMedium_; //list of discriminant cut per tagger
34  std::vector<double> discriminantCutsTight_; //list of discriminant cut per tagger
35  std::vector<std::string> BTagdiscriminator_; //list of taggers
36  std::string DefaultOp_; //default operating point
37  std::string DefaultTg_; //default taggers
38 };
39 
40 #endif
41 
bool IsbTag(const pat::Jet &JetCand, const std::string &operpoint, const std::string &tagger) const
Definition: bJetSelector.cc:26
tuple cfg
Definition: looper.py:293
std::vector< std::string > BTagdiscriminator_
Definition: bJetSelector.h:35
std::vector< double > discriminantCutsLoose_
Definition: bJetSelector.h:32
bJetSelector(const edm::ParameterSet &cfg)
Definition: bJetSelector.cc:8
std::vector< double > discriminantCutsMedium_
Definition: bJetSelector.h:33
std::string DefaultTg_
Definition: bJetSelector.h:37
Analysis-level calorimeter jet class.
Definition: Jet.h:78
std::map< std::string, std::map< std::string, double > > discCut
Definition: bJetSelector.h:31
std::vector< double > discriminantCutsTight_
Definition: bJetSelector.h:34
std::string DefaultOp_
Definition: bJetSelector.h:36