#include <MucGapCal.h>
Inheritance diagram for MucGapCal:
Public Member Functions | |
double | GetArea () |
double | GetArea () |
MucBoxCal * | GetBox () |
MucBoxCal * | GetBox () |
double | GetH () |
double | GetH () |
int | GetID () |
int | GetID () |
double | GetL () |
double | GetL () |
int | GetLayer () |
int | GetLayer () |
int | GetPart () |
int | GetPart () |
double | GetRc () |
double | GetRc () |
double | GetRin () |
double | GetRin () |
double | GetRout () |
double | GetRout () |
int | GetSegment () |
int | GetSegment () |
double | GetTheta () |
double | GetTheta () |
double | GetThin () |
double | GetThin () |
double | GetW () |
double | GetW () |
double | GetWd () |
double | GetWd () |
double | GetWu () |
double | GetWu () |
MucGapCal (const MucGapCal &other) | |
MucGapCal (int part, int segment, int layer) | |
MucGapCal (const MucGapCal &other) | |
MucGapCal (int part, int segment, int layer) | |
MucGapCal & | operator= (const MucGapCal &other) |
MucGapCal & | operator= (const MucGapCal &other) |
~MucGapCal () | |
~MucGapCal () | |
Protected Member Functions | |
virtual void | Init () |
virtual void | Init () |
virtual void | SetArea () |
virtual void | SetArea () |
virtual void | SetH () |
virtual void | SetH () |
virtual void | SetL () |
virtual void | SetL () |
virtual void | SetRc () |
virtual void | SetRc () |
virtual void | SetRin () |
virtual void | SetRin () |
virtual void | SetRout () |
virtual void | SetRout () |
virtual void | SetTheta () |
virtual void | SetTheta () |
virtual void | SetThin () |
virtual void | SetThin () |
virtual void | SetW () |
virtual void | SetW () |
virtual void | SetWd () |
virtual void | SetWd () |
virtual void | SetWu () |
virtual void | SetWu () |
Protected Attributes | |
double | m_Area |
double | m_H |
int | m_ID |
double | m_L |
int | m_Layer |
int | m_Part |
double | m_Rc |
double | m_Rin |
double | m_Rout |
int | m_Segment |
double | m_Theta |
double | m_Thin |
double | m_W |
double | m_Wd |
double | m_Wu |
Private Attributes | |
MucBoxCal * | m_MucBoxCal |
MucBoxCal * | m_MucBoxCal |
|
00017 : MucEntityCal( part, segment, layer ) 00018 { 00019 MucGapCal::Init(); 00020 m_MucBoxCal = NULL; 00021 }
|
|
00024 : MucEntityCal( other ) 00025 { 00026 m_MucBoxCal = other.m_MucBoxCal; 00027 }
|
|
00041 {
00042 delete m_MucBoxCal;
00043 }
|
|
|
|
|
|
|
|
|
|
00095 { return m_Area; }
|
|
|
|
00064 { 00065 if( m_MucBoxCal != NULL ) 00066 return m_MucBoxCal; 00067 else 00068 return ( m_MucBoxCal = new MucBoxCal(m_Part, m_Segment, m_Layer) ); 00069 }
|
|
|
|
00091 { return m_H; }
|
|
|
|
00084 { return m_ID; }
|
|
|
|
00092 { return m_L; }
|
|
|
|
00083 { return m_Layer; }
|
|
|
|
00081 { return m_Part; }
|
|
|
|
00088 { return m_Rc; }
|
|
|
|
00086 { return m_Rin; }
|
|
|
|
00087 { return m_Rout; }
|
|
|
|
00082 { return m_Segment; }
|
|
|
|
00085 { return m_Theta; }
|
|
|
|
00089 { return m_Thin; }
|
|
|
|
00090 { return m_W; }
|
|
|
|
00094 { return m_Wd; }
|
|
|
|
00093 { return m_Wu; }
|
|
Reimplemented from MucEntityCal. |
|
Reimplemented from MucEntityCal. 00047 { 00048 SetTheta(); 00049 SetRin(); 00050 SetRout(); 00051 SetRc(); 00052 00053 SetThin(); 00054 SetW(); 00055 SetWu(); 00056 SetWd(); 00057 SetH(); 00058 SetL(); 00059 }
|
|
|
|
00031 { 00032 if( this == &other) return *this; 00033 MucEntityCal::operator =(other); 00034 m_MucBoxCal = other.m_MucBoxCal; 00035 00036 return *this; 00037 }
|
|
Reimplemented in MucBoxCal, MucStripCal, MucBoxCal, and MucStripCal. |
|
Reimplemented in MucBoxCal, MucStripCal, MucBoxCal, and MucStripCal. 00123 { m_Area = 0.; }
|
|
Reimplemented from MucEntityCal. |
|
Reimplemented from MucEntityCal. 00103 { 00104 if( m_Part == BRID ) 00105 m_H = AS_GAP-0.2; // avoid overlap between absorber and gap 00106 else 00107 m_H = E_AS_RMAX - E_GP_DY; 00108 }
|
|
Reimplemented from MucEntityCal. |
|
Reimplemented from MucEntityCal.
|
|
Reimplemented from MucEntityCal. |
|
Reimplemented from MucEntityCal. 00088 { 00089 if( m_Part == BRID ) m_Rc = B_AS_RMIN[m_Layer] - AS_GAP/2.0; 00090 else m_Rc = sqrt(2.0) * E_AS_RMAX / 2.0; 00091 }
|
|
Reimplemented from MucEntityCal. |
|
Reimplemented from MucEntityCal. 00078 { 00079 if( m_Part == BRID ) m_Rin = B_AS_RMIN[m_Layer] - AS_GAP; 00080 else m_Rin = 0.; 00081 }
|
|
Reimplemented from MucEntityCal. |
|
Reimplemented from MucEntityCal. 00083 { 00084 if( m_Part == BRID ) m_Rout = B_AS_RMIN[m_Layer]; 00085 else m_Rout = E_AS_RMAX; 00086 }
|
|
Reimplemented from MucEntityCal. |
|
Reimplemented from MucEntityCal. 00073 { 00074 if( m_Part == BRID ) m_Theta = m_Segment * ( PI/4.0 ); 00075 else m_Theta = ( 2*m_Segment + 1 ) * ( PI/4.0 ); 00076 }
|
|
Reimplemented from MucEntityCal. |
|
Reimplemented from MucEntityCal. 00093 { 00094 m_Thin = AS_GAP; 00095 }
|
|
Reimplemented from MucEntityCal. |
|
Reimplemented from MucEntityCal. 00097 { 00098 if( m_Part == BRID) m_W = B_GP_WT[m_Layer]; 00099 else m_W = E_AS_RMAX - E_GP_DX; 00100 }
|
|
Reimplemented from MucEntityCal. |
|
Reimplemented from MucEntityCal. 00119 { 00120 m_Wd = m_W; 00121 }
|
|
Reimplemented from MucEntityCal. |
|
Reimplemented from MucEntityCal. 00115 { 00116 m_Wu = m_W; 00117 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|