CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Muc/MucCalibAlg/MucCalibAlg-00-02-16/MucCalibAlg/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
14#include "MucCalibAlg/MucEntityCal.h"
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 -------------------------------
27class MucStripCal : public MucEntityCal
28{
29 public:
30
31 MucStripCal( int part, int segment, int layer,int id );
32 MucStripCal( const MucStripCal &other );
34 virtual ~MucStripCal();
35
36 int GetType();
37 double GetCenterLine();
38 double GetHead();
39 double GetTail();
40 double GetPhi();
42
43 protected:
44
45 virtual void Init();
46
47 void SetType();
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
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
void SetPadNumber()
void SetHead()
virtual ~MucStripCal()
virtual void SetWd()
virtual void Init()
virtual void SetWu()
virtual void SetH()
double GetTail()
double GetPhi()
virtual void SetArea()
double GetCenterLine()
void SetType()
MucStripCal(int part, int segment, int layer, int id)
int GetPadNumber()
double GetHead()
MucStripCal(const MucStripCal &other)
virtual void SetThin()
void SetTail()
void SetPhi()
virtual void SetL()
void SetCenterLine()
MucStripCal & operator=(const MucStripCal &other)
Definition: MucStripCal.cxx:38
virtual void SetW()