CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/RecoEgamma/EgammaHLTAlgos/interface/EgammaHLTHcalIsolationDoubleCone.h

Go to the documentation of this file.
00001 #ifndef EgammaHLTAlgos_EgammaHLTHcalIsolationDoubleCone_h
00002 #define EgammaHLTAlgos_EgammaHLTHcalIsolationDoubleCone_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     EgammaHLTAlgos
00006 // Class  :     EgammaHLTHcalIsolationDoubleCone
00007 // 
00018 //
00019 // Original Author:  Monica Vazquez Acosta - CERN
00020 //         Created:  Tue Jun 13 12:18:35 CEST 2006
00021 // $Id: EgammaHLTHcalIsolationDoubleCone.h,v 1.2 2007/06/28 16:58:19 ghezzi Exp $
00022 //
00023 
00024 #include "DataFormats/EgammaCandidates/interface/Electron.h"
00025 #include "DataFormats/EgammaCandidates/interface/Photon.h"
00026 
00027 #include "DataFormats/EgammaReco/interface/SuperCluster.h"
00028 
00029 #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
00030 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
00031 #include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
00032 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
00033 //For160 #include "Geometry/Vector/interface/GlobalPoint.h"
00034 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00035 
00036 #include "DataFormats/RecoCandidate/interface/RecoCandidate.h"
00037 
00038 class EgammaHLTHcalIsolationDoubleCone
00039 {
00040 
00041  public:
00042   
00043   EgammaHLTHcalIsolationDoubleCone(double egHcalIso_PtMin, double egHcalIso_ConeSize, double egHcalIso_Exclusion) :
00044     ptMin(egHcalIso_PtMin),conesize(egHcalIso_ConeSize),exclusion(egHcalIso_Exclusion){
00045       /* 
00046          std::cout << "EgammaHLTHcalIsolation instance:"
00047          << " ptMin=" << ptMin << "|" << ptMinG
00048          << " conesize="<< conesize << "|" << conesizeG
00049          << std::endl;
00050       */
00051     }
00052 
00053 
00054   float isolPtSum(const reco::RecoCandidate* recocandidate, const HBHERecHitCollection* hbhe, const HFRecHitCollection* hf, const CaloGeometry* geometry);
00055 
00056 
00058   float getptMin() { return ptMin; }
00060   float getConeSize() { return conesize; }
00062   float getExclusion() { return exclusion; }
00063   
00064  private:
00065 
00066   // ---------- member data --------------------------------
00067    // Parameters of isolation cone geometry. 
00068   float ptMin;
00069   float conesize;
00070   float exclusion;
00071   
00072 };
00073 
00074 
00075 #endif