BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Muc/MucCalib/include/MucCalib/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, <ygxie@mail.ihep.ac.cn> |
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 {
16public:
17 MucEntityCal( int part, int segment, int layer );
18 MucEntityCal( int part, int segment, int layer, int id );
19 MucEntityCal( const MucEntityCal& other );
21 virtual ~MucEntityCal();
22
23 int GetPart();
25 int GetLayer();
26 int GetID();
27
28 double GetTheta(); // degree
29 double GetRin(); // mm
30 double GetRout(); // mm
31 double GetRc(); // mm
32 double GetThin(); // mm
33 double GetW(); // mm
34 double GetH(); // mm
35 double GetL(); // mm
36 double GetWu(); // mm
37 double GetWd(); // mm
38 double GetArea(); // cm^2
39
40protected:
41 virtual void Init(); // all geometry information initilization
42
43 virtual void SetTheta(); // set theta
44 virtual void SetRin(); // set r inner
45 virtual void SetRout(); // set r outer
46 virtual void SetRc(); // set r center
47 virtual void SetThin(); // set thickness
48 virtual void SetW(); // set width
49 virtual void SetH(); // set height
50 virtual void SetL(); // set stretching length
51 virtual void SetWu(); // set up width
52 virtual void SetWd(); // set down width
53 virtual void SetArea(); // set area of entity(cm^2)
54
55protected:
56 int m_Part; // part id
57 int m_Segment; // segment id
58 int m_Layer; // layer id
59 int m_ID; // object id
60
61 double m_Theta; // barrel: inclination angle of R and Bes_X
62 // endcap: inclination angle of panel boudary and Bes_X
63
64 double m_Rin; // r of the inner surface relative to BES origin
65 double m_Rout; // r of the outer surface relative to BES origin
66 double m_Rc; // r of the center surface relative to BES orign
67 double m_Thin; // thickness of entity
68 double m_W; // width of cross section
69 double m_H; // height of cross section
70 double m_L; // stretching length of cross section
71 double m_Wu; // up width of trapezoid cross section
72 double m_Wd; // down width of trapezoid cross section
73 double m_Area; // area of entity,mm^2
74};
75
76#endif
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()