CbmRoot
Loading...
Searching...
No Matches
CbmKFVertex.h
Go to the documentation of this file.
1/* Copyright (C) 2006-2014 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Denis Bertini [committer] */
4
5#ifndef CBMKFVERTEX_H
6#define CBMKFVERTEX_H
7
9
11
12 private:
13 Double_t fX, fY, fZ, fC[6], fChi2;
14 Int_t fNDF, fNTracks;
15
16 public:
17 CbmKFVertex() : fX(0), fY(0), fZ(0), fChi2(0), fNDF(0), fNTracks(0)
18 {
19 for (int i = 0; i < 6; ++i)
20 fC[i] = 0;
21 };
22 CbmKFVertex(CbmVertex& v) : fX(0), fY(0), fZ(0), fChi2(-100), fNDF(0), fNTracks(0) { SetVertex(v); }
24
25 Double_t& GetRefX() { return fX; }
26 Double_t& GetRefY() { return fY; }
27 Double_t& GetRefZ() { return fZ; }
28 Double_t* GetCovMatrix() { return fC; }
29 Double_t& GetRefChi2() { return fChi2; }
30 Int_t& GetRefNDF() { return fNDF; }
31 Int_t& GetRefNTracks() { return fNTracks; }
32
33 ClassDef(CbmKFVertex, 1)
34};
35
36#endif
fscal v[fmask::Size]
Definition KfSimdPseudo.h:4
void SetVertex(CbmVertex &v)
Number of tracks used during fit.
Double_t fY
Definition CbmKFVertex.h:13
Double_t fChi2
Definition CbmKFVertex.h:13
Double_t fX
Definition CbmKFVertex.h:13
Double_t fC[6]
Definition CbmKFVertex.h:13
Double_t & GetRefZ()
Definition CbmKFVertex.h:27
CbmKFVertex(CbmVertex &v)
Definition CbmKFVertex.h:22
Double_t & GetRefX()
Definition CbmKFVertex.h:25
Double_t * GetCovMatrix()
Definition CbmKFVertex.h:28
Double_t & GetRefChi2()
Array[6] of covariance matrix.
Definition CbmKFVertex.h:29
Int_t fNTracks
Definition CbmKFVertex.h:14
Double_t fZ
Definition CbmKFVertex.h:13
Double_t & GetRefY()
Definition CbmKFVertex.h:26
Int_t & GetRefNDF()
Chi^2 after fit.
Definition CbmKFVertex.h:30
Int_t & GetRefNTracks()
Number of Degrees of Freedom after fit.
Definition CbmKFVertex.h:31