CMS 3D CMS Logo

HitRZConstraint.h
Go to the documentation of this file.
1 #ifndef HitRZConstraint_H
2 #define HitRZConstraint_H
3 
7 
9 public:
10  using Line = SimpleLineRZ;
12 
14  HitRZConstraint(const Point& leftPoint, float cotLeftLine, const Point& rightPoint, float cotRightLine)
15  : theLineLeft(Line(leftPoint, cotLeftLine)), theLineRight(Line(rightPoint, cotRightLine)) {}
17 
18  const Line& lineLeft() const { return theLineLeft; }
19  const Line& lineRight() const { return theLineRight; }
20 
21 protected:
23 };
24 
25 #endif
HitRZConstraint(const Point &leftPoint, float cotLeftLine, const Point &rightPoint, float cotRightLine)
const Line & lineLeft() const
const Line & lineRight() const
HitRZConstraint(const Line &lineLeft, const Line &lineRight)
PixelRecoPointRZ Point