CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Calibration/CalibData/CalibData-00-01-09/CalibData/Mdc/MdcAlignData.h
Go to the documentation of this file.
1#ifndef MDCALIGNDATA_H
2#define MDCALIGNDATA_H
3#include "GaudiKernel/DataObject.h"
4#include "CalibData/CalibModel.h"
5#include "CalibData/CalibBase1.h"
6namespace CalibData {
8
9public:
10 void readPar(char* p1, char* p2, char* p3);
11 // Re-implemented from DataObject
12 virtual ~MdcAlignData() {}
13 inline virtual const CLID& clID() const { return classID(); }
14
15 inline static const CLID& classID() { return CLID_Calib_MdcAlign; }
16
17 virtual StatusCode update(CalibBase1& other, MsgStream* log);
18
19 /* alignment arrays for endplates, 0~7 for east, 8~15 for west */
20
21 double getdxEP(int i){return dxEP[i];}
22 double getdyEP(int i){return dyEP[i];}
23 double getdzEP(int i){return dzEP[i];}
24 double getrxEP(int i){return rxEP[i];}
25 double getryEP(int i){return ryEP[i];}
26 double getrzEP(int i){return rzEP[i];}
27 double getdxWireEast(int i){return dxWireEast[i];}
28 double getdyWireEast(int i){return dyWireEast[i];}
29 double getdzWireEast(int i){return dzWireEast[i];}
30 double getdxWireWest(int i){return dxWireWest[i];}
31 double getdyWireWest(int i){return dyWireWest[i];}
32 double getdzWireWest(int i){return dzWireWest[i];}
33 double gettension(int i){return tension[i];}
34
35 private:
36 double dxEP[16];
37 double dyEP[16];
38 double dzEP[16];
39 double rxEP[16];
40 double ryEP[16];
41 double rzEP[16];
42
43 /* Wire position calibration data */
44 double dxWireEast[6796];
45 double dyWireEast[6796];
46 double dzWireEast[6796];
47 double dxWireWest[6796];
48 double dyWireWest[6796];
49 double dzWireWest[6796];
50
51 /* Wire tension data */
52 double tension[6796];
53
54};
55}
56#endif /* MDCALIGNDATA_H */
void readPar(char *p1, char *p2, char *p3)