CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
SimpleLineRZ Class Reference

#include <PixelRecoLineRZ.h>

Public Types

typedef PixelRecoPointRZ Point
 

Public Member Functions

float cotLine () const
 
Point const & origin () const
 
float rAtZ (float z) const
 
 SimpleLineRZ ()
 
 SimpleLineRZ (const Point &aOrigin, float aCotLine)
 
 SimpleLineRZ (const Point &aOrigin, const Point &aPoint)
 
float zAtR (float r) const
 

Private Attributes

float theCotLine =0
 
Point theOrigin
 

Detailed Description

Definition at line 71 of file PixelRecoLineRZ.h.

Member Typedef Documentation

Definition at line 74 of file PixelRecoLineRZ.h.

Constructor & Destructor Documentation

SimpleLineRZ::SimpleLineRZ ( )
inline

Definition at line 76 of file PixelRecoLineRZ.h.

76 { }
SimpleLineRZ::SimpleLineRZ ( const Point aOrigin,
float  aCotLine 
)
inline

Definition at line 78 of file PixelRecoLineRZ.h.

78  :
79  theOrigin( aOrigin ),
80  theCotLine(aCotLine) { }
SimpleLineRZ::SimpleLineRZ ( const Point aOrigin,
const Point aPoint 
)
inline

Definition at line 82 of file PixelRecoLineRZ.h.

82  :
83  theOrigin( aOrigin ),
84  theCotLine( (aPoint.z()-theOrigin.z())/ (aPoint.r()-theOrigin.r()) )
85  { }
float z() const
float r() const

Member Function Documentation

float SimpleLineRZ::cotLine ( ) const
inline
Point const& SimpleLineRZ::origin ( ) const
inline

Definition at line 88 of file PixelRecoLineRZ.h.

References PixelRecoLineRZ::theOrigin.

88 { return theOrigin; }
float SimpleLineRZ::rAtZ ( float  z) const
inline
float SimpleLineRZ::zAtR ( float  r) const
inline

Member Data Documentation

float SimpleLineRZ::theCotLine =0
private

Definition at line 96 of file PixelRecoLineRZ.h.

Point SimpleLineRZ::theOrigin
private

Definition at line 95 of file PixelRecoLineRZ.h.