RecoTracker
TkTrackingRegions
interface
HitRZConstraint.h
Go to the documentation of this file.
1
#ifndef HitRZConstraint_H
2
#define HitRZConstraint_H
3
6
#include "
RecoTracker/TkMSParametrization/interface/PixelRecoLineRZ.h
"
7
8
class
HitRZConstraint
{
9
public
:
10
using
Line
=
SimpleLineRZ
;
11
using
Point
=
SimpleLineRZ::Point
;
12
13
HitRZConstraint
() {}
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
:
22
Line
theLineLeft
,
theLineRight
;
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
Generated for CMSSW Reference Manual by
1.8.16