CMS 3D CMS Logo

EcalTBHodoscopeRecInfo.h
Go to the documentation of this file.
1 #ifndef RECECAL_ECALTBHODOSCOPERECINFO_H
2 #define RECECAL_ECALTBHODOSCOPERECINFO_H 1
3 
4 #include <ostream>
5 
13 public:
15  EcalTBHodoscopeRecInfo(const float& xpos,
16  const float& ypos,
17  const float& xslope,
18  const float& yslope,
19  const float& xqual,
20  const float& yqual)
21  : pos_x_(xpos), pos_y_(ypos), slope_x_(xslope), slope_y_(yslope), qual_x_(xqual), qual_y_(yqual){};
22 
24 
25  float posX() const { return pos_x_; }
26  float posY() const { return pos_y_; }
27 
28  float slopeX() const { return slope_x_; }
29  float slopeY() const { return slope_y_; }
30 
31  float qualX() const { return qual_x_; }
32  float qualY() const { return qual_y_; }
33 
34  void setPosX(const float& xpos) { pos_x_ = xpos; }
35  void setPosY(const float& ypos) { pos_y_ = ypos; }
36 
37  void setSlopeX(const float& xslope) { slope_x_ = xslope; }
38  void setSlopeY(const float& yslope) { slope_y_ = yslope; }
39 
40  void setQualX(const float& xqual) { qual_x_ = xqual; }
41  void setQualY(const float& yqual) { qual_y_ = yqual; }
42 
43 private:
44  float pos_x_;
45  float pos_y_;
46 
47  float slope_x_;
48  float slope_y_;
49 
50  float qual_x_;
51  float qual_y_;
52 };
53 
54 std::ostream& operator<<(std::ostream&, const EcalTBHodoscopeRecInfo&);
55 
56 #endif
EcalTBHodoscopeRecInfo(const float &xpos, const float &ypos, const float &xslope, const float &yslope, const float &xqual, const float &yqual)
void setPosY(const float &ypos)
void setPosX(const float &xpos)
std::ostream & operator<<(std::ostream &, const EcalTBHodoscopeRecInfo &)
void setSlopeX(const float &xslope)
void setQualX(const float &xqual)
void setSlopeY(const float &yslope)
void setQualY(const float &yqual)