CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
CgemAlignPar.h
Go to the documentation of this file.
1#ifndef CGEMALIGNCONST_H
2#define CGEMALIGNCONST_H
3
4#include "CgemAlignment.h"
5#include <vector>
6#include <fstream>
7#include <string>
8#include <cstring>
9
10using namespace CgemAlignment;
12
13public:
16
17 void initAlignPar();
18 bool rdAlignPar(std::string alignFile);
19 void wrtAlignPar();
20
21 void setDx(int iEP, double val) { m_dx[iEP] = val; }
22 void setDy(int iEP, double val) { m_dy[iEP] = val; }
23 void setDz(int iEP, double val) { m_dz[iEP] = val; }
24 void setRx(int iEP, double val) { m_rx[iEP] = val; }
25 void setRy(int iEP, double val) { m_ry[iEP] = val; }
26 void setRz(int iEP, double val) { m_rz[iEP] = val; }
27
28 void setDelDx(int iEP, double val) { m_delDx[iEP] = val; }
29 void setDelDy(int iEP, double val) { m_delDy[iEP] = val; }
30 void setDelDz(int iEP, double val) { m_delDz[iEP] = val; }
31 void setDelRx(int iEP, double val) { m_delRx[iEP] = val; }
32 void setDelRy(int iEP, double val) { m_delRy[iEP] = val; }
33 void setDelRz(int iEP, double val) { m_delRz[iEP] = val; }
34
35 void setErrDx(int iEP, double val) { m_errDx[iEP] = val; }
36 void setErrDy(int iEP, double val) { m_errDy[iEP] = val; }
37 void setErrDz(int iEP, double val) { m_errDz[iEP] = val; }
38 void setErrRx(int iEP, double val) { m_errRx[iEP] = val; }
39 void setErrRy(int iEP, double val) { m_errRy[iEP] = val; }
40 void setErrRz(int iEP, double val) { m_errRz[iEP] = val; }
41
42 double getDx(int iEP) { return m_dx[iEP]; }
43 double getDy(int iEP) { return m_dy[iEP]; }
44 double getDz(int iEP) { return m_dz[iEP]; }
45 double getRx(int iEP) { return m_rx[iEP]; }
46 double getRy(int iEP) { return m_ry[iEP]; }
47 double getRz(int iEP) { return m_rz[iEP]; }
48
49 double getDx(int iEP_Phy, int iSh_Phy) { int iEP = iEP_Phy*2 + iSh_Phy; return m_dx[iEP]; }
50 double getDy(int iEP_Phy, int iSh_Phy) { int iEP = iEP_Phy*2 + iSh_Phy; return m_dy[iEP]; }
51 double getDz(int iEP_Phy, int iSh_Phy) { int iEP = iEP_Phy*2 + iSh_Phy; return m_dz[iEP]; }
52 double getRx(int iEP_Phy, int iSh_Phy) { int iEP = iEP_Phy*2 + iSh_Phy; return m_rx[iEP]; }
53 double getRy(int iEP_Phy, int iSh_Phy) { int iEP = iEP_Phy*2 + iSh_Phy; return m_ry[iEP]; }
54 double getRz(int iEP_Phy, int iSh_Phy) { int iEP = iEP_Phy*2 + iSh_Phy; return m_rz[iEP]; }
55private:
56 double m_dx[NEP];
57 double m_dy[NEP];
58 double m_dz[NEP];
59 double m_rx[NEP];
60 double m_ry[NEP];
61 double m_rz[NEP];
62
63 double m_delDx[NEP];
64 double m_delDy[NEP];
65 double m_delDz[NEP];
66 double m_delRx[NEP];
67 double m_delRy[NEP];
68 double m_delRz[NEP];
69
70 double m_errDx[NEP];
71 double m_errDy[NEP];
72 double m_errDz[NEP];
73 double m_errRx[NEP];
74 double m_errRy[NEP];
75 double m_errRz[NEP];
76
77};
78
79#endif
void setDx(int iEP, double val)
Definition: CgemAlignPar.h:21
void setErrRy(int iEP, double val)
Definition: CgemAlignPar.h:39
void setDelDy(int iEP, double val)
Definition: CgemAlignPar.h:29
void setErrDy(int iEP, double val)
Definition: CgemAlignPar.h:36
bool rdAlignPar(std::string alignFile)
double getRx(int iEP_Phy, int iSh_Phy)
Definition: CgemAlignPar.h:52
void setErrRx(int iEP, double val)
Definition: CgemAlignPar.h:38
double getDz(int iEP)
Definition: CgemAlignPar.h:44
double getRy(int iEP_Phy, int iSh_Phy)
Definition: CgemAlignPar.h:53
void setDelRy(int iEP, double val)
Definition: CgemAlignPar.h:32
void setRx(int iEP, double val)
Definition: CgemAlignPar.h:24
double getDz(int iEP_Phy, int iSh_Phy)
Definition: CgemAlignPar.h:51
double getRy(int iEP)
Definition: CgemAlignPar.h:46
void setDelDz(int iEP, double val)
Definition: CgemAlignPar.h:30
void setDelRz(int iEP, double val)
Definition: CgemAlignPar.h:33
void setDz(int iEP, double val)
Definition: CgemAlignPar.h:23
void setErrDz(int iEP, double val)
Definition: CgemAlignPar.h:37
void setRy(int iEP, double val)
Definition: CgemAlignPar.h:25
void setRz(int iEP, double val)
Definition: CgemAlignPar.h:26
double getDy(int iEP)
Definition: CgemAlignPar.h:43
double getDx(int iEP)
Definition: CgemAlignPar.h:42
void setErrDx(int iEP, double val)
Definition: CgemAlignPar.h:35
double getRz(int iEP_Phy, int iSh_Phy)
Definition: CgemAlignPar.h:54
double getDx(int iEP_Phy, int iSh_Phy)
Definition: CgemAlignPar.h:49
void setErrRz(int iEP, double val)
Definition: CgemAlignPar.h:40
void wrtAlignPar()
void setDelDx(int iEP, double val)
Definition: CgemAlignPar.h:28
double getRz(int iEP)
Definition: CgemAlignPar.h:47
void setDy(int iEP, double val)
Definition: CgemAlignPar.h:22
double getRx(int iEP)
Definition: CgemAlignPar.h:45
void setDelRx(int iEP, double val)
Definition: CgemAlignPar.h:31
double getDy(int iEP_Phy, int iSh_Phy)
Definition: CgemAlignPar.h:50
void initAlignPar()
const int NEP
Definition: CgemAlignment.h:15