CMS 3D CMS Logo

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 // new classification numbering and showering subclasses
00008 // golden                     =>  0
00009 // big brem                   => 10
00010 // narrow                     => 20
00011 // showering nbrem 0          => 30
00012 // showering nbrem 1          => 31
00013 // showering nbrem 2          => 32
00014 // showering nbrem 3          => 33
00015 // showering nbrem 4 ou plus  => 34
00016 // cracks                     => 40
00017 // endcap                     => barrel + 100
00018 // CC 08/02/2006
00019 //===================================================================
00020 
00032 //#include "ElectronPhoton/EgammaAnalysis/interface/EgammaCorrector.h"
00033 #include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
00034 
00035 
00036 class ElectronClassification
00037 {
00038  public:
00039   
00040   ElectronClassification(){electronClass_=-1;}
00041 
00042   int getClass() const {return electronClass_;}
00043 
00044   virtual void correct(reco::GsfElectron &);
00045 
00046  private:
00047 
00048   void classify(const reco::GsfElectron &);
00049 
00050   bool isInCrack(float eta) const;
00051   bool isInEtaGaps(float eta) const;
00052   bool isInPhiGaps(float phi) const;
00053 
00054   int electronClass_;
00055 
00056 };
00057 
00058 #endif
00059 
00060 
00061 
00062 

Generated on Tue Jun 9 17:43:16 2009 for CMSSW by  doxygen 1.5.4