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::~EcalTBHodoscopeRecInfo
~EcalTBHodoscopeRecInfo()
Definition: EcalTBHodoscopeRecInfo.h:23
EcalTBHodoscopeRecInfo::setQualY
void setQualY(const float &yqual)
Definition: EcalTBHodoscopeRecInfo.h:41
EcalTBHodoscopeRecInfo::slopeX
float slopeX() const
Definition: EcalTBHodoscopeRecInfo.h:28
EcalTBHodoscopeRecInfo::slope_x_
float slope_x_
Definition: EcalTBHodoscopeRecInfo.h:47
EcalTBHodoscopeRecInfo::slopeY
float slopeY() const
Definition: EcalTBHodoscopeRecInfo.h:29
operator<<
std::ostream & operator<<(std::ostream &, const EcalTBHodoscopeRecInfo &)
Definition: EcalTBHodoscopeRecInfo.cc:3
EcalTBHodoscopeRecInfo::qual_x_
float qual_x_
Definition: EcalTBHodoscopeRecInfo.h:50
EcalTBHodoscopeRecInfo
Definition: EcalTBHodoscopeRecInfo.h:12
EcalTBHodoscopeRecInfo::setPosX
void setPosX(const float &xpos)
Definition: EcalTBHodoscopeRecInfo.h:34
EcalTBHodoscopeRecInfo::pos_x_
float pos_x_
Definition: EcalTBHodoscopeRecInfo.h:44
EcalTBHodoscopeRecInfo::slope_y_
float slope_y_
Definition: EcalTBHodoscopeRecInfo.h:48
EcalTBHodoscopeRecInfo::setPosY
void setPosY(const float &ypos)
Definition: EcalTBHodoscopeRecInfo.h:35
EcalTBHodoscopeRecInfo::posY
float posY() const
Definition: EcalTBHodoscopeRecInfo.h:26
EcalTBHodoscopeRecInfo::qualY
float qualY() const
Definition: EcalTBHodoscopeRecInfo.h:32
EcalTBHodoscopeRecInfo::pos_y_
float pos_y_
Definition: EcalTBHodoscopeRecInfo.h:45
EcalTBHodoscopeRecInfo::EcalTBHodoscopeRecInfo
EcalTBHodoscopeRecInfo()
Definition: EcalTBHodoscopeRecInfo.h:14
EcalTBHodoscopeRecInfo::setSlopeY
void setSlopeY(const float &yslope)
Definition: EcalTBHodoscopeRecInfo.h:38
EcalTBHodoscopeRecInfo::EcalTBHodoscopeRecInfo
EcalTBHodoscopeRecInfo(const float &xpos, const float &ypos, const float &xslope, const float &yslope, const float &xqual, const float &yqual)
Definition: EcalTBHodoscopeRecInfo.h:15
EcalTBHodoscopeRecInfo::qual_y_
float qual_y_
Definition: EcalTBHodoscopeRecInfo.h:51
EcalTBHodoscopeRecInfo::setQualX
void setQualX(const float &xqual)
Definition: EcalTBHodoscopeRecInfo.h:40
EcalTBHodoscopeRecInfo::qualX
float qualX() const
Definition: EcalTBHodoscopeRecInfo.h:31
EcalTBHodoscopeRecInfo::setSlopeX
void setSlopeX(const float &xslope)
Definition: EcalTBHodoscopeRecInfo.h:37
EcalTBHodoscopeRecInfo::posX
float posX() const
Definition: EcalTBHodoscopeRecInfo.h:25