CbmRoot
Loading...
Searching...
No Matches
CbmL1Vtx.h
Go to the documentation of this file.
1/* Copyright (C) 2006-2010 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Ivan Kisel, Sergey Gorbunov, Denis Bertini [committer], Igor Kulakov */
4
5/*
6 *====================================================================
7 *
8 * CBM Level 1 Reconstruction
9 *
10 * Authors: I.Kisel, S.Gorbunov
11 *
12 * e-mail : ikisel@kip.uni-heidelberg.de
13 *
14 *====================================================================
15 *
16 * L1 vertex class
17 *
18 *====================================================================
19 */
20
21#ifndef CbmL1Vtx_H
22#define CbmL1Vtx_H
23
24
25struct CbmL1Vtx {
27 : MC_mass(0)
28 , MC_q(0)
29 , MC_p(0)
30 , MC_x(0)
31 , MC_y(0)
32 , MC_z(0)
33 , MC_px(0)
34 , MC_py(0)
35 , MC_pz(0)
36 , MC_ID(0)
37 , MC_pdg(0)
38 , x(0)
39 , y(0)
40 , z(0)
41 , chi2(0)
42 , NDF(0)
43 , mass(0)
44 , mass_err(0){};
45
48
49 double x, y, z, C[6], chi2;
50 int NDF;
51
52 double mass, mass_err;
53
54 double& GetRefX() { return x; }
55 double& GetRefY() { return y; }
56 double& GetRefZ() { return z; }
57 double* GetCovMatrix() { return C; }
58 double& GetRefChi2() { return chi2; }
59 int& GetRefNDF() { return NDF; }
60 double& GetRefMass() { return mass; }
61 double& GetRefMassError() { return mass_err; }
62};
63
64#endif
int MC_ID
Definition CbmL1Vtx.h:47
double C[6]
Definition CbmL1Vtx.h:49
int & GetRefNDF()
Definition CbmL1Vtx.h:59
double MC_p
Definition CbmL1Vtx.h:46
double MC_z
Definition CbmL1Vtx.h:46
double mass
Definition CbmL1Vtx.h:52
double y
Definition CbmL1Vtx.h:49
double & GetRefY()
Definition CbmL1Vtx.h:55
double MC_y
Definition CbmL1Vtx.h:46
double & GetRefMass()
Definition CbmL1Vtx.h:60
double MC_pz
Definition CbmL1Vtx.h:46
int NDF
Definition CbmL1Vtx.h:50
double & GetRefZ()
Definition CbmL1Vtx.h:56
double & GetRefMassError()
Definition CbmL1Vtx.h:61
double & GetRefChi2()
Definition CbmL1Vtx.h:58
double MC_x
Definition CbmL1Vtx.h:46
int MC_pdg
Definition CbmL1Vtx.h:47
double * GetCovMatrix()
Definition CbmL1Vtx.h:57
double MC_py
Definition CbmL1Vtx.h:46
double MC_px
Definition CbmL1Vtx.h:46
double & GetRefX()
Definition CbmL1Vtx.h:54
double MC_q
Definition CbmL1Vtx.h:46
double z
Definition CbmL1Vtx.h:49
double chi2
Definition CbmL1Vtx.h:49
double MC_mass
Definition CbmL1Vtx.h:46
double mass_err
Definition CbmL1Vtx.h:52
double x
Definition CbmL1Vtx.h:49
CbmL1Vtx()
Definition CbmL1Vtx.h:26