FairRoot/PandaRoot
Public Member Functions | Private Attributes | List of all members
KFPVertex Class Reference

#include <KFPVertex.h>

Public Member Functions

 KFPVertex ()
 
 ~KFPVertex ()
 
float GetX () const
 
float GetY () const
 
float GetZ () const
 
void GetXYZ (float *position) const
 
void GetXYZ (double *position) const
 
void GetCovarianceMatrix (float *covmatrix) const
 
void GetCovarianceMatrix (double *covmatrix) const
 
float GetChi2perNDF () const
 
float GetChi2 () const
 
int GetNDF () const
 
int GetNContributors () const
 
float GetParameter (int i) const
 
float GetCovariance (int i) const
 
void SetXYZ (float *position)
 
void SetXYZ (float x, float y, float z)
 
void SetX (float x)
 
void SetY (float y)
 
void SetZ (float z)
 
void SetChi2 (float chi)
 
void SetNDF (int ndf)
 
void SetNContributors (int nc)
 
void SetCovarianceMatrix (float *C)
 
void SetCovarianceMatrix (float C00, float C10, float C11, float C20, float C21, float C22)
 

Private Attributes

float fP [3]
 
float fC [6]
 
float fChi2
 
int fNContributors
 
int fNDF
 

Detailed Description

Definition at line 4 of file KFPVertex.h.

Constructor & Destructor Documentation

KFPVertex::KFPVertex ( )
inline

Definition at line 7 of file KFPVertex.h.

7 { }
KFPVertex::~KFPVertex ( )
inline

Definition at line 8 of file KFPVertex.h.

8 { }

Member Function Documentation

float KFPVertex::GetChi2 ( ) const
inline

Definition at line 31 of file KFPVertex.h.

References fChi2.

Referenced by AliKFVertex::AliKFVertex(), KFParticle::KFParticle(), KFParticleSIMD::KFParticleSIMD(), and KFVertex::KFVertex().

31 { return fChi2; }
float fChi2
Definition: KFPVertex.h:68
float KFPVertex::GetChi2perNDF ( ) const
inline

Definition at line 30 of file KFPVertex.h.

References fChi2, and fNDF.

30 { return fChi2/fNDF; }
int fNDF
Definition: KFPVertex.h:70
float fChi2
Definition: KFPVertex.h:68
float KFPVertex::GetCovariance ( int  i) const
inline

Definition at line 36 of file KFPVertex.h.

References fC, and i.

36 { return fC[i]; }
Int_t i
Definition: run_full.C:25
float fC[6]
Definition: KFPVertex.h:67
void KFPVertex::GetCovarianceMatrix ( float *  covmatrix) const
inline

Definition at line 19 of file KFPVertex.h.

References fC, and i.

Referenced by AliKFVertex::AliKFVertex(), KFParticle::KFParticle(), KFParticleSIMD::KFParticleSIMD(), and KFVertex::KFVertex().

20  {
21  for (int i=0; i<6; i++)
22  covmatrix[i] = fC[i];
23  }
Int_t i
Definition: run_full.C:25
float fC[6]
Definition: KFPVertex.h:67
void KFPVertex::GetCovarianceMatrix ( double *  covmatrix) const
inline

Definition at line 24 of file KFPVertex.h.

References fC, and i.

25  {
26  for (int i=0; i<6; i++)
27  covmatrix[i] = fC[i];
28  }
Int_t i
Definition: run_full.C:25
float fC[6]
Definition: KFPVertex.h:67
int KFPVertex::GetNContributors ( ) const
inline
int KFPVertex::GetNDF ( ) const
inline

Definition at line 32 of file KFPVertex.h.

References fNDF.

32 { return fNDF; }
int fNDF
Definition: KFPVertex.h:70
float KFPVertex::GetParameter ( int  i) const
inline

Definition at line 35 of file KFPVertex.h.

References fP, and i.

35 { return fP[i]; }
Int_t i
Definition: run_full.C:25
float fP[3]
Definition: KFPVertex.h:66
float KFPVertex::GetX ( ) const
inline

Definition at line 13 of file KFPVertex.h.

References fP.

13 { return fP[0]; }
float fP[3]
Definition: KFPVertex.h:66
void KFPVertex::GetXYZ ( float *  position) const
inline

Definition at line 17 of file KFPVertex.h.

References fP.

Referenced by AliKFVertex::AliKFVertex(), KFParticle::KFParticle(), KFParticleSIMD::KFParticleSIMD(), and KFVertex::KFVertex().

17 {position[0] = fP[0]; position[1] = fP[1]; position[2] = fP[2];}
float fP[3]
Definition: KFPVertex.h:66
void KFPVertex::GetXYZ ( double *  position) const
inline

Definition at line 18 of file KFPVertex.h.

References fP.

18 {position[0] = fP[0]; position[1] = fP[1]; position[2] = fP[2];}
float fP[3]
Definition: KFPVertex.h:66
float KFPVertex::GetY ( ) const
inline

Definition at line 14 of file KFPVertex.h.

References fP.

14 { return fP[1]; }
float fP[3]
Definition: KFPVertex.h:66
float KFPVertex::GetZ ( ) const
inline

Definition at line 15 of file KFPVertex.h.

References fP.

15 { return fP[2]; }
float fP[3]
Definition: KFPVertex.h:66
void KFPVertex::SetChi2 ( float  chi)
inline

Definition at line 44 of file KFPVertex.h.

References fChi2.

Referenced by PndKFParticleFinder::Exec(), and KFPTopoReconstructor::ReconstructPrimVertex().

44 { fChi2 = chi; }
float fChi2
Definition: KFPVertex.h:68
void KFPVertex::SetCovarianceMatrix ( float *  C)
inline

Definition at line 48 of file KFPVertex.h.

References fC, and i.

Referenced by PndKFParticleFinder::Exec(), and KFPTopoReconstructor::ReconstructPrimVertex().

49  {
50  for (int i=0; i<6; i++)
51  fC[i] = C[i];
52  }
Int_t i
Definition: run_full.C:25
int Pic_FED Eff_lEE C()
float fC[6]
Definition: KFPVertex.h:67
void KFPVertex::SetCovarianceMatrix ( float  C00,
float  C10,
float  C11,
float  C20,
float  C21,
float  C22 
)
inline

Definition at line 54 of file KFPVertex.h.

References fC.

55  {
56  fC[0] = C00;
57  fC[1] = C10;
58  fC[2] = C11;
59  fC[3] = C20;
60  fC[4] = C21;
61  fC[5] = C22;
62  }
float fC[6]
Definition: KFPVertex.h:67
void KFPVertex::SetNContributors ( int  nc)
inline

Definition at line 46 of file KFPVertex.h.

References fNContributors, and nc.

Referenced by PndKFParticleFinder::Exec(), and KFPTopoReconstructor::ReconstructPrimVertex().

46 { fNContributors = nc; }
int fNContributors
Definition: KFPVertex.h:69
TH1F * nc
void KFPVertex::SetNDF ( int  ndf)
inline

Definition at line 45 of file KFPVertex.h.

References fNDF.

45 { fNDF = ndf; }
int fNDF
Definition: KFPVertex.h:70
void KFPVertex::SetX ( float  x)
inline

Definition at line 41 of file KFPVertex.h.

References fP, and x.

41 { fP[0] = x; }
float fP[3]
Definition: KFPVertex.h:66
Double_t x
void KFPVertex::SetXYZ ( float *  position)
inline

Definition at line 39 of file KFPVertex.h.

References fP.

Referenced by PndKFParticleFinder::Exec(), and KFPTopoReconstructor::ReconstructPrimVertex().

39 { fP[0] = position[0]; fP[1] = position[1]; fP[2] = position[2]; }
float fP[3]
Definition: KFPVertex.h:66
void KFPVertex::SetXYZ ( float  x,
float  y,
float  z 
)
inline

Definition at line 40 of file KFPVertex.h.

References fP, x, y, and z.

40 { fP[0] = x; fP[1] = y; fP[2] = z; }
float fP[3]
Definition: KFPVertex.h:66
Double_t z
Double_t x
Double_t y
void KFPVertex::SetY ( float  y)
inline

Definition at line 42 of file KFPVertex.h.

References fP, and y.

42 { fP[1] = y; }
float fP[3]
Definition: KFPVertex.h:66
Double_t y
void KFPVertex::SetZ ( float  z)
inline

Definition at line 43 of file KFPVertex.h.

References fP, and z.

43 { fP[2] = z; }
float fP[3]
Definition: KFPVertex.h:66
Double_t z

Member Data Documentation

float KFPVertex::fC[6]
private

Definition at line 67 of file KFPVertex.h.

Referenced by GetCovariance(), GetCovarianceMatrix(), and SetCovarianceMatrix().

float KFPVertex::fChi2
private

Definition at line 68 of file KFPVertex.h.

Referenced by GetChi2(), GetChi2perNDF(), and SetChi2().

int KFPVertex::fNContributors
private

Definition at line 69 of file KFPVertex.h.

Referenced by GetNContributors(), and SetNContributors().

int KFPVertex::fNDF
private

Definition at line 70 of file KFPVertex.h.

Referenced by GetChi2perNDF(), GetNDF(), and SetNDF().

float KFPVertex::fP[3]
private

Definition at line 66 of file KFPVertex.h.

Referenced by GetParameter(), GetX(), GetXYZ(), GetY(), GetZ(), SetX(), SetXYZ(), SetY(), and SetZ().


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