CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EgammaHLTHcalIsolationDoubleCone.h
Go to the documentation of this file.
1 #ifndef EgammaHLTAlgos_EgammaHLTHcalIsolationDoubleCone_h
2 #define EgammaHLTAlgos_EgammaHLTHcalIsolationDoubleCone_h
3 // -*- C++ -*-
4 //
5 // Package: EgammaHLTAlgos
6 // Class : EgammaHLTHcalIsolationDoubleCone
7 //
18 //
19 // Original Author: Monica Vazquez Acosta - CERN
20 // Created: Tue Jun 13 12:18:35 CEST 2006
21 // $Id: EgammaHLTHcalIsolationDoubleCone.h,v 1.2 2007/06/28 16:58:19 ghezzi Exp $
22 //
23 
26 
28 
33 //For160 #include "Geometry/Vector/interface/GlobalPoint.h"
35 
37 
39 {
40 
41  public:
42 
43  EgammaHLTHcalIsolationDoubleCone(double egHcalIso_PtMin, double egHcalIso_ConeSize, double egHcalIso_Exclusion) :
44  ptMin(egHcalIso_PtMin),conesize(egHcalIso_ConeSize),exclusion(egHcalIso_Exclusion){
45  /*
46  std::cout << "EgammaHLTHcalIsolation instance:"
47  << " ptMin=" << ptMin << "|" << ptMinG
48  << " conesize="<< conesize << "|" << conesizeG
49  << std::endl;
50  */
51  }
52 
53 
54  float isolPtSum(const reco::RecoCandidate* recocandidate, const HBHERecHitCollection* hbhe, const HFRecHitCollection* hf, const CaloGeometry* geometry);
55 
56 
58  float getptMin() { return ptMin; }
60  float getConeSize() { return conesize; }
62  float getExclusion() { return exclusion; }
63 
64  private:
65 
66  // ---------- member data --------------------------------
67  // Parameters of isolation cone geometry.
68  float ptMin;
69  float conesize;
70  float exclusion;
71 
72 };
73 
74 
75 #endif
float isolPtSum(const reco::RecoCandidate *recocandidate, const HBHERecHitCollection *hbhe, const HFRecHitCollection *hf, const CaloGeometry *geometry)
EgammaHLTHcalIsolationDoubleCone(double egHcalIso_PtMin, double egHcalIso_ConeSize, double egHcalIso_Exclusion)
float getConeSize()
Get isolation cone size.
float getptMin()
Get pt cut for hcal hits.
ESHandle< TrackerGeometry > geometry