test
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 
14  public:
16  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)
17  {
18  };
19 
21 
22  float posX() const { return pos_x_; }
23  float posY() const { return pos_y_; }
24 
25  float slopeX() const { return slope_x_; }
26  float slopeY() const { return slope_y_; }
27 
28  float qualX() const { return qual_x_; }
29  float qualY() const { return qual_y_; }
30 
31  void setPosX(const float& xpos) { pos_x_=xpos; }
32  void setPosY(const float& ypos) { pos_y_=ypos; }
33 
34  void setSlopeX(const float& xslope) { slope_x_=xslope; }
35  void setSlopeY(const float& yslope) { slope_y_=yslope; }
36 
37  void setQualX(const float& xqual) { qual_x_=xqual; }
38  void setQualY(const float& yqual) { qual_y_=yqual; }
39 
40  private:
41 
42  float pos_x_;
43  float pos_y_;
44 
45  float slope_x_;
46  float slope_y_;
47 
48  float qual_x_;
49  float qual_y_;
50 
51 
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 &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)