CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
17 
26 
28  public:
29  //constructor
30  HcalHaloAlgo();
31  //destructor
33 
34  // run algorithm
35  reco::HcalHaloData Calculate(const CaloGeometry& TheCaloGeometry, edm::Handle<HBHERecHitCollection>& TheHBHERecHits);
36 
37  // Set RecHit Energy Thresholds
39 
40  // Set Phi Wedge Thresholds
41  void SetPhiWedgeEnergyThreshold( float SumE ){ SumEnergyThreshold = SumE ;}
42  void SetPhiWedgeNHitsThreshold( int nhits ) { NHitsThreshold = nhits ; }
43  void SetPhiWedgeThresholds(float SumE, int nhits) { SumEnergyThreshold = SumE ; NHitsThreshold = nhits ;}
44 
45  // Get RecHit Energy Threshold
48 
49  // Get Phi Wedge Threhsolds
52 
53  private:
54  // Invidiual RecHit Threhsolds
57 
58  // Phi Wedge Thresholds
61 
62 };
63 
64 #endif
float HERecHitEnergyThreshold
Definition: HcalHaloAlgo.h:56
void SetRecHitEnergyThresholds(float HB, float HE)
Definition: HcalHaloAlgo.h:38
void SetPhiWedgeEnergyThreshold(float SumE)
Definition: HcalHaloAlgo.h:41
float GetHERecHitEnergyThreshold()
Definition: HcalHaloAlgo.h:47
float GetHBRecHitEnergyThreshold()
Definition: HcalHaloAlgo.h:46
float GetPhiWedgeEnergyThreshold()
Definition: HcalHaloAlgo.h:50
reco::HcalHaloData Calculate(const CaloGeometry &TheCaloGeometry, edm::Handle< HBHERecHitCollection > &TheHBHERecHits)
Definition: HcalHaloAlgo.cc:25
void SetPhiWedgeThresholds(float SumE, int nhits)
Definition: HcalHaloAlgo.h:43
int GetPhiWedgeNHitsThreshold()
Definition: HcalHaloAlgo.h:51
float HBRecHitEnergyThreshold
Definition: HcalHaloAlgo.h:55
float SumEnergyThreshold
Definition: HcalHaloAlgo.h:59
void SetPhiWedgeNHitsThreshold(int nhits)
Definition: HcalHaloAlgo.h:42
int NHitsThreshold
Definition: HcalHaloAlgo.h:60