CMS 3D CMS Logo

EgammaHLTHcalIsolation.h

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

Generated on Tue Jun 9 17:43:22 2009 for CMSSW by  doxygen 1.5.4