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 
25  public:
28 
29  HcalHF_S9S1algorithm(const std::vector<double>& short_optimumSlope,
30  const std::vector<double>& short_Energy,
31  const std::vector<double>& short_ET,
32  const std::vector<double>& long_optimumSlope,
33  const std::vector<double>& long_Energy,
34  const std::vector<double>& long_ET,
35  int HcalAcceptSeverityLevel,
36  bool isS8S1);
37 
38  // Destructor
40 
41  void HFSetFlagFromS9S1(HFRecHit& hf,
42  HFRecHitCollection& rec,
43  const HcalChannelQuality* myqual,
44  const HcalSeverityLevelComputer* mySeverity);
45  double CalcSlope(int abs_ieta, const std::vector<double>& params);
46  double CalcEnergyThreshold(double abs_energy,const std::vector<double>& params);
47 
49 
50  private:
51 
52  std::vector<double> short_ET_;
53  std::vector<double> short_Energy_;
54  std::vector<double> long_ET_;
55  std::vector<double> long_Energy_;
56 
57  std::vector<double> LongSlopes;
58  std::vector<double> ShortSlopes;
59  std::vector<double> LongEnergyThreshold;
60  std::vector<double> ShortEnergyThreshold;
61  std::vector<double> LongETThreshold;
62  std::vector<double> ShortETThreshold;
64  bool isS8S1_;
65 };
66 
67 
68 #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)