BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
MucStrip.h
Go to the documentation of this file.
1//------------------------------------------------------------------------------|
2// [File ]: MucStrip.h |
3// [Brief ]: Head file of class MucStrip 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// #include "MucGeoCreateAlg/MucPadChain.h"
16
17using namespace std;
18
19// constants definition
20// any change should be confirmed according to the design
21const int HEAD_TURN_STR_NUM[8][2] = { {12,30},{12,31},{12,32},{13,33},{13,34},{14,35},{14,37},{15,39} };
22const double FIRST_TURN_HEAD[8][2] = { {1092.5,1062.5}, {1126,1120}, {1156,1158.5}, {1193,1179.5},
23 {1228.5,1220}, {1267,1249}, {1327.5,1325}, {1388,1385} };
24const double SECOND_TURN_HEAD[2] = {56,66}; // odd layer: 56, even layer: 66;
25const int TAIL_TURN_STR_NUM[2] = {26,27};
26const double ODD_TURN_POINT_TAIL[2][2] = { {2317,2304},{2328,2321} };
27const double EVEN_TURN_POINT_TAIL[2] = {2329,2296};
28const double E_FIRST_STR_WT = 48.0;
29
30//-------------------------------Class definition -------------------------------
31class MucStrip : public MucEntity
32{
33 public:
34
35 MucStrip( int part, int segment, int layer,int id );
36 MucStrip( const MucStrip &other );
37 MucStrip& operator =( const MucStrip &other );
38 virtual ~MucStrip();
39
40 int GetType();
41 double GetCenterLine();
42 double GetHead();
43 double GetTail();
44 double GetPhi();
45 int GetPadNumber();
46
47 // MucPadChain *GetPadChain();
48
49 protected:
50 virtual void Init();
51
52 void SetType();
53 void SetCenterLine();
54 void SetHead();
55 void SetTail();
56 void SetPhi();
57
58 virtual void SetThin();
59 virtual void SetW();
60 virtual void SetWu();
61 virtual void SetWd();
62 virtual void SetH();
63 virtual void SetL();
64 virtual void SetArea();
65
66 void SetPadNumber();
69
70 virtual void SetLocOrgInBes();
71 // virtual void SetObjRotToMot();
72 virtual void SetObjOrgInBes();
73 virtual void SetObjOrgInLoc();
74
75 private:
76
77 // Geometry info
78 int m_Type; // strip readout type
79 double m_CenterLine; // strip center line position, endcap only
80 double m_Head; // strip head coordinate, endcap only
81 double m_Tail; // strip tail coordinate, endcap only
82 double m_Phi; // the inclination angle of local x axis and BES x axis
83 int m_PadNumber; // the number of pads in the strip
84
85 // MucPadChain *m_MucPadChain;
86
87};
88
89#endif
const double SECOND_TURN_HEAD[2]
Definition: MucStrip.h:24
const double EVEN_TURN_POINT_TAIL[2]
Definition: MucStrip.h:27
const int HEAD_TURN_STR_NUM[8][2]
Definition: MucStrip.h:21
const double ODD_TURN_POINT_TAIL[2][2]
Definition: MucStrip.h:26
const int TAIL_TURN_STR_NUM[2]
Definition: MucStrip.h:25
const double FIRST_TURN_HEAD[8][2]
Definition: MucStrip.h:22
const double E_FIRST_STR_WT
Definition: MucStrip.h:28
double GetTail()
Definition: MucStrip.cxx:91
virtual void SetWu()
Definition: MucStrip.cxx:286
virtual void SetLocOrgInBes()
Definition: MucStrip.cxx:373
int GetType()
Definition: MucStrip.cxx:88
double GetHead()
Definition: MucStrip.cxx:90
virtual void SetL()
Definition: MucStrip.cxx:304
void SetPadNumber()
Definition: MucStrip.cxx:352
virtual void SetWd()
Definition: MucStrip.cxx:292
virtual void SetThin()
Definition: MucStrip.cxx:229
virtual void SetH()
Definition: MucStrip.cxx:298
void SetEndcapStripInBes()
Definition: MucStrip.cxx:423
double GetPhi()
Definition: MucStrip.cxx:92
void SetCenterLine()
Definition: MucStrip.cxx:121
void SetType()
Definition: MucStrip.cxx:108
virtual void Init()
Definition: MucStrip.cxx:61
void SetBarrelStripInLoc()
Definition: MucStrip.cxx:456
int GetPadNumber()
Definition: MucStrip.cxx:93
virtual void SetObjOrgInBes()
Definition: MucStrip.cxx:572
virtual ~MucStrip()
Definition: MucStrip.cxx:55
virtual void SetArea()
Definition: MucStrip.cxx:346
virtual void SetW()
Definition: MucStrip.cxx:235
MucStrip & operator=(const MucStrip &other)
Definition: MucStrip.cxx:37
double GetCenterLine()
Definition: MucStrip.cxx:89
void SetPhi()
Definition: MucStrip.cxx:220
void SetTail()
Definition: MucStrip.cxx:183
void SetHead()
Definition: MucStrip.cxx:153
virtual void SetObjOrgInLoc()
Definition: MucStrip.cxx:584