BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Muc/MucGeoCreateAlg/MucGeoCreateAlg-00-01-00/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();
47
48// MucPadChain* GetPadChain();
49
50 protected:
51
52 virtual void Init();
53
54 void SetType();
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();
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
MucStrip(const MucStrip &other)
double GetTail()
virtual void SetH()
int GetType()
virtual void Init()
virtual void SetW()
virtual void SetArea()
MucStrip(int part, int segment, int layer, int id)
double GetHead()
void SetPadNumber()
virtual void SetLocOrgInBes()
virtual void SetWu()
virtual ~MucStrip()
void SetEndcapStripInBes()
double GetPhi()
virtual void SetObjOrgInBes()
virtual void SetThin()
void SetCenterLine()
void SetType()
virtual void SetWd()
void SetBarrelStripInLoc()
int GetPadNumber()
virtual void SetObjOrgInLoc()
virtual void SetL()
MucStrip & operator=(const MucStrip &other)
Definition: MucStrip.cxx:38
double GetCenterLine()
void SetPhi()
void SetTail()
void SetHead()