test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalHF_PETalgorithm.h
Go to the documentation of this file.
1 #ifndef GUARD_HCALHF_PETALGORITHM_H
2 #define GUARD_HCALHF_PETALGORITHM_H 1
3 
7 
8 // Forward declarations
11 
23  public:
26 
27  HcalHF_PETalgorithm(const std::vector<double>& short_R,
28  const std::vector<double>& short_Energy,
29  const std::vector<double>& short_ET,
30  const std::vector<double>& long_R,
31  const std::vector<double>& long_Energy,
32  const std::vector<double>& long_ET,
34  // special case for ieta=29
35  const std::vector<double>& short_R_29,
36  const std::vector<double>& long_R_29);
37 
38  // Destructor
40 
41  void HFSetFlagFromPET(HFRecHit& hf,
42  HFRecHitCollection& rec,
43  const HcalChannelQuality* myqual,
44  const HcalSeverityLevelComputer* mySeverity);
45  double CalcThreshold(double abs_energy,const std::vector<double>& params);
46 
47  void SetShort_R(const std::vector<double>& x){short_R=x;}
48  void SetShort_ET_Thresh(const std::vector<double>& x){short_ET_Thresh=x;}
49  void SetShort_Energy_Thresh(const std::vector<double>& x){short_Energy_Thresh=x;}
50  void SetLong_R(const std::vector<double>& x){long_R=x;}
51  void SetLong_ET_Thresh(const std::vector<double>& x){long_ET_Thresh=x;}
52  void SetLong_Energy_Thresh(const std::vector<double>& x){long_Energy_Thresh=x;}
53 
54  std::vector<double> GetShort_R(){return short_R;}
55  std::vector<double> GetShort_ET_Thresh(){return short_ET_Thresh;}
56  std::vector<double> GetShort_Energy_Thresh(){return short_Energy_Thresh;}
57  std::vector<double> GetLong_R(){return long_R;}
58  std::vector<double> GetLong_ET_Thresh(){return long_ET_Thresh;}
59  std::vector<double> GetLong_Energy_Thresh(){return long_Energy_Thresh;}
60 
62 
63  private:
64  std::vector<double> short_R;
65  std::vector<double> short_ET_Thresh;
66  std::vector<double> short_Energy_Thresh;
67 
68  std::vector<double> long_R;
69  std::vector<double> long_ET_Thresh;
70  std::vector<double> long_Energy_Thresh;
72  std::vector<double> short_R_29;
73  std::vector<double> long_R_29;
74 };
75 
76 
77 #endif
void SetLong_Energy_Thresh(const std::vector< double > &x)
std::vector< double > GetLong_Energy_Thresh()
std::vector< double > long_ET_Thresh
std::vector< double > long_Energy_Thresh
std::vector< double > short_R
std::vector< double > GetShort_ET_Thresh()
std::vector< double > GetLong_ET_Thresh()
void HFSetFlagFromPET(HFRecHit &hf, HFRecHitCollection &rec, const HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity)
std::vector< double > long_R
std::vector< double > GetLong_R()
double CalcThreshold(double abs_energy, const std::vector< double > &params)
std::vector< double > long_R_29
void SetLong_ET_Thresh(const std::vector< double > &x)
std::vector< double > GetShort_R()
void SetLong_R(const std::vector< double > &x)
std::vector< double > short_ET_Thresh
std::vector< double > short_Energy_Thresh
std::vector< double > GetShort_Energy_Thresh()
void SetShort_R(const std::vector< double > &x)
void SetShort_ET_Thresh(const std::vector< double > &x)
void SetShort_Energy_Thresh(const std::vector< double > &x)
std::vector< double > short_R_29