CMS 3D CMS Logo

HcalHF_S9S1algorithm.h
Go to the documentation of this file.
1 #ifndef GUARD_HCALHF_S9S1ALGORITHM_H
2 #define GUARD_HCALHF_S9S1ALGORITHM_H 1
3 
7 
8 // Forward declarations
11 
22 public:
25 
26  HcalHF_S9S1algorithm(const std::vector<double>& short_optimumSlope,
27  const std::vector<double>& short_Energy,
28  const std::vector<double>& short_ET,
29  const std::vector<double>& long_optimumSlope,
30  const std::vector<double>& long_Energy,
31  const std::vector<double>& long_ET,
33  bool isS8S1);
34 
35  // Destructor
37 
39  HFRecHitCollection& rec,
40  const HcalChannelQuality* myqual,
41  const HcalSeverityLevelComputer* mySeverity);
42  double CalcSlope(int abs_ieta, const std::vector<double>& params);
43  double CalcEnergyThreshold(double abs_energy, const std::vector<double>& params);
44 
45  double bit() { return HcalCaloFlagLabels::HFLongShort; }
46 
47 private:
48  std::vector<double> short_ET_;
49  std::vector<double> short_Energy_;
50  std::vector<double> long_ET_;
51  std::vector<double> long_Energy_;
52 
53  std::vector<double> LongSlopes;
54  std::vector<double> ShortSlopes;
55  std::vector<double> LongEnergyThreshold;
56  std::vector<double> ShortEnergyThreshold;
57  std::vector<double> LongETThreshold;
58  std::vector<double> ShortETThreshold;
60  bool isS8S1_;
61 };
62 
63 #endif
std::vector< double > LongSlopes
void HFSetFlagFromS9S1(HFRecHit &hf, HFRecHitCollection &rec, const HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity)
std::vector< double > LongEnergyThreshold
std::vector< double > LongETThreshold
std::vector< double > long_ET_
std::vector< double > ShortSlopes
double CalcSlope(int abs_ieta, const std::vector< double > &params)
std::vector< double > long_Energy_
std::vector< double > short_ET_
std::vector< double > short_Energy_
std::vector< double > ShortETThreshold
std::vector< double > ShortEnergyThreshold
double CalcEnergyThreshold(double abs_energy, const std::vector< double > &params)