CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_5/src/RecoEgamma/ElectronIdentification/plugins/ElectronIDSelectorCutBased.h

Go to the documentation of this file.
00001 #ifndef ElectronIDSelectorCutBased_h
00002 #define ElectronIDSelectorCutBased_h
00003 
00004 #include "FWCore/Framework/interface/Event.h"
00005 #include "FWCore/Framework/interface/EventSetup.h"
00006 #include "DataFormats/Common/interface/Handle.h"
00007 #include "FWCore/Framework/interface/ESHandle.h"
00008 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00009 #include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
00010 #include "RecoEgamma/ElectronIdentification/interface/ElectronIDAlgo.h"
00011 #include "RecoEgamma/ElectronIdentification/interface/PTDRElectronID.h"
00012 #include "RecoEgamma/ElectronIdentification/interface/ClassBasedElectronID.h"
00013 #include "RecoEgamma/ElectronIdentification/interface/CutBasedElectronID.h"
00014 
00015 class ElectronIDSelectorCutBased
00016 {
00017  public:
00018 
00019   explicit ElectronIDSelectorCutBased (const edm::ParameterSet& conf) ;
00020   virtual ~ElectronIDSelectorCutBased () ;
00021 
00022   void newEvent (const edm::Event&, const edm::EventSetup&) ;
00023   double operator() (const reco::GsfElectron& , const edm::Event& , const edm::EventSetup& ) ;
00024    
00025  private:
00026 
00027   ElectronIDAlgo* electronIDAlgo_;
00028   edm::ParameterSet conf_;
00029   std::string algorithm_ ;
00030 
00031 };
00032 
00033 #endif