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

Member Typedef Documentation

◆ Point

Definition at line 12 of file CTPPSFastTrack.h.

◆ Vector

Definition at line 11 of file CTPPSFastTrack.h.

Constructor & Destructor Documentation

◆ CTPPSFastTrack() [1/2]

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() [2/2]

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) {}
const Point & vertex() const
float y1() const
float xi() const
unsigned int cellid() const
unsigned int thecellid
float tof() const
float x2() const
float t() const
float y2() const
float x1() const
const Vector & momentum() const
track momentum vector

Member Function Documentation

◆ cellid()

unsigned int CTPPSFastTrack::cellid ( ) const
inline

Definition at line 81 of file CTPPSFastTrack.h.

References thecellid.

Referenced by setcellid().

81 { return thecellid; }
unsigned int thecellid

◆ momentum()

const Vector& CTPPSFastTrack::momentum ( ) const

track momentum vector

Referenced by setp().

◆ px()

float CTPPSFastTrack::px ( ) const
inline

Definition at line 74 of file CTPPSFastTrack.h.

References momentum_.

74 { return momentum_.x(); }

◆ py()

float CTPPSFastTrack::py ( ) const
inline

Definition at line 75 of file CTPPSFastTrack.h.

References momentum_.

75 { return momentum_.Y(); }

◆ pz()

float CTPPSFastTrack::pz ( ) const
inline

Definition at line 76 of file CTPPSFastTrack.h.

References momentum_.

76 { return momentum_.Z(); }

◆ referencePoint()

const Point& CTPPSFastTrack::referencePoint ( ) const

Reference point on the track.

◆ setcellid()

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 cellid() const
unsigned int thecellid

◆ setp()

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

◆ sett()

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

◆ settof()

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

◆ setvertex()

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

◆ setx1()

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

◆ setx2()

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

◆ setxi()

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

◆ sety1()

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

◆ sety2()

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

◆ t()

float CTPPSFastTrack::t ( ) const
inline

Definition at line 61 of file CTPPSFastTrack.h.

References thet.

Referenced by sett().

61 { return thet; }

◆ timeOfFlight()

float CTPPSFastTrack::timeOfFlight ( ) const
inline

Definition at line 59 of file CTPPSFastTrack.h.

References tof().

59 { return tof(); }
float tof() const

◆ tof()

float CTPPSFastTrack::tof ( ) const
inline

Definition at line 65 of file CTPPSFastTrack.h.

References thetof.

Referenced by settof(), and timeOfFlight().

65 { return thetof; }

◆ vertex()

const Point& CTPPSFastTrack::vertex ( ) const

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

◆ x0()

float CTPPSFastTrack::x0 ( ) const
inline

Definition at line 77 of file CTPPSFastTrack.h.

References vertex_.

77 { return vertex_.x(); }

◆ x1()

float CTPPSFastTrack::x1 ( void  ) const
inline

◆ x2()

float CTPPSFastTrack::x2 ( void  ) const
inline

◆ xi()

float CTPPSFastTrack::xi ( ) const
inline

Definition at line 63 of file CTPPSFastTrack.h.

References thexi.

Referenced by setxi().

63 { return thexi; }

◆ y0()

float CTPPSFastTrack::y0 ( ) const
inline

Definition at line 78 of file CTPPSFastTrack.h.

References vertex_.

78 { return vertex_.Y(); }

◆ y1()

float CTPPSFastTrack::y1 ( void  ) const
inline

◆ y2()

float CTPPSFastTrack::y2 ( void  ) const
inline

Definition at line 73 of file CTPPSFastTrack.h.

References they2.

Referenced by sety2().

73 { return they2; }

◆ z0()

float CTPPSFastTrack::z0 ( ) const
inline

Definition at line 79 of file CTPPSFastTrack.h.

References vertex_.

79 { return vertex_.Z(); }

Member Data Documentation

◆ momentum_

Vector CTPPSFastTrack::momentum_
private

Definition at line 112 of file CTPPSFastTrack.h.

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

◆ thecellid

unsigned int CTPPSFastTrack::thecellid
private

Definition at line 106 of file CTPPSFastTrack.h.

Referenced by cellid(), and setcellid().

◆ thet

float CTPPSFastTrack::thet
private

Definition at line 104 of file CTPPSFastTrack.h.

Referenced by sett(), and t().

◆ thetof

float CTPPSFastTrack::thetof
private

Definition at line 107 of file CTPPSFastTrack.h.

Referenced by settof(), and tof().

◆ thex1

float CTPPSFastTrack::thex1
private

Definition at line 108 of file CTPPSFastTrack.h.

Referenced by setx1(), and x1().

◆ thex2

float CTPPSFastTrack::thex2
private

Definition at line 110 of file CTPPSFastTrack.h.

Referenced by setx2(), and x2().

◆ thexi

float CTPPSFastTrack::thexi
private

Definition at line 105 of file CTPPSFastTrack.h.

Referenced by setxi(), and xi().

◆ they1

float CTPPSFastTrack::they1
private

Definition at line 109 of file CTPPSFastTrack.h.

Referenced by sety1(), and y1().

◆ they2

float CTPPSFastTrack::they2
private

Definition at line 111 of file CTPPSFastTrack.h.

Referenced by sety2(), and y2().

◆ vertex_

Point CTPPSFastTrack::vertex_
private

Definition at line 113 of file CTPPSFastTrack.h.

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