CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/PhysicsTools/PatUtils/interface/bJetSelector.h

Go to the documentation of this file.
00001 #ifndef PatUtils_bJetSelector_H_
00002 #define PatUtils_bJetSelector_H_
00003 
00016 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00017 #include "DataFormats/PatCandidates/interface/Jet.h"
00018 
00019 class bJetSelector {
00020 public:
00021 
00022   bJetSelector(const edm::ParameterSet& cfg);
00023   bool IsbTag(const pat::Jet& JetCand,
00024               const std::string& operpoint,
00025               const std::string& tagger) const;
00026   bool IsbTag(const pat::Jet& JetCand,
00027               const std::string& operpoint) const;
00028   bool IsbTag(const pat::Jet& JetCand) const;
00029 //
00030 private:
00031   std::map <std::string,std::map<std::string,double> > discCut;    //map to associate cuts and taggers
00032   std::vector<double> discriminantCutsLoose_;                      //list of discriminant cut per tagger
00033   std::vector<double> discriminantCutsMedium_;                     //list of discriminant cut per tagger
00034   std::vector<double> discriminantCutsTight_;                      //list of discriminant cut per tagger
00035   std::vector<std::string> BTagdiscriminator_;                     //list of taggers
00036   std::string DefaultOp_;                                          //default operating point
00037   std::string DefaultTg_;                                          //default taggers
00038 };
00039 
00040 #endif
00041