CMS 3D CMS Logo

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

#include <CTPPSFastTrack.h>

Public Types

typedef math::XYZPoint Point
 
typedef math::XYZVector Vector
 

Public Member Functions

unsigned int cellid () const
 
 CTPPSFastTrack ()
 
 CTPPSFastTrack (float t, float xi, unsigned int cellid, float tof, float x1, float y1, float x2, float y2, const Vector &momentum, const Point &vertex)
 
const Vectormomentum () const
 track momentum vector More...
 
float px () const
 
float py () const
 
float pz () const
 
const PointreferencePoint () const
 Reference point on the track. More...
 
void setcellid (unsigned int cellid)
 
void setp (const Vector &momentum)
 
void sett (float t)
 
void settof (float tof)
 
void setvertex (const Point &vertex)
 
void setx1 (float x1)
 
void setx2 (float x2)
 
void setxi (float xi)
 
void sety1 (float y1)
 
void sety2 (float y2)
 
float t () const
 
float timeOfFlight () const
 
float tof () const
 
const Pointvertex () const
 
float x0 () const
 
float x1 () const
 
float x2 () const
 
float xi () const
 
float y0 () const
 
float y1 () const
 
float y2 () const
 
float z0 () const
 

Private Attributes

Vector momentum_
 
unsigned int thecellid
 
float thet
 
float thetof
 
float thex1
 
float thex2
 
float thexi
 
float they1
 
float they2
 
Point vertex_
 

Detailed Description

Definition at line 10 of file CTPPSFastTrack.h.

Member Typedef Documentation

Definition at line 13 of file CTPPSFastTrack.h.

Definition at line 12 of file CTPPSFastTrack.h.

Constructor & Destructor Documentation

CTPPSFastTrack::CTPPSFastTrack ( )
inline

Definition at line 15 of file CTPPSFastTrack.h.

15 : thet(0.),thexi(0.),thecellid(0),thetof(0.),thex1(0.),they1(0.),thex2(0.),they2(0.),momentum_(0, 0, 0),vertex_(0, 0, 0) {}
unsigned int thecellid
CTPPSFastTrack::CTPPSFastTrack ( float  t,
float  xi,
unsigned int  cellid,
float  tof,
float  x1,
float  y1,
float  x2,
float  y2,
const Vector momentum,
const Point vertex 
)
inline

Definition at line 17 of file CTPPSFastTrack.h.

References momentum(), referencePoint(), and vertex().

17  :
18  thet(t),
19  thexi(xi),
21  thetof(tof),
22  thex1(x1),
23  they1(y1),
24  thex2(x2),
25  they2(y2),
27  vertex_(vertex) {}
float y2() const
float y1() const
float t() const
float x2() const
const Point & vertex() const
unsigned int thecellid
unsigned int cellid() const
float x1() const
float xi() const
float tof() const
const Vector & momentum() const
track momentum vector

Member Function Documentation

unsigned int CTPPSFastTrack::cellid ( ) const
inline

Definition at line 63 of file CTPPSFastTrack.h.

References thecellid.

Referenced by operator<<(), and setcellid().

63 {return thecellid;}
unsigned int thecellid
const Vector& CTPPSFastTrack::momentum ( ) const

track momentum vector

Referenced by CTPPSFastTrack(), and setp().

float CTPPSFastTrack::px ( ) const
inline

Definition at line 56 of file CTPPSFastTrack.h.

References momentum_.

56 {return momentum_.x();}
float CTPPSFastTrack::py ( ) const
inline

Definition at line 57 of file CTPPSFastTrack.h.

References momentum_.

57 {return momentum_.Y();}
float CTPPSFastTrack::pz ( ) const
inline

Definition at line 58 of file CTPPSFastTrack.h.

References momentum_.

58 {return momentum_.Z();}
const Point& CTPPSFastTrack::referencePoint ( ) const

Reference point on the track.

Referenced by CTPPSFastTrack().

void CTPPSFastTrack::setcellid ( unsigned int  cellid)
inline

Definition at line 83 of file CTPPSFastTrack.h.

References cellid(), and thecellid.

Referenced by CTPPSFastTrackingProducer::FastReco().

unsigned int thecellid
unsigned int cellid() const
void CTPPSFastTrack::setp ( const Vector momentum)
inline

Definition at line 65 of file CTPPSFastTrack.h.

References momentum(), and momentum_.

Referenced by CTPPSFastTrackingProducer::FastReco().

65 { momentum_ = momentum; }
const Vector & momentum() const
track momentum vector
void CTPPSFastTrack::sett ( float  t)
inline

Definition at line 71 of file CTPPSFastTrack.h.

References t(), and thet.

Referenced by CTPPSFastTrackingProducer::FastReco().

71 {thet = t;}
float t() const
void CTPPSFastTrack::settof ( float  tof)
inline

Definition at line 69 of file CTPPSFastTrack.h.

References thetof, and tof().

Referenced by CTPPSFastTrackingProducer::FastReco().

69 {thetof=tof;}
float tof() const
void CTPPSFastTrack::setvertex ( const Point vertex)
inline

Definition at line 67 of file CTPPSFastTrack.h.

References vertex(), and vertex_.

Referenced by CTPPSFastTrackingProducer::FastReco().

67 {vertex_ = vertex;}
const Point & vertex() const
void CTPPSFastTrack::setx1 ( float  x1)
inline

Definition at line 75 of file CTPPSFastTrack.h.

References thex1, and x1().

Referenced by CTPPSFastTrackingProducer::FastReco().

75 {thex1 = x1;}
float x1() const
void CTPPSFastTrack::setx2 ( float  x2)
inline

Definition at line 79 of file CTPPSFastTrack.h.

References thex2, and x2().

Referenced by CTPPSFastTrackingProducer::FastReco().

79 {thex2 = x2;}
float x2() const
void CTPPSFastTrack::setxi ( float  xi)
inline

Definition at line 73 of file CTPPSFastTrack.h.

References thexi, and xi().

Referenced by CTPPSFastTrackingProducer::FastReco().

73 {thexi = xi;}
float xi() const
void CTPPSFastTrack::sety1 ( float  y1)
inline

Definition at line 77 of file CTPPSFastTrack.h.

References they1, and y1().

Referenced by CTPPSFastTrackingProducer::FastReco().

77 {they1 = y1;}
float y1() const
void CTPPSFastTrack::sety2 ( float  y2)
inline

Definition at line 81 of file CTPPSFastTrack.h.

References they2, and y2().

Referenced by CTPPSFastTrackingProducer::FastReco().

81 {they2 = y2;}
float y2() const
float CTPPSFastTrack::t ( ) const
inline

Definition at line 43 of file CTPPSFastTrack.h.

References thet.

Referenced by operator<<(), and sett().

43 {return thet;}
float CTPPSFastTrack::timeOfFlight ( ) const
inline

Definition at line 41 of file CTPPSFastTrack.h.

References tof().

41 {return tof();}
float tof() const
float CTPPSFastTrack::tof ( ) const
inline

Definition at line 47 of file CTPPSFastTrack.h.

References thetof.

Referenced by operator<<(), settof(), and timeOfFlight().

47 {return thetof;}
const Point& CTPPSFastTrack::vertex ( ) const
float CTPPSFastTrack::x0 ( ) const
inline

Definition at line 59 of file CTPPSFastTrack.h.

References vertex_.

59 {return vertex_.x();}
float CTPPSFastTrack::x1 ( void  ) const
inline
float CTPPSFastTrack::x2 ( void  ) const
inline
float CTPPSFastTrack::xi ( ) const
inline

Definition at line 45 of file CTPPSFastTrack.h.

References thexi.

Referenced by operator<<(), and setxi().

45 {return thexi;}
float CTPPSFastTrack::y0 ( ) const
inline

Definition at line 60 of file CTPPSFastTrack.h.

References vertex_.

60 {return vertex_.Y();}
float CTPPSFastTrack::y1 ( void  ) const
inline
float CTPPSFastTrack::y2 ( void  ) const
inline

Definition at line 55 of file CTPPSFastTrack.h.

References they2.

Referenced by sety2().

55 {return they2;}
float CTPPSFastTrack::z0 ( ) const
inline

Definition at line 61 of file CTPPSFastTrack.h.

References vertex_.

61 {return vertex_.Z();}

Member Data Documentation

Vector CTPPSFastTrack::momentum_
private

Definition at line 94 of file CTPPSFastTrack.h.

Referenced by px(), py(), pz(), and setp().

unsigned int CTPPSFastTrack::thecellid
private

Definition at line 88 of file CTPPSFastTrack.h.

Referenced by cellid(), and setcellid().

float CTPPSFastTrack::thet
private

Definition at line 86 of file CTPPSFastTrack.h.

Referenced by sett(), and t().

float CTPPSFastTrack::thetof
private

Definition at line 89 of file CTPPSFastTrack.h.

Referenced by settof(), and tof().

float CTPPSFastTrack::thex1
private

Definition at line 90 of file CTPPSFastTrack.h.

Referenced by setx1(), and x1().

float CTPPSFastTrack::thex2
private

Definition at line 92 of file CTPPSFastTrack.h.

Referenced by setx2(), and x2().

float CTPPSFastTrack::thexi
private

Definition at line 87 of file CTPPSFastTrack.h.

Referenced by setxi(), and xi().

float CTPPSFastTrack::they1
private

Definition at line 91 of file CTPPSFastTrack.h.

Referenced by sety1(), and y1().

float CTPPSFastTrack::they2
private

Definition at line 93 of file CTPPSFastTrack.h.

Referenced by sety2(), and y2().

Point CTPPSFastTrack::vertex_
private

Definition at line 95 of file CTPPSFastTrack.h.

Referenced by setvertex(), x0(), y0(), and z0().