CbmRoot
CbmL1Vtx.h
Go to the documentation of this file.
1 /*
2  *====================================================================
3  *
4  * CBM Level 1 Reconstruction
5  *
6  * Authors: I.Kisel, S.Gorbunov
7  *
8  * e-mail : ikisel@kip.uni-heidelberg.de
9  *
10  *====================================================================
11  *
12  * L1 vertex class
13  *
14  *====================================================================
15  */
16 
17 #ifndef CbmL1Vtx_H
18 #define CbmL1Vtx_H
19 
20 #include "CbmKFVertexInterface.h"
21 
22 struct CbmL1Vtx : public CbmKFVertexInterface {
24  : MC_mass(0)
25  , MC_q(0)
26  , MC_p(0)
27  , MC_x(0)
28  , MC_y(0)
29  , MC_z(0)
30  , MC_px(0)
31  , MC_py(0)
32  , MC_pz(0)
33  , MC_ID(0)
34  , MC_pdg(0)
35  , x(0)
36  , y(0)
37  , z(0)
38  , chi2(0)
39  , NDF(0)
40  , mass(0)
41  , mass_err(0) {};
42 
44  int MC_ID, MC_pdg;
45 
46  double x, y, z, C[6], chi2;
47  int NDF;
48 
49  double mass, mass_err;
50 
51  Double_t& GetRefX() { return x; }
52  Double_t& GetRefY() { return y; }
53  Double_t& GetRefZ() { return z; }
54  Double_t* GetCovMatrix() { return C; }
55  Double_t& GetRefChi2() { return chi2; }
56  Int_t& GetRefNDF() { return NDF; }
57  Double_t& GetRefMass() { return mass; }
58  Double_t& GetRefMassError() { return mass_err; }
59 };
60 
61 #endif
CbmL1Vtx::x
double x
Definition: CbmL1Vtx.h:46
CbmL1Vtx::MC_ID
int MC_ID
Definition: CbmL1Vtx.h:44
CbmL1Vtx::CbmL1Vtx
CbmL1Vtx()
Definition: CbmL1Vtx.h:23
CbmKFVertexInterface.h
CbmL1Vtx::mass_err
double mass_err
Definition: CbmL1Vtx.h:49
CbmL1Vtx::GetRefMass
Double_t & GetRefMass()
Definition: CbmL1Vtx.h:57
CbmL1Vtx::GetCovMatrix
Double_t * GetCovMatrix()
Definition: CbmL1Vtx.h:54
CbmL1Vtx::MC_z
double MC_z
Definition: CbmL1Vtx.h:43
CbmL1Vtx::y
double y
Definition: CbmL1Vtx.h:46
CbmL1Vtx::GetRefMassError
Double_t & GetRefMassError()
Definition: CbmL1Vtx.h:58
CbmL1Vtx::MC_pz
double MC_pz
Definition: CbmL1Vtx.h:43
CbmL1Vtx::NDF
int NDF
Definition: CbmL1Vtx.h:47
CbmL1Vtx::MC_px
double MC_px
Definition: CbmL1Vtx.h:43
CbmL1Vtx::MC_pdg
int MC_pdg
Definition: CbmL1Vtx.h:44
CbmL1Vtx::MC_q
double MC_q
Definition: CbmL1Vtx.h:43
CbmL1Vtx::z
double z
Definition: CbmL1Vtx.h:46
CbmL1Vtx::GetRefNDF
Int_t & GetRefNDF()
Chi^2 after fit.
Definition: CbmL1Vtx.h:56
CbmL1Vtx::chi2
double chi2
Definition: CbmL1Vtx.h:46
CbmL1Vtx::MC_x
double MC_x
Definition: CbmL1Vtx.h:43
CbmKFVertexInterface
Definition: CbmKFVertexInterface.h:24
CbmL1Vtx::GetRefChi2
Double_t & GetRefChi2()
Array[6] of covariance matrix.
Definition: CbmL1Vtx.h:55
CbmL1Vtx::GetRefZ
Double_t & GetRefZ()
Definition: CbmL1Vtx.h:53
CbmL1Vtx::mass
double mass
Definition: CbmL1Vtx.h:49
CbmL1Vtx::C
double C[6]
Definition: CbmL1Vtx.h:46
CbmL1Vtx::GetRefY
Double_t & GetRefY()
Definition: CbmL1Vtx.h:52
CbmL1Vtx::MC_p
double MC_p
Definition: CbmL1Vtx.h:43
CbmL1Vtx::MC_py
double MC_py
Definition: CbmL1Vtx.h:43
CbmL1Vtx::MC_y
double MC_y
Definition: CbmL1Vtx.h:43
CbmL1Vtx::GetRefX
Double_t & GetRefX()
Definition: CbmL1Vtx.h:51
CbmL1Vtx::MC_mass
double MC_mass
Definition: CbmL1Vtx.h:41
CbmL1Vtx
Definition: CbmL1Vtx.h:22