00001 #ifndef EgammaIsolationAlgos_EgammaEcalIsolation_h 00002 #define EgammaIsolationAlgos_EgammaEcalIsolation_h 00003 00004 //***************************************************************************** 00005 // File: EgammaEcalIsolation.h 00006 // ---------------------------------------------------------------------------- 00007 // Type: Class implementation header 00008 // Package: EgammaIsolationAlgos/EgammaIsolationAlgos 00009 // Class: EgammaEcalIsolation 00010 // Language: Standard C++ 00011 // Project: CMS 00012 // OrigAuth: Gilles De Lentdecker 00013 // Institute: IIHE-ULB 00014 //============================================================================= 00015 //***************************************************************************** 00016 00017 00018 #include "DataFormats/EgammaReco/interface/SuperCluster.h" 00019 #include "DataFormats/EgammaReco/interface/BasicCluster.h" 00020 #include "DataFormats/RecoCandidate/interface/RecoCandidate.h" 00021 #include "DataFormats/Candidate/interface/Candidate.h" 00022 00023 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00024 00025 00026 class EgammaEcalIsolation 00027 { 00028 00029 public: 00030 00031 EgammaEcalIsolation(double extRadius, 00032 double etLow, 00033 const reco::BasicClusterCollection* , 00034 const reco::SuperClusterCollection*); 00035 00036 00037 ~EgammaEcalIsolation(); 00038 00039 double getEcalEtSum(const reco::Candidate*); 00040 private: 00041 00042 // ---------- member data -------------------------------- 00043 00044 // Parameters of isolation cone geometry. 00045 // Photon case 00046 double etMin; 00047 double conesize; 00048 00049 const reco::BasicClusterCollection* basicClusterCollection_; 00050 const reco::SuperClusterCollection* superClusterCollection_; 00051 00052 00053 }; 00054 00055 00056 #endif