BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MdcAlignAlg/MdcAlignAlg/MdcAlignPar.h
Go to the documentation of this file.
1#ifndef MDCALIGNPAR_H
2#define MDCALIGNPAR_H
3
4#include "Alignment.h"
5
6#include <fstream>
7#include <string>
8#include <cstring>
9
10using namespace Alignment;
11
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
42private:
43 double m_dx[NEP];
44 double m_dy[NEP];
45 double m_dz[NEP];
46 double m_rx[NEP];
47 double m_ry[NEP];
48 double m_rz[NEP];
49
50 double m_delDx[NEP];
51 double m_delDy[NEP];
52 double m_delDz[NEP];
53 double m_delRx[NEP];
54 double m_delRy[NEP];
55 double m_delRz[NEP];
56
57 double m_errDx[NEP];
58 double m_errDy[NEP];
59 double m_errDz[NEP];
60 double m_errRx[NEP];
61 double m_errRy[NEP];
62 double m_errRz[NEP];
63};
64
65#endif/*MDCALIGNPAR_H*/
void initAlignPar()
Definition: MdcAlignPar.cpp:24
void wrtAlignPar()
Definition: MdcAlignPar.cpp:61
bool rdAlignPar(std::string alignFile)
Definition: MdcAlignPar.cpp:42