BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
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
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 );
21 MucEntityCal &operator =( const MucEntityCal &other );
22 virtual ~MucEntityCal() ;
23
24 int GetPart();
25 int GetSegment();
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 ~MucEntityCal()
double m_Rout
Definition: MucEntityCal.h:67
virtual void SetWu()
double GetRout()
virtual void SetH()
double m_Thin
Definition: MucEntityCal.h:69
double GetTheta()
double GetWu()
double GetH()
virtual void Init()
double GetWd()
double GetThin()
double m_Theta
Definition: MucEntityCal.h:63
double GetRin()
virtual void SetTheta()
virtual void SetL()
double GetRc()
virtual void SetWd()
double m_Area
Definition: MucEntityCal.h:75
virtual void SetRc()
virtual void SetW()
virtual void SetRin()
double m_Rin
Definition: MucEntityCal.h:66
MucEntityCal & operator=(const MucEntityCal &other)
virtual void SetThin()
virtual void SetRout()
virtual void SetArea()
double GetW()
double GetL()
double GetArea()