CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Attributes
HitRZConstraint Class Reference

#include <HitRZConstraint.h>

Public Types

using Line = SimpleLineRZ
 
using Point = SimpleLineRZ::Point
 

Public Member Functions

 HitRZConstraint ()
 
 HitRZConstraint (const Line &lineLeft, const Line &lineRight)
 
 HitRZConstraint (const Point &leftPoint, float cotLeftLine, const Point &rightPoint, float cotRightLine)
 
const LinelineLeft () const
 
const LinelineRight () const
 

Protected Attributes

Line theLineLeft
 
Line theLineRight
 

Detailed Description

r-z constraint is formed by two PixelRecoLineRZ lines.

Definition at line 8 of file HitRZConstraint.h.

Member Typedef Documentation

◆ Line

Definition at line 10 of file HitRZConstraint.h.

◆ Point

Definition at line 11 of file HitRZConstraint.h.

Constructor & Destructor Documentation

◆ HitRZConstraint() [1/3]

HitRZConstraint::HitRZConstraint ( )
inline

Definition at line 13 of file HitRZConstraint.h.

13 {}

◆ HitRZConstraint() [2/3]

HitRZConstraint::HitRZConstraint ( const Point leftPoint,
float  cotLeftLine,
const Point rightPoint,
float  cotRightLine 
)
inline

Definition at line 14 of file HitRZConstraint.h.

15  : theLineLeft(Line(leftPoint, cotLeftLine)), theLineRight(Line(rightPoint, cotRightLine)) {}

◆ HitRZConstraint() [3/3]

HitRZConstraint::HitRZConstraint ( const Line lineLeft,
const Line lineRight 
)
inline

Definition at line 16 of file HitRZConstraint.h.

Member Function Documentation

◆ lineLeft()

const Line& HitRZConstraint::lineLeft ( ) const
inline

Definition at line 18 of file HitRZConstraint.h.

18 { return theLineLeft; }

References theLineLeft.

Referenced by HitEtaCheck::operator()(), HitZCheck::range(), and HitRCheck::range().

◆ lineRight()

const Line& HitRZConstraint::lineRight ( ) const
inline

Definition at line 19 of file HitRZConstraint.h.

19 { return theLineRight; }

References theLineRight.

Referenced by HitEtaCheck::operator()(), HitZCheck::range(), and HitRCheck::range().

Member Data Documentation

◆ theLineLeft

Line HitRZConstraint::theLineLeft
protected

Definition at line 22 of file HitRZConstraint.h.

Referenced by lineLeft().

◆ theLineRight

Line HitRZConstraint::theLineRight
protected

Definition at line 22 of file HitRZConstraint.h.

Referenced by lineRight().

HitRZConstraint::Line
SimpleLineRZ Line
Definition: HitRZConstraint.h:10
HitRZConstraint::theLineLeft
Line theLineLeft
Definition: HitRZConstraint.h:22
HitRZConstraint::lineLeft
const Line & lineLeft() const
Definition: HitRZConstraint.h:18
HitRZConstraint::theLineRight
Line theLineRight
Definition: HitRZConstraint.h:22
HitRZConstraint::lineRight
const Line & lineRight() const
Definition: HitRZConstraint.h:19