CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
15  public:
17  EcalTBHodoscopeRecInfo(const float& xpos, const float& ypos, const float& xslope, const float& yslope, const float& xqual, const float& yqual): pos_x_(xpos), pos_y_(ypos), slope_x_(xslope), slope_y_(yslope), qual_x_(xqual), qual_y_(yqual)
18  {
19  };
20 
22 
23  float posX() const { return pos_x_; }
24  float posY() const { return pos_y_; }
25 
26  float slopeX() const { return slope_x_; }
27  float slopeY() const { return slope_y_; }
28 
29  float qualX() const { return qual_x_; }
30  float qualY() const { return qual_y_; }
31 
32  void setPosX(const float& xpos) { pos_x_=xpos; }
33  void setPosY(const float& ypos) { pos_y_=ypos; }
34 
35  void setSlopeX(const float& xslope) { slope_x_=xslope; }
36  void setSlopeY(const float& yslope) { slope_y_=yslope; }
37 
38  void setQualX(const float& xqual) { qual_x_=xqual; }
39  void setQualY(const float& yqual) { qual_y_=yqual; }
40 
41  private:
42 
43  float pos_x_;
44  float pos_y_;
45 
46  float slope_x_;
47  float slope_y_;
48 
49  float qual_x_;
50  float qual_y_;
51 
52 
53 };
54 
55 std::ostream& operator<<(std::ostream&, const EcalTBHodoscopeRecInfo&);
56 
57 #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 &out, const ALILine &li)
Definition: ALILine.cc:187
void setSlopeX(const float &xslope)
void setQualX(const float &xqual)
void setSlopeY(const float &yslope)
void setQualY(const float &yqual)