CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalHFStatusBitFromRecHits.h
Go to the documentation of this file.
1 #ifndef HCALHFSTATUSBITFROMRECHITS_H
2 #define HCALHFSTATUSBITFROMRECHITS_H 1
3 
10 
11 
20 public:
23  HcalHFStatusBitFromRecHits(double shortR, double shortET, double shortE,
24  double longR, double longET, double longE);
25 
26  // Destructor
28 
29  // The important stuff! Methods for setting the status flag values
31  HcalChannelQuality* myqual,
32  const HcalSeverityLevelComputer* mySeverity);
33 
34  // getter functions
41 
43 
44  // setter functions
47  void set_long_ETthreshold(double x){long_thresholdET_=x; return;}
51 
52 private:
53  // variables for cfg files
55  double long_thresholdET_; // minimum energy needed before the noise algorithm is run
58  double short_thresholdET_; // minimum energy needed before the noise algorithm is run
60 };
61 
62 #endif
void hfSetFlagFromRecHits(HFRecHitCollection &rec, HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity)