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(std::vector<double> short_R,
30  std::vector<double> short_Energy,
31  std::vector<double> short_ET,
32  std::vector<double> long_R,
33  std::vector<double> long_Energy,
34  std::vector<double> long_ET,
35  int HcalAcceptSeverityLevel,
36  // special case for ieta=29
37  std::vector<double> short_R_29,
38  std::vector<double> long_R_29);
39 
40  // Destructor
42 
43  void HFSetFlagFromPET(HFRecHit& hf,
44  HFRecHitCollection& rec,
45  HcalChannelQuality* myqual,
46  const HcalSeverityLevelComputer* mySeverity);
47  double CalcThreshold(double abs_energy,std::vector<double> params);
48 
49  void SetShort_R(std::vector<double> x){short_R=x;}
50  void SetShort_ET_Thresh(std::vector<double> x){short_ET_Thresh=x;}
51  void SetShort_Energy_Thresh(std::vector<double> x){short_Energy_Thresh=x;}
52  void SetLong_R(std::vector<double> x){long_R=x;}
53  void SetLong_ET_Thresh(std::vector<double> x){long_ET_Thresh=x;}
54  void SetLong_Energy_Thresh(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
std::vector< double > GetLong_Energy_Thresh()
void SetLong_R(std::vector< double > x)
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 SetLong_ET_Thresh(std::vector< double > x)
void HFSetFlagFromPET(HFRecHit &hf, HFRecHitCollection &rec, HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity)
std::vector< double > long_R
void SetShort_Energy_Thresh(std::vector< double > x)
std::vector< double > GetLong_R()
std::vector< double > long_R_29
void SetShort_ET_Thresh(std::vector< double > x)
std::vector< double > GetShort_R()
std::vector< double > short_ET_Thresh
std::vector< double > short_Energy_Thresh
std::vector< double > GetShort_Energy_Thresh()
void SetLong_Energy_Thresh(std::vector< double > x)
Definition: DDAxes.h:10
void SetShort_R(std::vector< double > x)
double CalcThreshold(double abs_energy, std::vector< double > params)
std::vector< double > short_R_29