CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 63 of file PixelRecoLineRZ.h.

Member Typedef Documentation

Definition at line 65 of file PixelRecoLineRZ.h.

Constructor & Destructor Documentation

SimpleLineRZ::SimpleLineRZ ( )
inline

Definition at line 67 of file PixelRecoLineRZ.h.

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

Definition at line 69 of file PixelRecoLineRZ.h.

69 : theOrigin(aOrigin), theCotLine(aCotLine) {}
SimpleLineRZ::SimpleLineRZ ( const Point aOrigin,
const Point aPoint 
)
inline

Definition at line 71 of file PixelRecoLineRZ.h.

72  : theOrigin(aOrigin), theCotLine((aPoint.z() - theOrigin.z()) / (aPoint.r() - theOrigin.r())) {}
float z() const
float r() const

Member Function Documentation

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

Definition at line 75 of file PixelRecoLineRZ.h.

References theOrigin.

75 { 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 82 of file PixelRecoLineRZ.h.

Referenced by cotLine(), rAtZ(), and zAtR().

Point SimpleLineRZ::theOrigin
private

Definition at line 81 of file PixelRecoLineRZ.h.

Referenced by origin(), rAtZ(), and zAtR().