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