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) {}

◆ 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) {}

Member Function Documentation

◆ cellid()

unsigned int CTPPSFastTrack::cellid ( ) const
inline

Definition at line 81 of file CTPPSFastTrack.h.

81 { return thecellid; }

References thecellid.

Referenced by setcellid().

◆ 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.

74 { return momentum_.x(); }

References momentum_.

◆ py()

float CTPPSFastTrack::py ( ) const
inline

Definition at line 75 of file CTPPSFastTrack.h.

75 { return momentum_.Y(); }

References momentum_.

◆ pz()

float CTPPSFastTrack::pz ( ) const
inline

Definition at line 76 of file CTPPSFastTrack.h.

76 { return momentum_.Z(); }

References momentum_.

◆ 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.

101 { thecellid = cellid; }

References cellid(), and thecellid.

Referenced by CTPPSFastTrackingProducer::FastReco().

◆ setp()

void CTPPSFastTrack::setp ( const Vector momentum)
inline

Definition at line 83 of file CTPPSFastTrack.h.

83 { momentum_ = momentum; }

References momentum(), and momentum_.

Referenced by CTPPSFastTrackingProducer::FastReco().

◆ sett()

void CTPPSFastTrack::sett ( float  t)
inline

Definition at line 89 of file CTPPSFastTrack.h.

89 { thet = t; }

References t(), and thet.

Referenced by CTPPSFastTrackingProducer::FastReco().

◆ settof()

void CTPPSFastTrack::settof ( float  tof)
inline

Definition at line 87 of file CTPPSFastTrack.h.

87 { thetof = tof; }

References thetof, and tof().

Referenced by CTPPSFastTrackingProducer::FastReco().

◆ setvertex()

void CTPPSFastTrack::setvertex ( const Point vertex)
inline

Definition at line 85 of file CTPPSFastTrack.h.

85 { vertex_ = vertex; }

References vertex(), and vertex_.

Referenced by CTPPSFastTrackingProducer::FastReco().

◆ setx1()

void CTPPSFastTrack::setx1 ( float  x1)
inline

Definition at line 93 of file CTPPSFastTrack.h.

93 { thex1 = x1; }

References thex1, and x1().

Referenced by CTPPSFastTrackingProducer::FastReco().

◆ setx2()

void CTPPSFastTrack::setx2 ( float  x2)
inline

Definition at line 97 of file CTPPSFastTrack.h.

97 { thex2 = x2; }

References thex2, and x2().

Referenced by CTPPSFastTrackingProducer::FastReco().

◆ setxi()

void CTPPSFastTrack::setxi ( float  xi)
inline

Definition at line 91 of file CTPPSFastTrack.h.

91 { thexi = xi; }

References thexi, and xi().

Referenced by CTPPSFastTrackingProducer::FastReco().

◆ sety1()

void CTPPSFastTrack::sety1 ( float  y1)
inline

Definition at line 95 of file CTPPSFastTrack.h.

95 { they1 = y1; }

References they1, and y1().

Referenced by CTPPSFastTrackingProducer::FastReco().

◆ sety2()

void CTPPSFastTrack::sety2 ( float  y2)
inline

Definition at line 99 of file CTPPSFastTrack.h.

99 { they2 = y2; }

References they2, and y2().

Referenced by CTPPSFastTrackingProducer::FastReco().

◆ t()

float CTPPSFastTrack::t ( ) const
inline

Definition at line 61 of file CTPPSFastTrack.h.

61 { return thet; }

References thet.

Referenced by sett().

◆ timeOfFlight()

float CTPPSFastTrack::timeOfFlight ( ) const
inline

Definition at line 59 of file CTPPSFastTrack.h.

59 { return tof(); }

References tof().

◆ tof()

float CTPPSFastTrack::tof ( ) const
inline

Definition at line 65 of file CTPPSFastTrack.h.

65 { return thetof; }

References thetof.

Referenced by settof(), and timeOfFlight().

◆ 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.

77 { return vertex_.x(); }

References vertex_.

◆ 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.

63 { return thexi; }

References thexi.

Referenced by setxi().

◆ y0()

float CTPPSFastTrack::y0 ( ) const
inline

Definition at line 78 of file CTPPSFastTrack.h.

78 { return vertex_.Y(); }

References vertex_.

◆ y1()

float CTPPSFastTrack::y1 ( void  ) const
inline

◆ y2()

float CTPPSFastTrack::y2 ( void  ) const
inline

Definition at line 73 of file CTPPSFastTrack.h.

73 { return they2; }

References they2.

Referenced by sety2().

◆ z0()

float CTPPSFastTrack::z0 ( ) const
inline

Definition at line 79 of file CTPPSFastTrack.h.

79 { return vertex_.Z(); }

References vertex_.

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().

CTPPSFastTrack::xi
float xi() const
Definition: CTPPSFastTrack.h:63
CTPPSFastTrack::tof
float tof() const
Definition: CTPPSFastTrack.h:65
CTPPSFastTrack::thex2
float thex2
Definition: CTPPSFastTrack.h:110
CTPPSFastTrack::x2
float x2() const
Definition: CTPPSFastTrack.h:71
CTPPSFastTrack::thex1
float thex1
Definition: CTPPSFastTrack.h:108
CTPPSFastTrack::momentum
const Vector & momentum() const
track momentum vector
CTPPSFastTrack::thexi
float thexi
Definition: CTPPSFastTrack.h:105
CTPPSFastTrack::momentum_
Vector momentum_
Definition: CTPPSFastTrack.h:112
CTPPSFastTrack::y1
float y1() const
Definition: CTPPSFastTrack.h:69
CTPPSFastTrack::thet
float thet
Definition: CTPPSFastTrack.h:104
CTPPSFastTrack::t
float t() const
Definition: CTPPSFastTrack.h:61
CTPPSFastTrack::vertex
const Point & vertex() const
CTPPSFastTrack::thetof
float thetof
Definition: CTPPSFastTrack.h:107
CTPPSFastTrack::thecellid
unsigned int thecellid
Definition: CTPPSFastTrack.h:106
CTPPSFastTrack::cellid
unsigned int cellid() const
Definition: CTPPSFastTrack.h:81
CTPPSFastTrack::they2
float they2
Definition: CTPPSFastTrack.h:111
CTPPSFastTrack::vertex_
Point vertex_
Definition: CTPPSFastTrack.h:113
CTPPSFastTrack::y2
float y2() const
Definition: CTPPSFastTrack.h:73
CTPPSFastTrack::they1
float they1
Definition: CTPPSFastTrack.h:109
CTPPSFastTrack::x1
float x1() const
Definition: CTPPSFastTrack.h:67