Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:53

0001 #ifndef EgammaIsolationAlgos_EgammaEcalIsolation_h
0002 #define EgammaIsolationAlgos_EgammaEcalIsolation_h
0003 
0004 //*****************************************************************************
0005 // File:      EgammaEcalIsolation.h
0006 // ----------------------------------------------------------------------------
0007 // Type:      Class implementation header
0008 // Package:   EgammaIsolationAlgos/EgammaIsolationAlgos
0009 // Class:     EgammaEcalIsolation
0010 // Language:  Standard C++
0011 // Project:   CMS
0012 // OrigAuth:  Gilles De Lentdecker
0013 // Institute: IIHE-ULB
0014 //=============================================================================
0015 //*****************************************************************************
0016 
0017 #include "DataFormats/EgammaReco/interface/SuperCluster.h"
0018 #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
0019 #include "DataFormats/EgammaReco/interface/BasicCluster.h"
0020 #include "DataFormats/EgammaReco/interface/BasicClusterFwd.h"
0021 #include "DataFormats/RecoCandidate/interface/RecoCandidate.h"
0022 #include "DataFormats/Candidate/interface/Candidate.h"
0023 
0024 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0025 
0026 class EgammaEcalIsolation {
0027 public:
0028   EgammaEcalIsolation(double extRadius,
0029                       double etLow,
0030                       const reco::BasicClusterCollection*,
0031                       const reco::SuperClusterCollection*);
0032 
0033   ~EgammaEcalIsolation();
0034 
0035   double getEcalEtSum(const reco::Candidate*);
0036 
0037 private:
0038   // ---------- member data --------------------------------
0039 
0040   // Parameters of isolation cone geometry.
0041   // Photon case
0042   double etMin;
0043   double conesize;
0044 
0045   const reco::BasicClusterCollection* basicClusterCollection_;
0046   const reco::SuperClusterCollection* superClusterCollection_;
0047 };
0048 
0049 #endif