BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
WTrackParameter Class Reference

#include <WTrackParameter.h>

Public Member Functions

 WTrackParameter ()
 ~WTrackParameter ()
 WTrackParameter (const WTrackParameter &wtrk)
WTrackParameteroperator= (const WTrackParameter &wtrk)
 WTrackParameter (const int charge, const HepLorentzVector &p, const HepPoint3D &x, const double err[])
 WTrackParameter (const int charge, const HepLorentzVector &p, const HepPoint3D &x, const HepSymMatrix &err)
 WTrackParameter (const double mass, const HepVector &helix, const double err[])
 WTrackParameter (const double mass, const HepVector &helix, const HepSymMatrix &err)
 WTrackParameter (const HepPoint3D &x, const HepLorentzVector &p, const double dphi, const double dtheta, const double dE)
 WTrackParameter (const HepLorentzVector &p, const double dphi, const double dtheta, const double dE)
void setW (const HepVector &w)
void setW (const int n, const double w)
void setEw (const HepSymMatrix &Ew)
void setCharge (const int charge)
void setMass (const double mass)
void setType (const int type)
void setVplm (const HepSymMatrix &Vplm)
void setPlmp (const HepVector &plmp)
int type () const
int charge () const
double mass () const
bool IsInvariableMass () const
double phi () const
double Lambda () const
HepVector w () const
HepSymMatrix Ew () const
HepLorentzVector p () const
HepSymMatrix Ep () const
HepPoint3D x () const
HepVector X () const
HepSymMatrix Ex () const
HepVector philambdamass ()
HepSymMatrix Vplm () const
HepVector plmp () const
 WTrackParameter ()
 ~WTrackParameter ()
 WTrackParameter (const WTrackParameter &wtrk)
WTrackParameteroperator= (const WTrackParameter &wtrk)
 WTrackParameter (const int charge, const HepLorentzVector &p, const HepPoint3D &x, const double err[])
 WTrackParameter (const int charge, const HepLorentzVector &p, const HepPoint3D &x, const HepSymMatrix &err)
 WTrackParameter (const double mass, const HepVector &helix, const double err[])
 WTrackParameter (const double mass, const HepVector &helix, const HepSymMatrix &err)
 WTrackParameter (const HepPoint3D &x, const HepLorentzVector &p, const double dphi, const double dtheta, const double dE)
 WTrackParameter (const HepLorentzVector &p, const double dphi, const double dtheta, const double dE)
void setW (const HepVector &w)
void setW (const int n, const double w)
void setEw (const HepSymMatrix &Ew)
void setCharge (const int charge)
void setMass (const double mass)
void setType (const int type)
void setVplm (const HepSymMatrix &Vplm)
void setPlmp (const HepVector &plmp)
int type () const
int charge () const
double mass () const
bool IsInvariableMass () const
double phi () const
double Lambda () const
HepVector w () const
HepSymMatrix Ew () const
HepLorentzVector p () const
HepSymMatrix Ep () const
HepPoint3D x () const
HepVector X () const
HepSymMatrix Ex () const
HepVector philambdamass ()
HepSymMatrix Vplm () const
HepVector plmp () const
 WTrackParameter ()
 ~WTrackParameter ()
 WTrackParameter (const WTrackParameter &wtrk)
WTrackParameteroperator= (const WTrackParameter &wtrk)
 WTrackParameter (const int charge, const HepLorentzVector &p, const HepPoint3D &x, const double err[])
 WTrackParameter (const int charge, const HepLorentzVector &p, const HepPoint3D &x, const HepSymMatrix &err)
 WTrackParameter (const double mass, const HepVector &helix, const double err[])
 WTrackParameter (const double mass, const HepVector &helix, const HepSymMatrix &err)
 WTrackParameter (const HepPoint3D &x, const HepLorentzVector &p, const double dphi, const double dtheta, const double dE)
 WTrackParameter (const HepLorentzVector &p, const double dphi, const double dtheta, const double dE)
void setW (const HepVector &w)
void setW (const int n, const double w)
void setEw (const HepSymMatrix &Ew)
void setCharge (const int charge)
void setMass (const double mass)
void setType (const int type)
void setVplm (const HepSymMatrix &Vplm)
void setPlmp (const HepVector &plmp)
int type () const
int charge () const
double mass () const
bool IsInvariableMass () const
double phi () const
double Lambda () const
HepVector w () const
HepSymMatrix Ew () const
HepLorentzVector p () const
HepSymMatrix Ep () const
HepPoint3D x () const
HepVector X () const
HepSymMatrix Ex () const
HepVector philambdamass ()
HepSymMatrix Vplm () const
HepVector plmp () const

Detailed Description

Constructor & Destructor Documentation

◆ WTrackParameter() [1/24]

WTrackParameter::WTrackParameter ( )

Definition at line 3 of file WTrackParameter.cxx.

3 {
4 m_w = HepVector( 7, 0 );
5 m_Ew = HepSymMatrix( 7, 0 );
6 m_charge = 0;
7 m_type = 1;
8 m_mass = 0;
9 m_massInvariable = true;
10}

Referenced by operator=(), WTrackParameter(), WTrackParameter(), WTrackParameter(), and WTrackParameter().

◆ ~WTrackParameter() [1/3]

WTrackParameter::~WTrackParameter ( )
inline

Definition at line 34 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

34{ ; }

◆ WTrackParameter() [2/24]

WTrackParameter::WTrackParameter ( const WTrackParameter & wtrk)

Definition at line 12 of file WTrackParameter.cxx.

12 {
13 m_charge = wtrk.m_charge;
14 m_w = wtrk.m_w;
15 m_Ew = wtrk.m_Ew;
16 m_type = wtrk.m_type;
17 m_plmp = wtrk.m_plmp;
18 m_Vplm = wtrk.m_Vplm;
19 m_mass = wtrk.m_mass;
20 m_massInvariable = wtrk.m_massInvariable;
21}

◆ WTrackParameter() [3/24]

WTrackParameter::WTrackParameter ( const int charge,
const HepLorentzVector & p,
const HepPoint3D & x,
const double err[] )

Definition at line 46 of file WTrackParameter.cxx.

47 {
48 HepSymMatrix error( 5, 0 );
49 int k = 0;
50 for ( int i = 0; i < 5; i++ )
51 {
52 for ( int j = i; j < 5; j++ )
53 {
54 error[i][j] = err[k];
55 error[j][i] = err[k];
56 k++;
57 }
58 }
59 *this = WTrackParameter( charge, p, x, error );
60}

◆ WTrackParameter() [4/24]

WTrackParameter::WTrackParameter ( const int charge,
const HepLorentzVector & p,
const HepPoint3D & x,
const HepSymMatrix & err )

Definition at line 62 of file WTrackParameter.cxx.

63 {
64 m_w = HepVector( 7, 0 );
65 m_Ew = HepSymMatrix( 7, 0 );
66 m_charge = charge;
67 m_type = 1;
68 m_mass = p.m();
69 m_massInvariable = true;
70 for ( int i = 0; i < 4; i++ ) m_w[i] = p[i];
71 for ( int i = 0; i < 3; i++ ) m_w[i + 4] = x[i];
72
73 HepVector helix( 5, 0 );
74 double phi0 = atan2( -p[0], p[1] );
75 if ( cos( phi0 ) != 0 ) helix[0] = x[0] / cos( phi0 );
76 else helix[0] = x[1] / sin( phi0 );
77 helix[1] = phi0;
78 helix[2] = charge / p.perp();
79 helix[3] = x[2];
80 helix[4] = p[3] / p.perp();
81 HepMatrix dWdA( 7, 5, 0 );
82 dWdA = GetCvtMatrix( p.m(), helix );
83 m_Ew = err.similarity( dWdA );
84}

◆ WTrackParameter() [5/24]

WTrackParameter::WTrackParameter ( const double mass,
const HepVector & helix,
const double err[] )

Definition at line 86 of file WTrackParameter.cxx.

87 {
88 HepSymMatrix error( 5, 0 );
89 int k = 0;
90 for ( int i = 0; i < 5; i++ )
91 {
92 for ( int j = i; j < 5; j++ )
93 {
94 error[i][j] = err[k];
95 error[j][i] = err[k];
96 k++;
97 }
98 }
99 *this = WTrackParameter( mass, hel, error );
100}

◆ WTrackParameter() [6/24]

WTrackParameter::WTrackParameter ( const double mass,
const HepVector & helix,
const HepSymMatrix & err )

Definition at line 102 of file WTrackParameter.cxx.

103 {
104 m_type = 1;
105 m_mass = mass;
106 m_w = HepVector( 7, 0 );
107 m_Ew = HepSymMatrix( 7, 0 );
108 HepMatrix dWdA( 7, 5, 0 );
109 dWdA = GetCvtMatrix( mass, hel );
110 m_Ew = err.similarity( dWdA );
111 m_w = CvtH2W( mass, hel );
112 m_charge = hel[2] > 0 ? +1 : -1;
113 m_massInvariable = true;
114}

◆ WTrackParameter() [7/24]

WTrackParameter::WTrackParameter ( const HepPoint3D & x,
const HepLorentzVector & p,
const double dphi,
const double dtheta,
const double dE )

Definition at line 122 of file WTrackParameter.cxx.

123 {
124 m_w = HepVector( 7, 0 );
125 m_Ew = HepSymMatrix( 7, 0 );
126 m_type = 2;
127 m_mass = p.m();
128 m_charge = 0;
129 m_massInvariable = true;
130 for ( int i = 0; i < 4; i++ ) m_w[i] = p[i];
131 for ( int i = 0; i < 3; i++ ) m_w[i + 4] = x[i];
132
133 HepMatrix dwda( 7, 3, 0 );
134 dwda[0][0] = -p.py();
135 dwda[1][0] = p.px();
136 dwda[4][0] = -x.y();
137 dwda[5][0] = x.x();
138
139 dwda[0][1] = p.px() * p.pz() / p.perp();
140 dwda[1][1] = p.py() * p.pz() / p.perp();
141 dwda[2][1] = -p.perp();
142 dwda[6][1] = -x.distance2() / sqrt( x.x() * x.x() + x.y() * x.y() );
143
144 dwda[0][2] = p.px() / p.rho();
145 dwda[1][2] = p.py() / p.rho();
146 dwda[2][2] = p.pz() / p.rho();
147 dwda[3][2] = p.rho() / p.e();
148 // dwda[4][2] = x.x()/(x.x()*x.x()+x.y()*x.y());
149 // dwda[5][2] = x.y()/(x.x()*x.x()+x.y()*x.y());
150 // dwda[6][2] = x.z()/(x.x()*x.x()+x.y()*x.y());
151
152 HepSymMatrix emcmea( 3, 0 );
153 emcmea[0][0] = dphi * dphi;
154 emcmea[1][1] = dthe * dthe;
155 emcmea[2][2] = dE * dE;
156 m_Ew = emcmea.similarity( dwda );
157}

◆ WTrackParameter() [8/24]

WTrackParameter::WTrackParameter ( const HepLorentzVector & p,
const double dphi,
const double dtheta,
const double dE )

Definition at line 116 of file WTrackParameter.cxx.

117 {
118 HepPoint3D x( 0, 0, 0 );
119 *this = WTrackParameter( x, p, dphi, dthe, dE );
120}

◆ WTrackParameter() [9/24]

WTrackParameter::WTrackParameter ( )

◆ ~WTrackParameter() [2/3]

WTrackParameter::~WTrackParameter ( )
inline

◆ WTrackParameter() [10/24]

WTrackParameter::WTrackParameter ( const WTrackParameter & wtrk)

◆ WTrackParameter() [11/24]

WTrackParameter::WTrackParameter ( const int charge,
const HepLorentzVector & p,
const HepPoint3D & x,
const double err[] )

◆ WTrackParameter() [12/24]

WTrackParameter::WTrackParameter ( const int charge,
const HepLorentzVector & p,
const HepPoint3D & x,
const HepSymMatrix & err )

◆ WTrackParameter() [13/24]

WTrackParameter::WTrackParameter ( const double mass,
const HepVector & helix,
const double err[] )

◆ WTrackParameter() [14/24]

WTrackParameter::WTrackParameter ( const double mass,
const HepVector & helix,
const HepSymMatrix & err )

◆ WTrackParameter() [15/24]

WTrackParameter::WTrackParameter ( const HepPoint3D & x,
const HepLorentzVector & p,
const double dphi,
const double dtheta,
const double dE )

◆ WTrackParameter() [16/24]

WTrackParameter::WTrackParameter ( const HepLorentzVector & p,
const double dphi,
const double dtheta,
const double dE )

◆ WTrackParameter() [17/24]

WTrackParameter::WTrackParameter ( )

◆ ~WTrackParameter() [3/3]

WTrackParameter::~WTrackParameter ( )
inline

◆ WTrackParameter() [18/24]

WTrackParameter::WTrackParameter ( const WTrackParameter & wtrk)

◆ WTrackParameter() [19/24]

WTrackParameter::WTrackParameter ( const int charge,
const HepLorentzVector & p,
const HepPoint3D & x,
const double err[] )

◆ WTrackParameter() [20/24]

WTrackParameter::WTrackParameter ( const int charge,
const HepLorentzVector & p,
const HepPoint3D & x,
const HepSymMatrix & err )

◆ WTrackParameter() [21/24]

WTrackParameter::WTrackParameter ( const double mass,
const HepVector & helix,
const double err[] )

◆ WTrackParameter() [22/24]

WTrackParameter::WTrackParameter ( const double mass,
const HepVector & helix,
const HepSymMatrix & err )

◆ WTrackParameter() [23/24]

WTrackParameter::WTrackParameter ( const HepPoint3D & x,
const HepLorentzVector & p,
const double dphi,
const double dtheta,
const double dE )

◆ WTrackParameter() [24/24]

WTrackParameter::WTrackParameter ( const HepLorentzVector & p,
const double dphi,
const double dtheta,
const double dE )

Member Function Documentation

◆ charge() [1/3]

int WTrackParameter::charge ( ) const
inline

◆ charge() [2/3]

int WTrackParameter::charge ( ) const
inline

Definition at line 67 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

67{ return m_charge; }

◆ charge() [3/3]

int WTrackParameter::charge ( ) const
inline

Definition at line 67 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

67{ return m_charge; }

◆ Ep() [1/3]

HepSymMatrix WTrackParameter::Ep ( ) const
inline

Definition at line 75 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

75{ return m_Ew.sub( 1, 4 ); }

◆ Ep() [2/3]

HepSymMatrix WTrackParameter::Ep ( ) const
inline

Definition at line 75 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

75{ return m_Ew.sub( 1, 4 ); }

◆ Ep() [3/3]

HepSymMatrix WTrackParameter::Ep ( ) const
inline

Definition at line 75 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

75{ return m_Ew.sub( 1, 4 ); }

◆ Ew() [1/3]

◆ Ew() [2/3]

HepSymMatrix WTrackParameter::Ew ( ) const
inline

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

73{ return m_Ew; }

◆ Ew() [3/3]

HepSymMatrix WTrackParameter::Ew ( ) const
inline

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

73{ return m_Ew; }

◆ Ex() [1/3]

HepSymMatrix WTrackParameter::Ex ( ) const
inline

Definition at line 78 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

78{ return m_Ew.sub( 5, 7 ); }

◆ Ex() [2/3]

HepSymMatrix WTrackParameter::Ex ( ) const
inline

Definition at line 78 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

78{ return m_Ew.sub( 5, 7 ); }

◆ Ex() [3/3]

HepSymMatrix WTrackParameter::Ex ( ) const
inline

Definition at line 78 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

78{ return m_Ew.sub( 5, 7 ); }

◆ IsInvariableMass() [1/3]

bool WTrackParameter::IsInvariableMass ( ) const
inline

Definition at line 69 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

69{ return m_massInvariable; }

◆ IsInvariableMass() [2/3]

bool WTrackParameter::IsInvariableMass ( ) const
inline

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

69{ return m_massInvariable; }

◆ IsInvariableMass() [3/3]

bool WTrackParameter::IsInvariableMass ( ) const
inline

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

69{ return m_massInvariable; }

◆ Lambda() [1/3]

double WTrackParameter::Lambda ( ) const
inline

Definition at line 71 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

71{ return w()[2] / sqrt( w()[0] * w()[0] + w()[1] * w()[1] ); }

Referenced by TrackPool::AddMissTrack().

◆ Lambda() [2/3]

double WTrackParameter::Lambda ( ) const
inline

Definition at line 71 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

71{ return w()[2] / sqrt( w()[0] * w()[0] + w()[1] * w()[1] ); }

◆ Lambda() [3/3]

double WTrackParameter::Lambda ( ) const
inline

Definition at line 71 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

71{ return w()[2] / sqrt( w()[0] * w()[0] + w()[1] * w()[1] ); }

◆ mass() [1/3]

double WTrackParameter::mass ( ) const
inline

Definition at line 68 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

68{ return m_mass; }

Referenced by VertexFit::pull(), setMass(), WTrackParameter(), and WTrackParameter().

◆ mass() [2/3]

double WTrackParameter::mass ( ) const
inline

Definition at line 68 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

68{ return m_mass; }

◆ mass() [3/3]

double WTrackParameter::mass ( ) const
inline

Definition at line 68 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

68{ return m_mass; }

◆ operator=() [1/3]

WTrackParameter & WTrackParameter::operator= ( const WTrackParameter & wtrk)

Definition at line 23 of file WTrackParameter.cxx.

23 {
24 if ( this == &wtrk ) return *this;
25 m_charge = wtrk.m_charge;
26 m_type = wtrk.m_type;
27 m_w = wtrk.m_w;
28 m_Ew = wtrk.m_Ew;
29 m_plmp = wtrk.m_plmp;
30 m_Vplm = wtrk.m_Vplm;
31 m_mass = wtrk.m_mass;
32 m_massInvariable = wtrk.m_massInvariable;
33 return *this;
34}

◆ operator=() [2/3]

WTrackParameter & WTrackParameter::operator= ( const WTrackParameter & wtrk)

◆ operator=() [3/3]

WTrackParameter & WTrackParameter::operator= ( const WTrackParameter & wtrk)

◆ p() [1/3]

◆ p() [2/3]

HepLorentzVector WTrackParameter::p ( ) const
inline

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

74{ return HepLorentzVector( m_w[0], m_w[1], m_w[2], m_w[3] ); }

◆ p() [3/3]

HepLorentzVector WTrackParameter::p ( ) const
inline

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

74{ return HepLorentzVector( m_w[0], m_w[1], m_w[2], m_w[3] ); }

◆ phi() [1/3]

double WTrackParameter::phi ( ) const
inline

Definition at line 70 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

70{ return atan( w()[1] / ( w()[0] ) ); }

◆ phi() [2/3]

double WTrackParameter::phi ( ) const
inline

Definition at line 70 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

70{ return atan( w()[1] / ( w()[0] ) ); }

◆ phi() [3/3]

double WTrackParameter::phi ( ) const
inline

Definition at line 70 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

70{ return atan( w()[1] / ( w()[0] ) ); }

◆ philambdamass() [1/3]

HepVector WTrackParameter::philambdamass ( )

Definition at line 36 of file WTrackParameter.cxx.

36 {
37 HepVector tmp( 4, 0 );
38 if ( w()[1] >= 0 ) tmp[0] = atan( w()[1] / ( w()[0] ) );
39 else tmp[0] = atan( w()[1] / ( w()[0] ) ) + 3.1415926;
40 tmp[1] = w()[2] / sqrt( w()[0] * w()[0] + w()[1] * w()[1] );
41 tmp[2] = p().m();
42 tmp[3] = sqrt( w()[3] * w()[3] - p().m() * p().m() );
43 return tmp;
44}

◆ philambdamass() [2/3]

HepVector WTrackParameter::philambdamass ( )

◆ philambdamass() [3/3]

HepVector WTrackParameter::philambdamass ( )

◆ plmp() [1/3]

HepVector WTrackParameter::plmp ( ) const
inline

Definition at line 81 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

81{ return m_plmp; }

Referenced by setPlmp().

◆ plmp() [2/3]

HepVector WTrackParameter::plmp ( ) const
inline

Definition at line 81 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

81{ return m_plmp; }

◆ plmp() [3/3]

HepVector WTrackParameter::plmp ( ) const
inline

Definition at line 81 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

81{ return m_plmp; }

◆ setCharge() [1/3]

◆ setCharge() [2/3]

void WTrackParameter::setCharge ( const int charge)
inline

◆ setCharge() [3/3]

void WTrackParameter::setCharge ( const int charge)
inline

◆ setEw() [1/3]

◆ setEw() [2/3]

void WTrackParameter::setEw ( const HepSymMatrix & Ew)
inline

◆ setEw() [3/3]

void WTrackParameter::setEw ( const HepSymMatrix & Ew)
inline

◆ setMass() [1/3]

void WTrackParameter::setMass ( const double mass)
inline

◆ setMass() [2/3]

void WTrackParameter::setMass ( const double mass)
inline

◆ setMass() [3/3]

void WTrackParameter::setMass ( const double mass)
inline

◆ setPlmp() [1/3]

void WTrackParameter::setPlmp ( const HepVector & plmp)
inline

◆ setPlmp() [2/3]

void WTrackParameter::setPlmp ( const HepVector & plmp)
inline

◆ setPlmp() [3/3]

void WTrackParameter::setPlmp ( const HepVector & plmp)
inline

◆ setType() [1/3]

◆ setType() [2/3]

void WTrackParameter::setType ( const int type)
inline

◆ setType() [3/3]

void WTrackParameter::setType ( const int type)
inline

◆ setVplm() [1/3]

void WTrackParameter::setVplm ( const HepSymMatrix & Vplm)
inline

◆ setVplm() [2/3]

void WTrackParameter::setVplm ( const HepSymMatrix & Vplm)
inline

◆ setVplm() [3/3]

void WTrackParameter::setVplm ( const HepSymMatrix & Vplm)
inline

◆ setW() [1/6]

◆ setW() [2/6]

void WTrackParameter::setW ( const HepVector & w)
inline

Definition at line 53 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

53 {
54 m_w = w;
55 m_mass = sqrt( w[3] * w[3] - w[2] * w[2] - w[1] * w[1] - w[0] * w[0] );
56 }

◆ setW() [3/6]

void WTrackParameter::setW ( const HepVector & w)
inline

Definition at line 53 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

53 {
54 m_w = w;
55 m_mass = sqrt( w[3] * w[3] - w[2] * w[2] - w[1] * w[1] - w[0] * w[0] );
56 }

◆ setW() [4/6]

void WTrackParameter::setW ( const int n,
const double w )
inline

Definition at line 57 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

57{ m_w[n] = w; }
const Int_t n

◆ setW() [5/6]

void WTrackParameter::setW ( const int n,
const double w )
inline

◆ setW() [6/6]

void WTrackParameter::setW ( const int n,
const double w )
inline

◆ type() [1/3]

int WTrackParameter::type ( ) const
inline

Definition at line 66 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

66{ return m_type; }

Referenced by setType().

◆ type() [2/3]

int WTrackParameter::type ( ) const
inline

Definition at line 66 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

66{ return m_type; }

◆ type() [3/3]

int WTrackParameter::type ( ) const
inline

Definition at line 66 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

66{ return m_type; }

◆ Vplm() [1/3]

HepSymMatrix WTrackParameter::Vplm ( ) const
inline

Definition at line 80 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

80{ return m_Vplm; }

Referenced by setVplm().

◆ Vplm() [2/3]

HepSymMatrix WTrackParameter::Vplm ( ) const
inline

Definition at line 80 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

80{ return m_Vplm; }

◆ Vplm() [3/3]

HepSymMatrix WTrackParameter::Vplm ( ) const
inline

Definition at line 80 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

80{ return m_Vplm; }

◆ w() [1/3]

◆ w() [2/3]

HepVector WTrackParameter::w ( ) const
inline

Definition at line 72 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

72{ return m_w; }

◆ w() [3/3]

HepVector WTrackParameter::w ( ) const
inline

Definition at line 72 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

72{ return m_w; }

◆ X() [1/3]

HepVector WTrackParameter::X ( ) const
inline

Definition at line 77 of file Analysis/VertexFit/include/VertexFit/WTrackParameter.h.

77{ return m_w.sub( 5, 7 ); }

Referenced by VertexConstraints::UpdateConstraints().

◆ X() [2/3]

HepVector WTrackParameter::X ( ) const
inline

Definition at line 77 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

77{ return m_w.sub( 5, 7 ); }

◆ X() [3/3]

HepVector WTrackParameter::X ( ) const
inline

Definition at line 77 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

77{ return m_w.sub( 5, 7 ); }

◆ x() [1/3]

HepPoint3D WTrackParameter::x ( ) const
inline

◆ x() [2/3]

HepPoint3D WTrackParameter::x ( ) const
inline

Definition at line 76 of file InstallArea/x86_64-el9-gcc13-dbg/include/VertexFit/WTrackParameter.h.

76{ return HepPoint3D( m_w[4], m_w[5], m_w[6] ); }

◆ x() [3/3]

HepPoint3D WTrackParameter::x ( ) const
inline

Definition at line 76 of file InstallArea/x86_64-el9-gcc13-opt/include/VertexFit/WTrackParameter.h.

76{ return HepPoint3D( m_w[4], m_w[5], m_w[6] ); }

The documentation for this class was generated from the following files: