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

#include <SecondVertexFit.h>

Inheritance diagram for SecondVertexFit:

Public Member Functions

 ~SecondVertexFit ()
void init ()
void setIterNumber (const int niter=10)
void setChisqCut (const double chicut=500, const double chiter=1.0e-2)
void setVpar (const VertexParameter vpar)
void setPrimaryVertex (const VertexParameter vpar)
void setMagCorrFactor (const double factor=1.000)
bool Fit ()
double chisq () const
double decayLength () const
double decayLengthError () const
double ctau () const
double ctauError () const
double factor () const
HepLorentzVector p4par () const
WTrackParameter wpar () const
VertexParameter vpar () const
HepPoint3D crossPoint () const
Hep3Vector crossVector () const
 ~SecondVertexFit ()
void init ()
void setIterNumber (const int niter=10)
void setChisqCut (const double chicut=500, const double chiter=1.0e-2)
void setVpar (const VertexParameter vpar)
void setPrimaryVertex (const VertexParameter vpar)
void setMagCorrFactor (const double factor=1.000)
bool Fit ()
double chisq () const
double decayLength () const
double decayLengthError () const
double ctau () const
double ctauError () const
double factor () const
HepLorentzVector p4par () const
WTrackParameter wpar () const
VertexParameter vpar () const
HepPoint3D crossPoint () const
Hep3Vector crossVector () const
 ~SecondVertexFit ()
void init ()
void setIterNumber (const int niter=10)
void setChisqCut (const double chicut=500, const double chiter=1.0e-2)
void setVpar (const VertexParameter vpar)
void setPrimaryVertex (const VertexParameter vpar)
void setMagCorrFactor (const double factor=1.000)
bool Fit ()
double chisq () const
double decayLength () const
double decayLengthError () const
double ctau () const
double ctauError () const
double factor () const
HepLorentzVector p4par () const
WTrackParameter wpar () const
VertexParameter vpar () const
HepPoint3D crossPoint () const
Hep3Vector crossVector () const
Public Member Functions inherited from TrackPool
 TrackPool ()
 ~TrackPool ()
void AddTrack (const int number, const double mass, const RecMdcTrack *trk)
void AddTrack (const int number, const double mass, const RecMdcKalTrack *trk)
void AddTrack (const int number, const double mass, const RecEmcShower *trk)
void AddTrack (const int number, const WTrackParameter wtrk)
void AddMissTrack (const int number, const double mass)
void AddMissTrack (const int number, const double mass, const HepLorentzVector p4)
void AddMissTrack (const int number, const double mass, const RecEmcShower *trk)
void AddMissTrack (const int number, const RecEmcShower *trk)
void AddMissTrack (const int number, const HepLorentzVector p4)
void AddTrackVertex (const int number, const double mass, const RecEmcShower *trk)
std::vector< int > AddList (int n1)
std::vector< int > AddList (int n1, int n2)
std::vector< int > AddList (int n1, int n2, int n3)
std::vector< int > AddList (int n1, int n2, int n3, int n4)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9, int n10)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9, int n10, int n11)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9, int n10, int n11, int n12)
std::vector< WTrackParameterwTrackOrigin () const
std::vector< WTrackParameterwTrackInfit () const
std::vector< int > wTrackList () const
WTrackParameter wTrackOrigin (int n) const
WTrackParameter wTrackInfit (int n) const
int wTrackList (int n) const
int numberWTrack () const
std::vector< GammaShapeGammaShapeValue () const
std::vector< int > GammaShapeList () const
GammaShape GammaShapeValue (int n) const
int GammaShapeList (int n) const
int numberGammaShape () const
void setWTrackOrigin (const int n, const WTrackParameter wtrk)
void setWTrackInfit (const int n, const WTrackParameter wtrk)
void setWTrackOrigin (const WTrackParameter wtrk)
void setWTrackInfit (const WTrackParameter wtrk)
void setWTrackList (const int n)
void clearWTrackOrigin ()
void clearWTrackInfit ()
void clearWTrackList ()
void clearone ()
void cleartwo ()
int numberone () const
int numbertwo () const
vector< int > mappositionA () const
vector< int > mappositionB () const
vector< int > mapkinematic () const
void clearMapkinematic ()
void clearMappositionA ()
void clearMappositionB ()
void setMapkinematic (const int n)
void setMappositionA (const int n)
void setMappositionB (const int n)
void setGammaShape (const int n, const GammaShape gammashape)
void setGammaShape (const GammaShape gammashape)
void setGammaShapeList (const int n)
void clearGammaShape ()
void clearGammaShapeList ()
void setBeamPosition (const HepPoint3D BeamPosition)
void setVBeamPosition (const HepSymMatrix VBeamPosition)
HepPoint3D getBeamPosition () const
HepSymMatrix getVBeamPosition () const
 TrackPool ()
 ~TrackPool ()
void AddTrack (const int number, const double mass, const RecMdcTrack *trk)
void AddTrack (const int number, const double mass, const RecMdcKalTrack *trk)
void AddTrack (const int number, const double mass, const RecEmcShower *trk)
void AddTrack (const int number, const WTrackParameter wtrk)
void AddMissTrack (const int number, const double mass)
void AddMissTrack (const int number, const double mass, const HepLorentzVector p4)
void AddMissTrack (const int number, const double mass, const RecEmcShower *trk)
void AddMissTrack (const int number, const RecEmcShower *trk)
void AddMissTrack (const int number, const HepLorentzVector p4)
void AddTrackVertex (const int number, const double mass, const RecEmcShower *trk)
std::vector< int > AddList (int n1)
std::vector< int > AddList (int n1, int n2)
std::vector< int > AddList (int n1, int n2, int n3)
std::vector< int > AddList (int n1, int n2, int n3, int n4)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9, int n10)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9, int n10, int n11)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9, int n10, int n11, int n12)
std::vector< WTrackParameterwTrackOrigin () const
std::vector< WTrackParameterwTrackInfit () const
std::vector< int > wTrackList () const
WTrackParameter wTrackOrigin (int n) const
WTrackParameter wTrackInfit (int n) const
int wTrackList (int n) const
int numberWTrack () const
std::vector< GammaShapeGammaShapeValue () const
std::vector< int > GammaShapeList () const
GammaShape GammaShapeValue (int n) const
int GammaShapeList (int n) const
int numberGammaShape () const
void setWTrackOrigin (const int n, const WTrackParameter wtrk)
void setWTrackInfit (const int n, const WTrackParameter wtrk)
void setWTrackOrigin (const WTrackParameter wtrk)
void setWTrackInfit (const WTrackParameter wtrk)
void setWTrackList (const int n)
void clearWTrackOrigin ()
void clearWTrackInfit ()
void clearWTrackList ()
void clearone ()
void cleartwo ()
int numberone () const
int numbertwo () const
vector< int > mappositionA () const
vector< int > mappositionB () const
vector< int > mapkinematic () const
void clearMapkinematic ()
void clearMappositionA ()
void clearMappositionB ()
void setMapkinematic (const int n)
void setMappositionA (const int n)
void setMappositionB (const int n)
void setGammaShape (const int n, const GammaShape gammashape)
void setGammaShape (const GammaShape gammashape)
void setGammaShapeList (const int n)
void clearGammaShape ()
void clearGammaShapeList ()
void setBeamPosition (const HepPoint3D BeamPosition)
void setVBeamPosition (const HepSymMatrix VBeamPosition)
HepPoint3D getBeamPosition () const
HepSymMatrix getVBeamPosition () const
 TrackPool ()
 ~TrackPool ()
void AddTrack (const int number, const double mass, const RecMdcTrack *trk)
void AddTrack (const int number, const double mass, const RecMdcKalTrack *trk)
void AddTrack (const int number, const double mass, const RecEmcShower *trk)
void AddTrack (const int number, const WTrackParameter wtrk)
void AddMissTrack (const int number, const double mass)
void AddMissTrack (const int number, const double mass, const HepLorentzVector p4)
void AddMissTrack (const int number, const double mass, const RecEmcShower *trk)
void AddMissTrack (const int number, const RecEmcShower *trk)
void AddMissTrack (const int number, const HepLorentzVector p4)
void AddTrackVertex (const int number, const double mass, const RecEmcShower *trk)
std::vector< int > AddList (int n1)
std::vector< int > AddList (int n1, int n2)
std::vector< int > AddList (int n1, int n2, int n3)
std::vector< int > AddList (int n1, int n2, int n3, int n4)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9, int n10)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9, int n10, int n11)
std::vector< int > AddList (int n1, int n2, int n3, int n4, int n5, int n6, int n7, int n8, int n9, int n10, int n11, int n12)
std::vector< WTrackParameterwTrackOrigin () const
std::vector< WTrackParameterwTrackInfit () const
std::vector< int > wTrackList () const
WTrackParameter wTrackOrigin (int n) const
WTrackParameter wTrackInfit (int n) const
int wTrackList (int n) const
int numberWTrack () const
std::vector< GammaShapeGammaShapeValue () const
std::vector< int > GammaShapeList () const
GammaShape GammaShapeValue (int n) const
int GammaShapeList (int n) const
int numberGammaShape () const
void setWTrackOrigin (const int n, const WTrackParameter wtrk)
void setWTrackInfit (const int n, const WTrackParameter wtrk)
void setWTrackOrigin (const WTrackParameter wtrk)
void setWTrackInfit (const WTrackParameter wtrk)
void setWTrackList (const int n)
void clearWTrackOrigin ()
void clearWTrackInfit ()
void clearWTrackList ()
void clearone ()
void cleartwo ()
int numberone () const
int numbertwo () const
vector< int > mappositionA () const
vector< int > mappositionB () const
vector< int > mapkinematic () const
void clearMapkinematic ()
void clearMappositionA ()
void clearMappositionB ()
void setMapkinematic (const int n)
void setMappositionA (const int n)
void setMappositionB (const int n)
void setGammaShape (const int n, const GammaShape gammashape)
void setGammaShape (const GammaShape gammashape)
void setGammaShapeList (const int n)
void clearGammaShape ()
void clearGammaShapeList ()
void setBeamPosition (const HepPoint3D BeamPosition)
void setVBeamPosition (const HepSymMatrix VBeamPosition)
HepPoint3D getBeamPosition () const
HepSymMatrix getVBeamPosition () const

Static Public Member Functions

static SecondVertexFitinstance ()
static SecondVertexFitinstance ()
static SecondVertexFitinstance ()

Detailed Description

Constructor & Destructor Documentation

◆ ~SecondVertexFit() [1/3]

SecondVertexFit::~SecondVertexFit ( )

Definition at line 61 of file SecondVertexFit.cxx.

61 {
62 // if(m_pointer) delete m_pointer;
63}

◆ ~SecondVertexFit() [2/3]

SecondVertexFit::~SecondVertexFit ( )

◆ ~SecondVertexFit() [3/3]

SecondVertexFit::~SecondVertexFit ( )

Member Function Documentation

◆ chisq() [1/3]

◆ chisq() [2/3]

double SecondVertexFit::chisq ( ) const
inline

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

49{ return m_chisq; }

◆ chisq() [3/3]

double SecondVertexFit::chisq ( ) const
inline

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

49{ return m_chisq; }

◆ crossPoint() [1/3]

HepPoint3D SecondVertexFit::crossPoint ( ) const
inline

Definition at line 84 of file Analysis/VertexFit/include/VertexFit/SecondVertexFit.h.

84 {
85 return HepPoint3D( m_crxyz[0], m_crxyz[1], m_crxyz[2] );
86}
HepGeom::Point3D< double > HepPoint3D

◆ crossPoint() [2/3]

HepPoint3D SecondVertexFit::crossPoint ( ) const
inline

◆ crossPoint() [3/3]

HepPoint3D SecondVertexFit::crossPoint ( ) const
inline

◆ crossVector() [1/3]

Hep3Vector SecondVertexFit::crossVector ( ) const
inline

Definition at line 88 of file Analysis/VertexFit/include/VertexFit/SecondVertexFit.h.

88 {
89 return Hep3Vector( m_crxyz[0] - m_vpar_primary.Vx()[0], m_crxyz[1] - m_vpar_primary.Vx()[1],
90 m_crxyz[2] - m_vpar_primary.Vx()[2] );
91}

◆ crossVector() [2/3]

Hep3Vector SecondVertexFit::crossVector ( ) const
inline

◆ crossVector() [3/3]

Hep3Vector SecondVertexFit::crossVector ( ) const
inline

◆ ctau() [1/3]

double SecondVertexFit::ctau ( ) const
inline

◆ ctau() [2/3]

double SecondVertexFit::ctau ( ) const
inline

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

52{ return m_ctau; }

◆ ctau() [3/3]

double SecondVertexFit::ctau ( ) const
inline

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

52{ return m_ctau; }

◆ ctauError() [1/3]

double SecondVertexFit::ctauError ( ) const
inline

Definition at line 53 of file Analysis/VertexFit/include/VertexFit/SecondVertexFit.h.

53{ return m_ctau_error; }

◆ ctauError() [2/3]

double SecondVertexFit::ctauError ( ) const
inline

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

53{ return m_ctau_error; }

◆ ctauError() [3/3]

double SecondVertexFit::ctauError ( ) const
inline

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

53{ return m_ctau_error; }

◆ decayLength() [1/3]

◆ decayLength() [2/3]

double SecondVertexFit::decayLength ( ) const
inline

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

50{ return m_lxyz; }

◆ decayLength() [3/3]

double SecondVertexFit::decayLength ( ) const
inline

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

50{ return m_lxyz; }

◆ decayLengthError() [1/3]

◆ decayLengthError() [2/3]

double SecondVertexFit::decayLengthError ( ) const
inline

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

51{ return m_lxyz_error; }

◆ decayLengthError() [3/3]

double SecondVertexFit::decayLengthError ( ) const
inline

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

51{ return m_lxyz_error; }

◆ factor() [1/3]

double SecondVertexFit::factor ( ) const
inline

Definition at line 54 of file Analysis/VertexFit/include/VertexFit/SecondVertexFit.h.

54{ return m_factor; }

Referenced by setMagCorrFactor().

◆ factor() [2/3]

double SecondVertexFit::factor ( ) const
inline

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

54{ return m_factor; }

◆ factor() [3/3]

double SecondVertexFit::factor ( ) const
inline

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

54{ return m_factor; }

◆ Fit() [1/3]

bool SecondVertexFit::Fit ( )

Definition at line 82 of file SecondVertexFit.cxx.

82 {
83 bool okfit = false;
84
85 HepVector aOrigin( 10, 0 );
86 HepVector aInfit( 10, 0 );
87 HepSymMatrix VaOrigin( 10, 0 );
88 HepSymMatrix VaInfit( 10, 0 );
89 aOrigin.sub( 1, wTrackOrigin( 0 ).w() );
90 aOrigin.sub( 8, m_vpar_primary.Vx() );
91 VaOrigin.sub( 1, wTrackOrigin( 0 ).Ew() );
92 VaOrigin.sub( 8, m_vpar_primary.Evx() );
93 HepVector ctOrigin( 1, 0 );
94 HepVector ctInfit( 1, 0 );
95 HepSymMatrix Vct( 1, 0 );
96 aInfit = aOrigin;
97 ctInfit = ctOrigin;
98
99 std::vector<double> chisq;
100 chisq.clear();
101 double chi2 = 999;
102 for ( int it = 0; it < m_niter; it++ )
103 {
104 HepMatrix D( 3, 10, 0 );
105 HepLorentzVector p4par = HepLorentzVector( aInfit[0], aInfit[1], aInfit[2], aInfit[3] );
106 HepMatrix E( 3, 1, 0 );
107 HepVector d( 3, 0 );
108 if ( wTrackOrigin( 0 ).charge() == 0 )
109 {
110 D[0][4] = -1.0;
111 D[0][7] = 1.0;
112 D[1][5] = -1.0;
113 D[1][8] = 1.0;
114 D[2][6] = -1.0;
115 D[2][9] = 1.0;
116
117 E[0][0] = p4par.px() / p4par.m();
118 E[1][0] = p4par.py() / p4par.m();
119 E[2][0] = p4par.pz() / p4par.m();
120
121 d[0] = aInfit[7] - aInfit[4] + ctInfit[0] * p4par.px() / p4par.m();
122 d[1] = aInfit[8] - aInfit[5] + ctInfit[0] * p4par.py() / p4par.m();
123 d[2] = aInfit[9] - aInfit[6] + ctInfit[0] * p4par.pz() / p4par.m();
124 }
125 else
126 {
127 // double afield =
128 //VertexFitBField::instance()->getCBz(m_vpar_primary.Vx(), m_vpar_secondary.Vx());
129 double afield = m_factor * VertexFitBField::instance()->getCBz( m_vpar_primary.Vx(),
130 m_vpar_secondary.Vx() );
131 double a = afield * wTrackOrigin( 0 ).charge();
132 D[0][4] = -1.0;
133 D[0][7] = 1.0;
134 D[1][5] = -1.0;
135 D[1][8] = 1.0;
136 D[2][6] = -1.0;
137 D[2][9] = 1.0;
138
139 E[0][0] = p4par.px() / p4par.m() * cos( a * ctInfit[0] / p4par.m() ) +
140 p4par.py() / p4par.m() * sin( a * ctInfit[0] / p4par.m() );
141 E[1][0] = p4par.py() / p4par.m() * cos( a * ctInfit[0] / p4par.m() ) -
142 p4par.px() / p4par.m() * sin( a * ctInfit[0] / p4par.m() );
143 E[2][0] = p4par.pz() / p4par.m();
144
145 d[0] = aInfit[7] - aInfit[4] + p4par.px() / a * sin( a * ctInfit[0] / p4par.m() ) +
146 p4par.py() / a * ( 1 - cos( a * ctInfit[0] / p4par.m() ) );
147 d[1] = aInfit[8] - aInfit[5] + p4par.py() / a * sin( a * ctInfit[0] / p4par.m() ) -
148 p4par.px() / a * ( 1 - cos( a * ctInfit[0] / p4par.m() ) );
149 d[2] = aInfit[9] - aInfit[6] + ctInfit[0] * p4par.pz() / p4par.m();
150 }
151
152 HepSymMatrix VD( 3, 0 );
153 HepVector dela0( 10, 0 );
154 HepVector lambda0( 3, 0 );
155 HepVector delct( 1, 0 );
156 HepVector lambda( 3, 0 );
157 int ifail;
158
159 VD = ( VaOrigin.similarity( D ) ).inverse( ifail );
160 dela0 = aOrigin - aInfit;
161 lambda0 = VD * ( D * dela0 + d );
162 Vct = ( VD.similarity( E.T() ) ).inverse( ifail );
163 delct = -( Vct * E.T() ) * lambda0;
164 ctInfit = ctInfit + delct;
165 lambda = lambda0 + ( VD * E ) * delct;
166 aInfit = aOrigin - ( VaOrigin * D.T() ) * lambda;
167 chi2 = dot( lambda, D * dela0 + d );
168 VaInfit = VaOrigin - ( VD.similarity( D.T() ) ).similarity( VaOrigin );
169 VaInfit = VaInfit + ( ( ( Vct.similarity( E ) ).similarity( VD ) ).similarity( D.T() ) )
170 .similarity( VaOrigin );
171
172 chisq.push_back( chi2 );
173
174 if ( it > 0 )
175 {
176 double delchi = chisq[it] - chisq[it - 1];
177 if ( fabs( delchi ) < m_chiter ) break;
178 }
179 }
180 if ( chi2 < 0 || chi2 > m_chicut ) return okfit;
181
182 HepLorentzVector p4par = HepLorentzVector( aInfit[0], aInfit[1], aInfit[2], aInfit[3] );
183 m_ctau = ctInfit[0];
184 m_ctau_error = sqrt( Vct[0][0] );
185 m_lxyz = ctInfit[0] * p4par.rho() / p4par.m();
186 m_lxyz_error = sqrt( Vct[0][0] ) * p4par.rho() / p4par.m();
187 m_chisq = chi2;
188 m_p4par = p4par;
189 for ( int i = 0; i < 3; i++ ) m_crxyz[i] = aInfit[4 + i];
190 HepVector w( 7, 0 );
191 HepSymMatrix Ew( 7, 0 );
192 for ( int i = 0; i < 7; i++ )
193 {
194 w[i] = aInfit[i];
195 for ( int j = 0; j < 7; j++ ) { Ew[i][j] = VaInfit[i][j]; }
196 }
197 m_wtrk.setW( w );
198 m_wtrk.setEw( Ew );
199 m_wtrk.setCharge( wTrackOrigin( 0 ).charge() );
200 okfit = true;
201 return okfit;
202}
double w
std::vector< WTrackParameter > wTrackOrigin() const
double getCBz(const HepVector &vtx, const HepVector &trackPosition)

Referenced by DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), inclks::execute(), incllambda::execute(), JsiLL::execute(), KsKpi::execute(), K0kk::MTotal(), K0kpi::MTotal(), K0pi0::MTotal(), K0pipi::MTotal(), K0pipipi0::MTotal(), LocalKsSelector::operator()(), LocalLambdaSelector::operator()(), utility::SecondaryVFit(), utility::SecondaryVFit_Lambda(), utility::SecondaryVFit_Lambdaref(), and utility::SecondaryVFitref().

◆ Fit() [2/3]

bool SecondVertexFit::Fit ( )

◆ Fit() [3/3]

bool SecondVertexFit::Fit ( )

◆ init() [1/3]

void SecondVertexFit::init ( )

Definition at line 65 of file SecondVertexFit.cxx.

65 {
69 m_vpar_secondary = VertexParameter();
70 m_lxyz = 0;
71 m_lxyz_error = 0;
72 m_p4par = HepLorentzVector( 0, 0, 0, 0 );
73 m_crxyz = HepVector( 3, 0 );
74 m_chisq = 9999;
75 m_wtrk = WTrackParameter();
76 m_niter = 10;
77 m_chicut = 500;
78 m_chiter = 1.0e-2;
79 m_factor = 1.000;
80}

Referenced by DQAKsKpi::execute(), DQAKsKpiDEDX::execute(), inclks::execute(), incllambda::execute(), JsiLL::execute(), KsKpi::execute(), K0kk::MTotal(), K0kpi::MTotal(), K0pi0::MTotal(), K0pipi::MTotal(), K0pipipi0::MTotal(), LocalKsSelector::operator()(), LocalLambdaSelector::operator()(), utility::SecondaryVFit(), utility::SecondaryVFit_Lambda(), utility::SecondaryVFit_Lambdaref(), and utility::SecondaryVFitref().

◆ init() [2/3]

void SecondVertexFit::init ( )

◆ init() [3/3]

void SecondVertexFit::init ( )

◆ instance() [1/3]

◆ instance() [2/3]

SecondVertexFit * SecondVertexFit::instance ( )
static

◆ instance() [3/3]

SecondVertexFit * SecondVertexFit::instance ( )
static

◆ p4par() [1/3]

HepLorentzVector SecondVertexFit::p4par ( ) const
inline

◆ p4par() [2/3]

HepLorentzVector SecondVertexFit::p4par ( ) const
inline

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

56{ return m_p4par; }

◆ p4par() [3/3]

HepLorentzVector SecondVertexFit::p4par ( ) const
inline

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

56{ return m_p4par; }

◆ setChisqCut() [1/3]

void SecondVertexFit::setChisqCut ( const double chicut = 500,
const double chiter = 1.0e-2 )
inline

Definition at line 31 of file Analysis/VertexFit/include/VertexFit/SecondVertexFit.h.

31 {
32 m_chicut = chicut;
33 m_chiter = chiter;
34 }

◆ setChisqCut() [2/3]

void SecondVertexFit::setChisqCut ( const double chicut = 500,
const double chiter = 1.0e-2 )
inline

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

31 {
32 m_chicut = chicut;
33 m_chiter = chiter;
34 }

◆ setChisqCut() [3/3]

void SecondVertexFit::setChisqCut ( const double chicut = 500,
const double chiter = 1.0e-2 )
inline

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

31 {
32 m_chicut = chicut;
33 m_chiter = chiter;
34 }

◆ setIterNumber() [1/3]

void SecondVertexFit::setIterNumber ( const int niter = 10)
inline

Definition at line 30 of file Analysis/VertexFit/include/VertexFit/SecondVertexFit.h.

30{ m_niter = niter; }

◆ setIterNumber() [2/3]

void SecondVertexFit::setIterNumber ( const int niter = 10)
inline

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

30{ m_niter = niter; }

◆ setIterNumber() [3/3]

void SecondVertexFit::setIterNumber ( const int niter = 10)
inline

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

30{ m_niter = niter; }

◆ setMagCorrFactor() [1/3]

void SecondVertexFit::setMagCorrFactor ( const double factor = 1.000)
inline

◆ setMagCorrFactor() [2/3]

void SecondVertexFit::setMagCorrFactor ( const double factor = 1.000)
inline

◆ setMagCorrFactor() [3/3]

void SecondVertexFit::setMagCorrFactor ( const double factor = 1.000)
inline

◆ setPrimaryVertex() [1/3]

◆ setPrimaryVertex() [2/3]

void SecondVertexFit::setPrimaryVertex ( const VertexParameter vpar)
inline

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

38 {
39 m_vpar_primary.setVx( vpar.Vx() );
40 m_vpar_primary.setEvx( vpar.Evx() );
41 }

◆ setPrimaryVertex() [3/3]

void SecondVertexFit::setPrimaryVertex ( const VertexParameter vpar)
inline

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

38 {
39 m_vpar_primary.setVx( vpar.Vx() );
40 m_vpar_primary.setEvx( vpar.Evx() );
41 }

◆ setVpar() [1/3]

◆ setVpar() [2/3]

void SecondVertexFit::setVpar ( const VertexParameter vpar)
inline

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

36{ m_vpar_secondary = vpar; }

◆ setVpar() [3/3]

void SecondVertexFit::setVpar ( const VertexParameter vpar)
inline

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

36{ m_vpar_secondary = vpar; }

◆ vpar() [1/3]

VertexParameter SecondVertexFit::vpar ( ) const
inline

Definition at line 58 of file Analysis/VertexFit/include/VertexFit/SecondVertexFit.h.

58{ return m_vpar_secondary; }

Referenced by setPrimaryVertex(), and setVpar().

◆ vpar() [2/3]

VertexParameter SecondVertexFit::vpar ( ) const
inline

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

58{ return m_vpar_secondary; }

◆ vpar() [3/3]

VertexParameter SecondVertexFit::vpar ( ) const
inline

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

58{ return m_vpar_secondary; }

◆ wpar() [1/3]

WTrackParameter SecondVertexFit::wpar ( ) const
inline

◆ wpar() [2/3]

WTrackParameter SecondVertexFit::wpar ( ) const
inline

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

57{ return m_wtrk; }

◆ wpar() [3/3]

WTrackParameter SecondVertexFit::wpar ( ) const
inline

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

57{ return m_wtrk; }

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