CMS 3D CMS Logo

HcalHaloAlgo.h
Go to the documentation of this file.
1 #ifndef RECOMET_METALGORITHMS_HCALHALOALGO_H
2 #define RECOMET_METALGORITHMS_HCALHALOALGO_H
3 
5 
6 /*
7  [class]: HcalHaloAlgo
8  [authors]: R. Remington, The University of Florida
9  [description]: Algorithm to calculate quantities relevant to HcalHaloData object
10  [date]: October 15, 2009
11 */
12 
15 
19 
21 
24 
36 
38 
39 
40 
42  public:
43  //constructor
44  HcalHaloAlgo();
45  //destructor
47 
48  // run algorithm
50 
52 
53  // Set RecHit Energy Thresholds
55 
56  // Set Phi Wedge Thresholds
57  void SetPhiWedgeEnergyThreshold( float SumE ){ SumEnergyThreshold = SumE ;}
59  void SetPhiWedgeThresholds(float SumE, int nhits) { SumEnergyThreshold = SumE ; NHitsThreshold = nhits ;}
60 
61  // Get RecHit Energy Threshold
64 
65  // Get Phi Wedge Threhsolds
68 
69 
70  std::vector<reco::HaloClusterCandidateHCAL> GetHaloClusterCandidateHB(edm::Handle<EcalRecHitCollection>& ebrechitcoll, edm::Handle<HBHERecHitCollection>& hbherechitcoll,float et_thresh_seedrh);
71  std::vector<reco::HaloClusterCandidateHCAL> GetHaloClusterCandidateHE(edm::Handle<EcalRecHitCollection>& eerechitcoll, edm::Handle<HBHERecHitCollection>& hbherechitcoll,float et_thresh_seedrh);
74 
75 
76 
77  private:
78  // Invidiual RecHit Threhsolds
81 
82  // Phi Wedge Thresholds
85 
89 
90 };
91 
92 #endif
float HERecHitEnergyThreshold
Definition: HcalHaloAlgo.h:80
void SetRecHitEnergyThresholds(float HB, float HE)
Definition: HcalHaloAlgo.h:54
std::vector< reco::HaloClusterCandidateHCAL > GetHaloClusterCandidateHE(edm::Handle< EcalRecHitCollection > &eerechitcoll, edm::Handle< HBHERecHitCollection > &hbherechitcoll, float et_thresh_seedrh)
const CaloGeometry * geo_
Definition: HcalHaloAlgo.h:86
void SetPhiWedgeEnergyThreshold(float SumE)
Definition: HcalHaloAlgo.h:57
float GetHERecHitEnergyThreshold()
Definition: HcalHaloAlgo.h:63
bool HBClusterShapeandTimeStudy(reco::HaloClusterCandidateHCAL hcand, bool ishlt)
float GetHBRecHitEnergyThreshold()
Definition: HcalHaloAlgo.h:62
float GetPhiWedgeEnergyThreshold()
Definition: HcalHaloAlgo.h:66
math::XYZPoint Point
point in the space
Definition: Vertex.h:39
void SetPhiWedgeThresholds(float SumE, int nhits)
Definition: HcalHaloAlgo.h:59
reco::HcalHaloData Calculate(const CaloGeometry &TheCaloGeometry, edm::Handle< HBHERecHitCollection > &TheHBHERecHits, edm::Handle< CaloTowerCollection > &TheCaloTowers, edm::Handle< EBRecHitCollection > &TheEBRecHits, edm::Handle< EERecHitCollection > &TheEERecHits, const edm::EventSetup &TheSetup)
Definition: HcalHaloAlgo.cc:35
Definition: DetId.h:18
int GetPhiWedgeNHitsThreshold()
Definition: HcalHaloAlgo.h:67
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
float HBRecHitEnergyThreshold
Definition: HcalHaloAlgo.h:79
const HcalGeometry * hgeo_
Definition: HcalHaloAlgo.h:87
float SumEnergyThreshold
Definition: HcalHaloAlgo.h:83
math::XYZPoint getPosition(const DetId &id, reco::Vertex::Point vtx)
void SetPhiWedgeNHitsThreshold(int nhits)
Definition: HcalHaloAlgo.h:58
int NHitsThreshold
Definition: HcalHaloAlgo.h:84
bool HEClusterShapeandTimeStudy(reco::HaloClusterCandidateHCAL hcand, bool ishlt)
std::vector< reco::HaloClusterCandidateHCAL > GetHaloClusterCandidateHB(edm::Handle< EcalRecHitCollection > &ebrechitcoll, edm::Handle< HBHERecHitCollection > &hbherechitcoll, float et_thresh_seedrh)