test
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 //
22 
25 
27 
32 //For160 #include "Geometry/Vector/interface/GlobalPoint.h"
34 
36 
38 {
39 
40  public:
41 
42  EgammaHLTHcalIsolationDoubleCone(double egHcalIso_PtMin, double egHcalIso_ConeSize, double egHcalIso_Exclusion) :
43  ptMin(egHcalIso_PtMin),conesize(egHcalIso_ConeSize),exclusion(egHcalIso_Exclusion){
44  /*
45  std::cout << "EgammaHLTHcalIsolation instance:"
46  << " ptMin=" << ptMin << "|" << ptMinG
47  << " conesize="<< conesize << "|" << conesizeG
48  << std::endl;
49  */
50  }
51 
52 
53  float isolPtSum(const reco::RecoCandidate* recocandidate, const HBHERecHitCollection* hbhe, const HFRecHitCollection* hf, const CaloGeometry* geometry);
54 
55 
57  float getptMin() { return ptMin; }
59  float getConeSize() { return conesize; }
61  float getExclusion() { return exclusion; }
62 
63  private:
64 
65  // ---------- member data --------------------------------
66  // Parameters of isolation cone geometry.
67  float ptMin;
68  float conesize;
69  float exclusion;
70 
71 };
72 
73 
74 #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