CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/RecoEgamma/EgammaElectronAlgos/interface/ElectronClassification.h

Go to the documentation of this file.
00001 #ifndef ElectronClassification_H
00002 #define ElectronClassification_H
00003 
00004 //===================================================================
00005 // Author: Federico Ferri - INFN Milano, Bicocca university
00006 // 12/2005
00007 // See GsfElectron::Classification
00008 //===================================================================
00009 
00010 //#include "ElectronPhoton/EgammaAnalysis/interface/EgammaCorrector.h"
00011 #include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
00012 
00013 
00014 class ElectronClassification
00015 {
00016  public:
00017 
00018   ElectronClassification(){electronClass_=reco::GsfElectron::UNKNOWN;}
00019 
00020   reco::GsfElectron::Classification getClass() const {return electronClass_;}
00021 
00022   virtual void correct(reco::GsfElectron &);
00023 
00024  private:
00025 
00026   void classify(const reco::GsfElectron &);
00027 
00028 //  bool isInCrack(float eta) const;
00029 //  bool isInEtaGaps(float eta) const;
00030 //  bool isInPhiGaps(float phi) const;
00031 
00032   reco::GsfElectron::Classification electronClass_;
00033 
00034 };
00035 
00036 #endif
00037 
00038 
00039 
00040