BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnAlignDefines.h
Go to the documentation of this file.
1/*
2 BM@N alignment routine
3 BM@N experiment at NICA complex, JINR, 2025
4
5 Department: Math & Soft Group of HEP lab
6 Author: Igor Polev, polev@jinr.int
7
8 Global defines for alignment task
9*/
10
11#ifndef BMN_ALIGN_DEFINES_H
12#define BMN_ALIGN_DEFINES_H
13
14#include "Math/SMatrix.h"
15#include "Math/SVector.h"
16#include "RtypesCore.h"
17
18#include <vector>
19
20#define BMN_GLOBAL_PARAMS_PD 6 // global alignment parameters per detector
21#define BMN_LOCAL_PARAMS_PT 4 // local alignment parameters per track
22
24{
25 iX = 0,
26 iY = 1,
27 iZ = 2
28};
29
31{
32 idX = 0,
33 idY = 1,
34 idZ = 2,
35 iPhi = 3,
36 iTheta = 4,
37 iPsi = 5
38};
39
41{
42 iX0 = 0,
43 iX1 = 1,
44 iY0 = 2,
45 iY1 = 3
46};
47
48// general types aliases
49
50typedef std::vector<Double_t> VecDouble_t;
51typedef std::vector<Int_t> VecInt_t;
52typedef std::vector<Bool_t> VecBool_t;
53
54// fixed-size matrix types aliases
55
56namespace RM = ROOT::Math;
57
58typedef RM::SVector<Double_t, 2> SVect2; // used in DEBUG only right now
62
64// symmetric: every local x local matrix is a normal matrix or a covariance
69
70typedef std::vector<SVectLC> VecSVectLC_t;
71typedef std::vector<SVectGL> VecSVectGL_t;
72
73#endif
std::vector< SVectLC > VecSVectLC_t
std::vector< Double_t > VecDouble_t
std::vector< Bool_t > VecBool_t
LocalParamsIdx
@ iY1
@ iY0
@ iX1
@ iX0
RM::SVector< Double_t, 3 > SVect3
GlobalParamsIdx
@ idX
@ iPhi
@ idZ
@ iPsi
@ iTheta
@ idY
std::vector< SVectGL > VecSVectGL_t
RM::SVector< Double_t, BMN_LOCAL_PARAMS_PT > SVectLC
RM::SVector< Double_t, 2 > SVect2
RM::SVector< Double_t, BMN_GLOBAL_PARAMS_PD > SVectGL
RM::SMatrix< Double_t, 3, 3 > SMatr3x3
std::vector< Int_t > VecInt_t
RM::SMatrix< Double_t, BMN_GLOBAL_PARAMS_PD, BMN_GLOBAL_PARAMS_PD > SMatrGL
RM::SMatrix< Double_t, BMN_GLOBAL_PARAMS_PD, BMN_LOCAL_PARAMS_PT > SMatrGP
CoordIdx
@ iZ
@ iX
@ iY
RM::SMatrix< Double_t, BMN_LOCAL_PARAMS_PT, BMN_LOCAL_PARAMS_PT, RM::MatRepSym< Double_t, BMN_LOCAL_PARAMS_PT > > SMatrLC