BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Muc/MucCalibAlg/MucCalibAlg-00-02-16/MucCalibAlg/MucEntityCal.h
Go to the documentation of this file.
1//------------------------------------------------------------------------------|
2// [File ]: MucEntityCal.h |
3// [Brief ]: Head file of MUC geometry entity class for calibration |
4// [Author]: Xie Yuguang, <[email protected]> |
5// [Date ]: May 22, 2005 |
6//------------------------------------------------------------------------------|
7
8#ifndef MUC_ENTITY_CAL_H
9#define MUC_ENTITY_CAL_H
10
11#include<iostream>
12
13using namespace std;
14
15class MucEntityCal
16{
17 public:
18 MucEntityCal( int part, int segment, int layer );
19 MucEntityCal( int part, int segment, int layer, int id );
20 MucEntityCal( const MucEntityCal &other );
22 virtual ~MucEntityCal() ;
23
24 int GetPart();
26 int GetLayer();
27 int GetID();
28
29 double GetTheta(); // degree
30 double GetRin(); // mm
31 double GetRout(); // mm
32 double GetRc(); // mm
33 double GetThin(); // mm
34 double GetW(); // mm
35 double GetH(); // mm
36 double GetL(); // mm
37 double GetWu(); // mm
38 double GetWd(); // mm
39 double GetArea(); // cm^2
40
41 protected:
42
43 virtual void Init(); // all geometry information initilization
44
45 virtual void SetTheta(); // set theta
46 virtual void SetRin(); // set r inner
47 virtual void SetRout(); // set r outer
48 virtual void SetRc(); // set r center
49 virtual void SetThin(); // set thickness
50 virtual void SetW(); // set width
51 virtual void SetH(); // set height
52 virtual void SetL(); // set stretching length
53 virtual void SetWu(); // set up width
54 virtual void SetWd(); // set down width
55 virtual void SetArea(); // set area of entity(cm^2)
56
57 protected:
58 int m_Part; // part id
59 int m_Segment; // segment id
60 int m_Layer; // layer id
61 int m_ID; // object id
62
63 double m_Theta; // barrel: inclination angle of R and Bes_X
64 // endcap: inclination angle of panel boudary and Bes_X
65
66 double m_Rin; // r of the inner surface relative to BES origin
67 double m_Rout; // r of the outer surface relative to BES origin
68 double m_Rc; // r of the center surface relative to BES orign
69 double m_Thin; // thickness of entity
70 double m_W; // width of cross section
71 double m_H; // height of cross section
72 double m_L; // stretching length of cross section
73 double m_Wu; // up width of trapezoid cross section
74 double m_Wd; // down width of trapezoid cross section
75 double m_Area; // area of entity,mm^2
76};
77
78#endif
79
virtual void SetTheta()
MucEntityCal(int part, int segment, int layer)
virtual void SetRin()
double GetRout()
virtual void SetWd()
virtual void SetRout()
double GetTheta()
double GetWu()
virtual void Init()
double GetH()
virtual void SetL()
MucEntityCal(int part, int segment, int layer, int id)
double GetWd()
double GetThin()
double GetRin()
virtual void SetRc()
double GetRc()
virtual void SetArea()
MucEntityCal(const MucEntityCal &other)
virtual void SetH()
MucEntityCal & operator=(const MucEntityCal &other)
int GetSegment()
virtual void SetW()
virtual ~MucEntityCal()
double GetW()
virtual void SetWu()
double GetL()
double GetArea()
virtual void SetThin()