BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
MucStripCal.h
Go to the documentation of this file.
1//------------------------------------------------------------------------------|
2// [File ]: MucStripCal.h |
3// [Brief ]: Head file of class MucStripCal for MUC calibration |
4// [Author]: Xie Yuguang, <[email protected]> |
5// [Date ]: May 25, 2006 |
6// [Log ]: See ChangLog |
7//------------------------------------------------------------------------------|
8
9#ifndef MUC_STRIP_H
10#define MUC_STRIP_H
11
12#include<iostream>
13
15
16using namespace std;
17
18const int TURN_STR_ID[8][2] = { {11,29},{11,30},{12,30},{12,32},{12,33},{12,34},{13,36},{14,38} };
19const double FIRST_TURN_HEAD[8][2] = { {1092,1092}, {1126,1120}, {1158,1158}, {1193,1179},
20 {1228,1220}, {1267,1267}, {1327,1327}, {1388,1385} };
21const double SECOND_TURN_HEAD[2] = {56,66}; // odd layer: 56, even layer: 66;
22const int TURN_POINT_NUM = 26;
23const double ODD_TURN_POINT_TAIL[2][2] = { {2317,2304},{2329,2321} };
24const double EVEN_TURN_POINT_TAIL[2] = {2329,2329};
25
26//-------------------------------Class definition -------------------------------
28{
29 public:
30
31 MucStripCal( int part, int segment, int layer,int id );
32 MucStripCal( const MucStripCal &other );
33 MucStripCal& operator =( const MucStripCal &other );
34 virtual ~MucStripCal();
35
36 int GetType();
37 double GetCenterLine();
38 double GetHead();
39 double GetTail();
40 double GetPhi();
41 int GetPadNumber();
42
43 protected:
44
45 virtual void Init();
46
47 void SetType();
48 void SetCenterLine();
49 void SetHead();
50 void SetTail();
51 void SetPhi();
52
53 virtual void SetThin();
54 virtual void SetW();
55 virtual void SetWu();
56 virtual void SetWd();
57 virtual void SetH();
58 virtual void SetL();
59 virtual void SetArea();
60
61 void SetPadNumber();
62
63 private:
64
65 // Geometry info
66 int m_Type; // strip readout type
67 double m_CenterLine; // strip center line position, endcap only
68 double m_Head; // strip head coordinate, endcap only
69 double m_Tail; // strip tail coordinate, endcap only
70 double m_Phi; // the inclination angle of local x axis and BES x axis
71 int m_PadNumber; // the number of pads in the strip
72};
73
74#endif
const double SECOND_TURN_HEAD[2]
Definition MucStripCal.h:21
const double EVEN_TURN_POINT_TAIL[2]
Definition MucStripCal.h:24
const double ODD_TURN_POINT_TAIL[2][2]
Definition MucStripCal.h:23
const int TURN_STR_ID[8][2]
Definition MucStripCal.h:18
const double FIRST_TURN_HEAD[8][2]
Definition MucStripCal.h:19
const int TURN_POINT_NUM
Definition MucStripCal.h:22
void SetPadNumber()
virtual void SetArea()
virtual void SetH()
double GetTail()
virtual void SetThin()
virtual void Init()
double GetPhi()
double GetCenterLine()
virtual void SetWu()
MucStripCal(int part, int segment, int layer, int id)
int GetPadNumber()
double GetHead()
virtual void SetW()
virtual void SetWd()
void SetCenterLine()
MucStripCal & operator=(const MucStripCal &other)
virtual ~MucStripCal()
virtual void SetL()