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
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 9 of file CTPPSFastTrack.h.

Member Typedef Documentation

Definition at line 12 of file CTPPSFastTrack.h.

Definition at line 11 of file CTPPSFastTrack.h.

Constructor & Destructor Documentation

CTPPSFastTrack::CTPPSFastTrack ( )
inline

Definition at line 14 of file CTPPSFastTrack.h.

15  : thet(0.),
16  thexi(0.),
17  thecellid(0),
18  thetof(0.),
19  thex1(0.),
20  they1(0.),
21  thex2(0.),
22  they2(0.),
23  momentum_(0, 0, 0),
24  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 26 of file CTPPSFastTrack.h.

36  : thet(t),
37  thexi(xi),
39  thetof(tof),
40  thex1(x1),
41  they1(y1),
42  thex2(x2),
43  they2(y2),
45  vertex_(vertex) {}
float y2() const
float y1() const
float t() const
float x2() 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 81 of file CTPPSFastTrack.h.

References thecellid.

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

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

track momentum vector

Referenced by setp().

float CTPPSFastTrack::px ( ) const
inline

Definition at line 74 of file CTPPSFastTrack.h.

References momentum_.

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

Definition at line 75 of file CTPPSFastTrack.h.

References momentum_.

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

Definition at line 76 of file CTPPSFastTrack.h.

References momentum_.

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

Reference point on the track.

void CTPPSFastTrack::setcellid ( unsigned int  cellid)
inline

Definition at line 101 of file CTPPSFastTrack.h.

References cellid(), and thecellid.

Referenced by CTPPSFastTrackingProducer::FastReco().

101 { thecellid = cellid; }
unsigned int thecellid
unsigned int cellid() const
void CTPPSFastTrack::setp ( const Vector momentum)
inline

Definition at line 83 of file CTPPSFastTrack.h.

References momentum(), and momentum_.

Referenced by CTPPSFastTrackingProducer::FastReco().

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

Definition at line 89 of file CTPPSFastTrack.h.

References t(), and thet.

Referenced by CTPPSFastTrackingProducer::FastReco().

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

Definition at line 87 of file CTPPSFastTrack.h.

References thetof, and tof().

Referenced by CTPPSFastTrackingProducer::FastReco().

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

Definition at line 85 of file CTPPSFastTrack.h.

References vertex(), and vertex_.

Referenced by CTPPSFastTrackingProducer::FastReco().

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

Definition at line 93 of file CTPPSFastTrack.h.

References thex1, and x1().

Referenced by CTPPSFastTrackingProducer::FastReco().

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

Definition at line 97 of file CTPPSFastTrack.h.

References thex2, and x2().

Referenced by CTPPSFastTrackingProducer::FastReco().

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

Definition at line 91 of file CTPPSFastTrack.h.

References thexi, and xi().

Referenced by CTPPSFastTrackingProducer::FastReco().

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

Definition at line 95 of file CTPPSFastTrack.h.

References they1, and y1().

Referenced by CTPPSFastTrackingProducer::FastReco().

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

Definition at line 99 of file CTPPSFastTrack.h.

References they2, and y2().

Referenced by CTPPSFastTrackingProducer::FastReco().

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

Definition at line 61 of file CTPPSFastTrack.h.

References thet.

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

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

Definition at line 59 of file CTPPSFastTrack.h.

References tof().

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

Definition at line 65 of file CTPPSFastTrack.h.

References thetof.

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

65 { return thetof; }
const Point& CTPPSFastTrack::vertex ( ) const

Referenced by Tau.Tau::dxy(), and setvertex().

float CTPPSFastTrack::x0 ( ) const
inline

Definition at line 77 of file CTPPSFastTrack.h.

References vertex_.

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

Definition at line 63 of file CTPPSFastTrack.h.

References thexi.

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

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

Definition at line 78 of file CTPPSFastTrack.h.

References vertex_.

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

Definition at line 73 of file CTPPSFastTrack.h.

References they2.

Referenced by sety2().

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

Definition at line 79 of file CTPPSFastTrack.h.

References vertex_.

79 { return vertex_.Z(); }

Member Data Documentation

Vector CTPPSFastTrack::momentum_
private

Definition at line 112 of file CTPPSFastTrack.h.

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

unsigned int CTPPSFastTrack::thecellid
private

Definition at line 106 of file CTPPSFastTrack.h.

Referenced by cellid(), and setcellid().

float CTPPSFastTrack::thet
private

Definition at line 104 of file CTPPSFastTrack.h.

Referenced by sett(), and t().

float CTPPSFastTrack::thetof
private

Definition at line 107 of file CTPPSFastTrack.h.

Referenced by settof(), and tof().

float CTPPSFastTrack::thex1
private

Definition at line 108 of file CTPPSFastTrack.h.

Referenced by setx1(), and x1().

float CTPPSFastTrack::thex2
private

Definition at line 110 of file CTPPSFastTrack.h.

Referenced by setx2(), and x2().

float CTPPSFastTrack::thexi
private

Definition at line 105 of file CTPPSFastTrack.h.

Referenced by setxi(), and xi().

float CTPPSFastTrack::they1
private

Definition at line 109 of file CTPPSFastTrack.h.

Referenced by sety1(), and y1().

float CTPPSFastTrack::they2
private

Definition at line 111 of file CTPPSFastTrack.h.

Referenced by sety2(), and y2().

Point CTPPSFastTrack::vertex_
private

Definition at line 113 of file CTPPSFastTrack.h.

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