CbmRoot
CbmKFVertex.h
Go to the documentation of this file.
1 #ifndef CBMKFVERTEX_H
2 #define CBMKFVERTEX_H
3 
4 #include "CbmKFVertexInterface.h"
5 
7 
8 private:
9  Double_t fX, fY, fZ, fC[6], fChi2;
10  Int_t fNDF, fNTracks;
11 
12 public:
13  CbmKFVertex() : fX(0), fY(0), fZ(0), fChi2(0), fNDF(0), fNTracks(0) {
14  for (int i = 0; i < 6; ++i)
15  fC[i] = 0;
16  };
18  : fX(0), fY(0), fZ(0), fChi2(-100), fNDF(0), fNTracks(0) {
19  SetVertex(v);
20  }
22 
23  Double_t& GetRefX() { return fX; }
24  Double_t& GetRefY() { return fY; }
25  Double_t& GetRefZ() { return fZ; }
26  Double_t* GetCovMatrix() { return fC; }
27  Double_t& GetRefChi2() { return fChi2; }
28  Int_t& GetRefNDF() { return fNDF; }
29  Int_t& GetRefNTracks() { return fNTracks; }
30 
31  ClassDef(CbmKFVertex, 1)
32 };
33 
34 #endif
CbmKFVertexInterface.h
CbmKFVertex::fNTracks
Int_t fNTracks
Definition: CbmKFVertex.h:10
CbmKFVertex::GetRefX
Double_t & GetRefX()
Definition: CbmKFVertex.h:23
i
int i
Definition: L1/vectors/P4_F32vec4.h:25
CbmKFVertex::fC
Double_t fC[6]
Definition: CbmKFVertex.h:9
CbmKFVertex::fChi2
Double_t fChi2
Definition: CbmKFVertex.h:9
CbmKFVertex::GetRefNTracks
Int_t & GetRefNTracks()
Number of Degrees of Freedom after fit.
Definition: CbmKFVertex.h:29
CbmKFVertex::GetRefZ
Double_t & GetRefZ()
Definition: CbmKFVertex.h:25
CbmKFVertex::GetRefChi2
Double_t & GetRefChi2()
Array[6] of covariance matrix.
Definition: CbmKFVertex.h:27
CbmKFVertexInterface::SetVertex
void SetVertex(CbmVertex &v)
Number of tracks used during fit.
Definition: CbmKFVertexInterface.cxx:36
CbmVertex
Definition: CbmVertex.h:26
CbmKFVertexInterface
Definition: CbmKFVertexInterface.h:24
CbmKFVertex::~CbmKFVertex
~CbmKFVertex()
Definition: CbmKFVertex.h:21
CbmKFVertex::CbmKFVertex
CbmKFVertex()
Definition: CbmKFVertex.h:13
CbmKFVertex::GetRefNDF
Int_t & GetRefNDF()
Chi^2 after fit.
Definition: CbmKFVertex.h:28
v
__m128 v
Definition: L1/vectors/P4_F32vec4.h:1
CbmKFVertex::GetCovMatrix
Double_t * GetCovMatrix()
Definition: CbmKFVertex.h:26
CbmKFVertex::GetRefY
Double_t & GetRefY()
Definition: CbmKFVertex.h:24
CbmKFVertex::CbmKFVertex
CbmKFVertex(CbmVertex &v)
Definition: CbmKFVertex.h:17
CbmKFVertex::fZ
Double_t fZ
Definition: CbmKFVertex.h:9
CbmKFVertex::fX
Double_t fX
Definition: CbmKFVertex.h:9
CbmKFVertex::fNDF
Int_t fNDF
Definition: CbmKFVertex.h:10
CbmKFVertex::fY
Double_t fY
Definition: CbmKFVertex.h:9
CbmKFVertex
Definition: CbmKFVertex.h:6