CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
23  public:
26 
27  HcalHF_S9S1algorithm(const std::vector<double>& short_optimumSlope,
28  const std::vector<double>& short_Energy,
29  const std::vector<double>& short_ET,
30  const std::vector<double>& long_optimumSlope,
31  const std::vector<double>& long_Energy,
32  const std::vector<double>& long_ET,
34  bool isS8S1);
35 
36  // Destructor
38 
39  void HFSetFlagFromS9S1(HFRecHit& hf,
40  HFRecHitCollection& rec,
41  const HcalChannelQuality* myqual,
42  const HcalSeverityLevelComputer* mySeverity);
43  double CalcSlope(int abs_ieta, const std::vector<double>& params);
44  double CalcEnergyThreshold(double abs_energy,const std::vector<double>& params);
45 
47 
48  private:
49 
50  std::vector<double> short_ET_;
51  std::vector<double> short_Energy_;
52  std::vector<double> long_ET_;
53  std::vector<double> long_Energy_;
54 
55  std::vector<double> LongSlopes;
56  std::vector<double> ShortSlopes;
57  std::vector<double> LongEnergyThreshold;
58  std::vector<double> ShortEnergyThreshold;
59  std::vector<double> LongETThreshold;
60  std::vector<double> ShortETThreshold;
62  bool isS8S1_;
63 };
64 
65 
66 #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)