CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)) {}
16  HitRZConstraint(const Line& lineLeft, const Line& lineRight) : theLineLeft(lineLeft), theLineRight(lineRight) {}
17 
18  const Line& lineLeft() const { return theLineLeft; }
19  const Line& lineRight() const { return theLineRight; }
20 
21 protected:
23 };
24 
25 #endif
const Line & lineRight() const
HitRZConstraint(const Point &leftPoint, float cotLeftLine, const Point &rightPoint, float cotRightLine)
const Line & lineLeft() const
HitRZConstraint(const Line &lineLeft, const Line &lineRight)
PixelRecoPointRZ Point