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 
25  public:
28 
29  HcalHF_PETalgorithm(const std::vector<double>& short_R,
30  const std::vector<double>& short_Energy,
31  const std::vector<double>& short_ET,
32  const std::vector<double>& long_R,
33  const std::vector<double>& long_Energy,
34  const std::vector<double>& long_ET,
35  int HcalAcceptSeverityLevel,
36  // special case for ieta=29
37  const std::vector<double>& short_R_29,
38  const std::vector<double>& long_R_29);
39 
40  // Destructor
42 
43  void HFSetFlagFromPET(HFRecHit& hf,
44  HFRecHitCollection& rec,
45  const HcalChannelQuality* myqual,
46  const HcalSeverityLevelComputer* mySeverity);
47  double CalcThreshold(double abs_energy,const std::vector<double>& params);
48 
49  void SetShort_R(const std::vector<double>& x){short_R=x;}
50  void SetShort_ET_Thresh(const std::vector<double>& x){short_ET_Thresh=x;}
51  void SetShort_Energy_Thresh(const std::vector<double>& x){short_Energy_Thresh=x;}
52  void SetLong_R(const std::vector<double>& x){long_R=x;}
53  void SetLong_ET_Thresh(const std::vector<double>& x){long_ET_Thresh=x;}
54  void SetLong_Energy_Thresh(const std::vector<double>& x){long_Energy_Thresh=x;}
55 
56  std::vector<double> GetShort_R(){return short_R;}
57  std::vector<double> GetShort_ET_Thresh(){return short_ET_Thresh;}
58  std::vector<double> GetShort_Energy_Thresh(){return short_Energy_Thresh;}
59  std::vector<double> GetLong_R(){return long_R;}
60  std::vector<double> GetLong_ET_Thresh(){return long_ET_Thresh;}
61  std::vector<double> GetLong_Energy_Thresh(){return long_Energy_Thresh;}
62 
64 
65  private:
66  std::vector<double> short_R;
67  std::vector<double> short_ET_Thresh;
68  std::vector<double> short_Energy_Thresh;
69 
70  std::vector<double> long_R;
71  std::vector<double> long_ET_Thresh;
72  std::vector<double> long_Energy_Thresh;
74  std::vector<double> short_R_29;
75  std::vector<double> long_R_29;
76 };
77 
78 
79 #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)
Definition: DDAxes.h:10
void SetShort_ET_Thresh(const std::vector< double > &x)
void SetShort_Energy_Thresh(const std::vector< double > &x)
std::vector< double > short_R_29