CGEM BOSS 6.6.5.i
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)
void setErrRy(int iEP, double val)
void setDelDy(int iEP, double val)
void setErrDy(int iEP, double val)
bool rdAlignPar(std::string alignFile)
double getRx(int iEP_Phy, int iSh_Phy)
void setErrRx(int iEP, double val)
double getDz(int iEP)
double getRy(int iEP_Phy, int iSh_Phy)
void setDelRy(int iEP, double val)
void setRx(int iEP, double val)
double getDz(int iEP_Phy, int iSh_Phy)
double getRy(int iEP)
void setDelDz(int iEP, double val)
void setDelRz(int iEP, double val)
void setDz(int iEP, double val)
void setErrDz(int iEP, double val)
void setRy(int iEP, double val)
void setRz(int iEP, double val)
double getDy(int iEP)
double getDx(int iEP)
void setErrDx(int iEP, double val)
double getRz(int iEP_Phy, int iSh_Phy)
double getDx(int iEP_Phy, int iSh_Phy)
void setErrRz(int iEP, double val)
void setDelDx(int iEP, double val)
double getRz(int iEP)
void setDy(int iEP, double val)
double getRx(int iEP)
void setDelRx(int iEP, double val)
double getDy(int iEP_Phy, int iSh_Phy)
void initAlignPar()
const int NEP