CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoEgamma/ElectronIdentification/interface/CutBasedElectronID.h

Go to the documentation of this file.
00001 #ifndef CutBasedElectronID_H
00002 #define CutBasedElectronID_H
00003 
00004 #include "RecoEgamma/ElectronIdentification/interface/ElectronIDAlgo.h"
00005 
00006 class CutBasedElectronID : public ElectronIDAlgo {
00007 
00008 public:
00009 
00010   CutBasedElectronID(){};
00011 
00012   virtual ~CutBasedElectronID() {};
00013 
00014   void setup(const edm::ParameterSet& conf);
00015   double result(const reco::GsfElectron*, const edm::Event&, const edm::EventSetup&);
00016   double cicSelection(const reco::GsfElectron*, const edm::Event&, const edm::EventSetup&);
00017   double robustSelection(const reco::GsfElectron*, const edm::Event&, const edm::EventSetup&);
00018   int classify(const reco::GsfElectron*);
00019   bool compute_cut(double x, double et, double cut_min, double cut_max, bool gtn=false);
00020 
00021  private:
00022   bool wantBinning_;
00023   bool newCategories_;
00024   std::string type_;
00025   std::string quality_;
00026   std::string version_;
00027   edm::InputTag verticesCollection_;
00028   edm::ParameterSet cuts_;
00029 
00030 };
00031 
00032 #endif // CutBasedElectronID_H