CMS 3D CMS Logo

HcalHFStatusBitFromRecHits.h
Go to the documentation of this file.
1 #ifndef HCALHFSTATUSBITFROMRECHITS_H
2 #define HCALHFSTATUSBITFROMRECHITS_H 1
3 
10 
19 public:
22  HcalHFStatusBitFromRecHits(double shortR, double shortET, double shortE, double longR, double longET, double longE);
23 
24  // Destructor
26 
27  // The important stuff! Methods for setting the status flag values
29  HcalChannelQuality* myqual,
30  const HcalSeverityLevelComputer* mySeverity);
31 
32  // getter functions
35  double long_ETthreshold() { return long_thresholdET_; }
39 
40  double bit() { return HcalCaloFlagLabels::HFLongShort; }
41 
42  // setter functions
45  return;
46  }
47  void set_long_energythreshold(double x) {
49  return;
50  }
51  void set_long_ETthreshold(double x) {
53  return;
54  }
57  return;
58  }
61  return;
62  }
63  void set_short_ETthreshold(double x) {
65  return;
66  }
67 
68 private:
69  // variables for cfg files
71  double long_thresholdET_; // minimum energy needed before the noise algorithm is run
74  double short_thresholdET_; // minimum energy needed before the noise algorithm is run
76 };
77 
78 #endif
void hfSetFlagFromRecHits(HFRecHitCollection &rec, HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity)