BOSS 8.0.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, <ygxie@mail.ihep.ac.cn> |
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 },
22 { 13, 34 }, { 14, 35 }, { 14, 37 }, { 15, 39 } };
23const double FIRST_TURN_HEAD[8][2] = { { 1092.5, 1062.5 }, { 1126, 1120 }, { 1156, 1158.5 },
24 { 1193, 1179.5 }, { 1228.5, 1220 }, { 1267, 1249 },
25 { 1327.5, 1325 }, { 1388, 1385 } };
26const double SECOND_TURN_HEAD[2] = { 56, 66 }; // odd layer: 56, even layer: 66;
27const int TAIL_TURN_STR_NUM[2] = { 26, 27 };
28const double ODD_TURN_POINT_TAIL[2][2] = { { 2317, 2304 }, { 2328, 2321 } };
29const double EVEN_TURN_POINT_TAIL[2] = { 2329, 2296 };
30const double E_FIRST_STR_WT = 48.0;
31
32//-------------------------------Class definition -------------------------------
33class MucStrip : public MucEntity {
34public:
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
49protected:
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
75private:
76 // Geometry info
77 int m_Type; // strip readout type
78 double m_CenterLine; // strip center line position, endcap only
79 double m_Head; // strip head coordinate, endcap only
80 double m_Tail; // strip tail coordinate, endcap only
81 double m_Phi; // the inclination angle of local x axis and BES x axis
82 int m_PadNumber; // the number of pads in the strip
83
84 // MucPadChain *m_MucPadChain;
85};
86
87#endif
const int HEAD_TURN_STR_NUM[8][2]
Definition MucStrip.h:21
const int TAIL_TURN_STR_NUM[2]
Definition MucStrip.h:27
const double E_FIRST_STR_WT
Definition MucStrip.h:30
MucEntity(int part, int segment, int layer)
Definition MucEntity.cxx:17
double GetTail()
Definition MucStrip.cxx:87
virtual void SetWu()
Definition MucStrip.cxx:276
virtual void SetLocOrgInBes()
Definition MucStrip.cxx:347
int GetType()
Definition MucStrip.cxx:84
MucStrip(int part, int segment, int layer, int id)
Definition MucStrip.cxx:18
double GetHead()
Definition MucStrip.cxx:86
virtual void SetL()
Definition MucStrip.cxx:285
void SetPadNumber()
Definition MucStrip.cxx:327
virtual void SetWd()
Definition MucStrip.cxx:279
virtual void SetThin()
Definition MucStrip.cxx:223
virtual void SetH()
Definition MucStrip.cxx:282
void SetEndcapStripInBes()
Definition MucStrip.cxx:404
double GetPhi()
Definition MucStrip.cxx:88
void SetCenterLine()
Definition MucStrip.cxx:118
void SetType()
Definition MucStrip.cxx:104
virtual void Init()
Definition MucStrip.cxx:58
void SetBarrelStripInLoc()
Definition MucStrip.cxx:436
int GetPadNumber()
Definition MucStrip.cxx:89
virtual void SetObjOrgInBes()
Definition MucStrip.cxx:557
virtual ~MucStrip()
Definition MucStrip.cxx:53
virtual void SetArea()
Definition MucStrip.cxx:324
virtual void SetW()
Definition MucStrip.cxx:226
MucStrip & operator=(const MucStrip &other)
Definition MucStrip.cxx:36
double GetCenterLine()
Definition MucStrip.cxx:85
void SetPhi()
Definition MucStrip.cxx:215
void SetTail()
Definition MucStrip.cxx:178
void SetHead()
Definition MucStrip.cxx:151
virtual void SetObjOrgInLoc()
Definition MucStrip.cxx:568