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
SimpleLineRZ::Point
PixelRecoPointRZ Point
Definition: PixelRecoLineRZ.h:65
HitRZConstraint::HitRZConstraint
HitRZConstraint(const Line &lineLeft, const Line &lineRight)
Definition: HitRZConstraint.h:16
HitRZConstraint::theLineLeft
Line theLineLeft
Definition: HitRZConstraint.h:22
HitRZConstraint::HitRZConstraint
HitRZConstraint()
Definition: HitRZConstraint.h:13
HitRZConstraint
Definition: HitRZConstraint.h:8
HitRZConstraint::lineLeft
const Line & lineLeft() const
Definition: HitRZConstraint.h:18
PixelRecoPointRZ
Definition: PixelRecoPointRZ.h:6
SimpleLineRZ
Definition: PixelRecoLineRZ.h:63
PixelRecoLineRZ.h
HitRZConstraint::theLineRight
Line theLineRight
Definition: HitRZConstraint.h:22
HitRZConstraint::lineRight
const Line & lineRight() const
Definition: HitRZConstraint.h:19
HitRZConstraint::HitRZConstraint
HitRZConstraint(const Point &leftPoint, float cotLeftLine, const Point &rightPoint, float cotRightLine)
Definition: HitRZConstraint.h:14