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/SuperClusterFwd.h" 00020 #include "DataFormats/EgammaReco/interface/BasicCluster.h" 00021 #include "DataFormats/EgammaReco/interface/BasicClusterFwd.h" 00022 #include "DataFormats/RecoCandidate/interface/RecoCandidate.h" 00023 #include "DataFormats/Candidate/interface/Candidate.h" 00024 00025 #include "FWCore/MessageLogger/interface/MessageLogger.h" 00026 00027 00028 class EgammaEcalIsolation 00029 { 00030 00031 public: 00032 00033 EgammaEcalIsolation(double extRadius, 00034 double etLow, 00035 const reco::BasicClusterCollection* , 00036 const reco::SuperClusterCollection*); 00037 00038 00039 ~EgammaEcalIsolation(); 00040 00041 double getEcalEtSum(const reco::Candidate*); 00042 private: 00043 00044 // ---------- member data -------------------------------- 00045 00046 // Parameters of isolation cone geometry. 00047 // Photon case 00048 double etMin; 00049 double conesize; 00050 00051 const reco::BasicClusterCollection* basicClusterCollection_; 00052 const reco::SuperClusterCollection* superClusterCollection_; 00053 00054 00055 }; 00056 00057 00058 #endif