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
HcalHFStatusBitFromRecHits::short_hflongshortratio
double short_hflongshortratio()
Definition: HcalHFStatusBitFromRecHits.h:36
edm::SortedCollection
Definition: SortedCollection.h:49
HcalChannelQuality
Definition: HcalChannelQuality.h:17
HcalHFStatusBitFromRecHits::short_ETthreshold
double short_ETthreshold()
Definition: HcalHFStatusBitFromRecHits.h:38
DDAxes::x
HcalHFStatusBitFromRecHits::long_HFlongshortratio_
double long_HFlongshortratio_
Definition: HcalHFStatusBitFromRecHits.h:70
HcalHFStatusBitFromRecHits::short_thresholdET_
double short_thresholdET_
Definition: HcalHFStatusBitFromRecHits.h:74
HcalHFStatusBitFromRecHits::long_thresholdEnergy_
double long_thresholdEnergy_
Definition: HcalHFStatusBitFromRecHits.h:72
HcalHFStatusBitFromRecHits::set_long_energythreshold
void set_long_energythreshold(double x)
Definition: HcalHFStatusBitFromRecHits.h:47
HFRecHit.h
HcalHFStatusBitFromRecHits::set_short_ETthreshold
void set_short_ETthreshold(double x)
Definition: HcalHFStatusBitFromRecHits.h:63
HcalSeverityLevelComputer
Definition: HcalSeverityLevelComputer.h:24
HcalHFStatusBitFromRecHits::short_energythreshold
double short_energythreshold()
Definition: HcalHFStatusBitFromRecHits.h:37
HcalHFStatusBitFromRecHits::bit
double bit()
Definition: HcalHFStatusBitFromRecHits.h:40
HcalHFStatusBitFromRecHits::~HcalHFStatusBitFromRecHits
~HcalHFStatusBitFromRecHits()
Definition: HcalHFStatusBitFromRecHits.cc:29
HcalSeverityLevelComputerRcd.h
HcalHFStatusBitFromRecHits::long_thresholdET_
double long_thresholdET_
Definition: HcalHFStatusBitFromRecHits.h:71
HcalHFStatusBitFromRecHits::HcalHFStatusBitFromRecHits
HcalHFStatusBitFromRecHits()
Definition: HcalHFStatusBitFromRecHits.cc:9
HcalCaloFlagLabels.h
HcalHFStatusBitFromRecHits
Definition: HcalHFStatusBitFromRecHits.h:18
HcalHFStatusBitFromRecHits::set_long_hflongshortratio
void set_long_hflongshortratio(double x)
Definition: HcalHFStatusBitFromRecHits.h:43
HcalChannelQuality.h
HcalHFStatusBitFromRecHits::short_HFlongshortratio_
double short_HFlongshortratio_
Definition: HcalHFStatusBitFromRecHits.h:73
HcalHFStatusBitFromRecHits::long_hflongshortratio
double long_hflongshortratio()
Definition: HcalHFStatusBitFromRecHits.h:33
HcalHFStatusBitFromRecHits::hfSetFlagFromRecHits
void hfSetFlagFromRecHits(HFRecHitCollection &rec, HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity)
Definition: HcalHFStatusBitFromRecHits.cc:31
HcalHFStatusBitFromRecHits::short_thresholdEnergy_
double short_thresholdEnergy_
Definition: HcalHFStatusBitFromRecHits.h:75
HcalHFStatusBitFromRecHits::set_short_energythreshold
void set_short_energythreshold(double x)
Definition: HcalHFStatusBitFromRecHits.h:59
HcalRecHitCollections.h
HcalSeverityLevelComputer.h
HcalCaloFlagLabels::HFLongShort
Definition: HcalCaloFlagLabels.h:37
HcalHFStatusBitFromRecHits::long_ETthreshold
double long_ETthreshold()
Definition: HcalHFStatusBitFromRecHits.h:35
HcalHFStatusBitFromRecHits::set_long_ETthreshold
void set_long_ETthreshold(double x)
Definition: HcalHFStatusBitFromRecHits.h:51
HcalHFStatusBitFromRecHits::set_short_hflongshortratio
void set_short_hflongshortratio(double x)
Definition: HcalHFStatusBitFromRecHits.h:55
HcalHFStatusBitFromRecHits::long_energythreshold
double long_energythreshold()
Definition: HcalHFStatusBitFromRecHits.h:34