#include <MucGapCal.h>
Inheritance diagram for MucGapCal:
Public Member Functions | |
MucGapCal (int part, int segment, int layer) | |
MucGapCal (const MucGapCal &other) | |
MucGapCal & | operator= (const MucGapCal &other) |
~MucGapCal () | |
MucBoxCal * | GetBox () |
int | GetPart () |
int | GetSegment () |
int | GetLayer () |
int | GetID () |
double | GetTheta () |
double | GetRin () |
double | GetRout () |
double | GetRc () |
double | GetThin () |
double | GetW () |
double | GetH () |
double | GetL () |
double | GetWu () |
double | GetWd () |
double | GetArea () |
Protected Member Functions | |
virtual void | Init () |
virtual void | SetTheta () |
virtual void | SetRin () |
virtual void | SetRout () |
virtual void | SetRc () |
virtual void | SetThin () |
virtual void | SetW () |
virtual void | SetH () |
virtual void | SetL () |
virtual void | SetWu () |
virtual void | SetWd () |
virtual void | SetArea () |
Protected Attributes | |
int | m_Part |
int | m_Segment |
int | m_Layer |
int | m_ID |
double | m_Theta |
double | m_Rin |
double | m_Rout |
double | m_Rc |
double | m_Thin |
double | m_W |
double | m_H |
double | m_L |
double | m_Wu |
double | m_Wd |
double | m_Area |
Private Attributes | |
MucBoxCal * | m_MucBoxCal |
Definition at line 18 of file MucGapCal.h.
MucGapCal::MucGapCal | ( | int | part, | |
int | segment, | |||
int | layer | |||
) |
Definition at line 17 of file MucGapCal.cxx.
References Init(), and m_MucBoxCal.
00017 : MucEntityCal( part, segment, layer ) 00018 { 00019 MucGapCal::Init(); 00020 m_MucBoxCal = NULL; 00021 }
MucGapCal::MucGapCal | ( | const MucGapCal & | other | ) |
Definition at line 24 of file MucGapCal.cxx.
References m_MucBoxCal, and EvtCyclic3::other().
00024 : MucEntityCal( other ) 00025 { 00026 m_MucBoxCal = other.m_MucBoxCal; 00027 }
MucGapCal::~MucGapCal | ( | ) |
Definition at line 40 of file MucGapCal.cxx.
References m_MucBoxCal.
00041 { 00042 delete m_MucBoxCal; 00043 }
double MucEntityCal::GetArea | ( | ) | [inherited] |
Definition at line 95 of file MucEntityCal.cxx.
References MucEntityCal::m_Area.
00095 { return m_Area; }
MucBoxCal * MucGapCal::GetBox | ( | ) |
Definition at line 63 of file MucGapCal.cxx.
References MucEntityCal::m_Layer, m_MucBoxCal, MucEntityCal::m_Part, and MucEntityCal::m_Segment.
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 }
double MucEntityCal::GetH | ( | ) | [inherited] |
int MucEntityCal::GetID | ( | ) | [inherited] |
Definition at line 84 of file MucEntityCal.cxx.
References MucEntityCal::m_ID.
00084 { return m_ID; }
double MucEntityCal::GetL | ( | ) | [inherited] |
int MucEntityCal::GetLayer | ( | ) | [inherited] |
Definition at line 83 of file MucEntityCal.cxx.
References MucEntityCal::m_Layer.
00083 { return m_Layer; }
int MucEntityCal::GetPart | ( | ) | [inherited] |
Definition at line 81 of file MucEntityCal.cxx.
References MucEntityCal::m_Part.
00081 { return m_Part; }
double MucEntityCal::GetRc | ( | ) | [inherited] |
Definition at line 88 of file MucEntityCal.cxx.
References MucEntityCal::m_Rc.
00088 { return m_Rc; }
double MucEntityCal::GetRin | ( | ) | [inherited] |
Definition at line 86 of file MucEntityCal.cxx.
References MucEntityCal::m_Rin.
00086 { return m_Rin; }
double MucEntityCal::GetRout | ( | ) | [inherited] |
Definition at line 87 of file MucEntityCal.cxx.
References MucEntityCal::m_Rout.
00087 { return m_Rout; }
int MucEntityCal::GetSegment | ( | ) | [inherited] |
Definition at line 82 of file MucEntityCal.cxx.
References MucEntityCal::m_Segment.
00082 { return m_Segment; }
double MucEntityCal::GetTheta | ( | ) | [inherited] |
Definition at line 85 of file MucEntityCal.cxx.
References MucEntityCal::m_Theta.
00085 { return m_Theta; }
double MucEntityCal::GetThin | ( | ) | [inherited] |
Definition at line 89 of file MucEntityCal.cxx.
References MucEntityCal::m_Thin.
00089 { return m_Thin; }
double MucEntityCal::GetW | ( | ) | [inherited] |
double MucEntityCal::GetWd | ( | ) | [inherited] |
Definition at line 94 of file MucEntityCal.cxx.
References MucEntityCal::m_Wd.
00094 { return m_Wd; }
double MucEntityCal::GetWu | ( | ) | [inherited] |
Definition at line 93 of file MucEntityCal.cxx.
References MucEntityCal::m_Wu.
00093 { return m_Wu; }
void MucGapCal::Init | ( | ) | [protected, virtual] |
Reimplemented from MucEntityCal.
Definition at line 46 of file MucGapCal.cxx.
References SetH(), SetL(), SetRc(), SetRin(), SetRout(), SetTheta(), SetThin(), SetW(), SetWd(), and SetWu().
Referenced by MucGapCal().
00047 { 00048 SetTheta(); 00049 SetRin(); 00050 SetRout(); 00051 SetRc(); 00052 00053 SetThin(); 00054 SetW(); 00055 SetWu(); 00056 SetWd(); 00057 SetH(); 00058 SetL(); 00059 }
Definition at line 30 of file MucGapCal.cxx.
References m_MucBoxCal, MucEntityCal::operator=(), and EvtCyclic3::other().
00031 { 00032 if( this == &other) return *this; 00033 MucEntityCal::operator =(other); 00034 m_MucBoxCal = other.m_MucBoxCal; 00035 00036 return *this; 00037 }
void MucEntityCal::SetArea | ( | ) | [protected, virtual, inherited] |
Reimplemented in MucBoxCal, and MucStripCal.
Definition at line 123 of file MucEntityCal.cxx.
References MucEntityCal::m_Area.
Referenced by MucEntityCal::Init().
00123 { m_Area = 0.; }
void MucGapCal::SetH | ( | ) | [protected, virtual] |
Reimplemented from MucEntityCal.
Definition at line 102 of file MucGapCal.cxx.
References AS_GAP, BRID, E_AS_RMAX, E_GP_DY, MucEntityCal::m_H, and MucEntityCal::m_Part.
Referenced by Init().
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 }
void MucGapCal::SetL | ( | ) | [protected, virtual] |
Reimplemented from MucEntityCal.
Definition at line 110 of file MucGapCal.cxx.
References AS_GAP, B_GP_LT, BRID, MucEntityCal::m_L, and MucEntityCal::m_Part.
Referenced by Init().
void MucGapCal::SetRc | ( | ) | [protected, virtual] |
Reimplemented from MucEntityCal.
Definition at line 88 of file MucGapCal.cxx.
References AS_GAP, B_AS_RMIN, BRID, E_AS_RMAX, MucEntityCal::m_Layer, MucEntityCal::m_Part, and MucEntityCal::m_Rc.
Referenced by Init().
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 }
void MucGapCal::SetRin | ( | ) | [protected, virtual] |
Reimplemented from MucEntityCal.
Definition at line 78 of file MucGapCal.cxx.
References AS_GAP, B_AS_RMIN, BRID, MucEntityCal::m_Layer, MucEntityCal::m_Part, and MucEntityCal::m_Rin.
Referenced by Init().
00078 { 00079 if( m_Part == BRID ) m_Rin = B_AS_RMIN[m_Layer] - AS_GAP; 00080 else m_Rin = 0.; 00081 }
void MucGapCal::SetRout | ( | ) | [protected, virtual] |
Reimplemented from MucEntityCal.
Definition at line 83 of file MucGapCal.cxx.
References B_AS_RMIN, BRID, E_AS_RMAX, MucEntityCal::m_Layer, MucEntityCal::m_Part, and MucEntityCal::m_Rout.
Referenced by Init().
00083 { 00084 if( m_Part == BRID ) m_Rout = B_AS_RMIN[m_Layer]; 00085 else m_Rout = E_AS_RMAX; 00086 }
void MucGapCal::SetTheta | ( | ) | [protected, virtual] |
Reimplemented from MucEntityCal.
Definition at line 73 of file MucGapCal.cxx.
References BRID, MucEntityCal::m_Part, MucEntityCal::m_Segment, MucEntityCal::m_Theta, and PI.
Referenced by Init().
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 }
void MucGapCal::SetThin | ( | ) | [protected, virtual] |
Reimplemented from MucEntityCal.
Definition at line 93 of file MucGapCal.cxx.
References AS_GAP, and MucEntityCal::m_Thin.
Referenced by Init().
void MucGapCal::SetW | ( | ) | [protected, virtual] |
Reimplemented from MucEntityCal.
Definition at line 97 of file MucGapCal.cxx.
References B_GP_WT, BRID, E_AS_RMAX, E_GP_DX, MucEntityCal::m_Layer, MucEntityCal::m_Part, and MucEntityCal::m_W.
Referenced by Init().
00097 { 00098 if( m_Part == BRID) m_W = B_GP_WT[m_Layer]; 00099 else m_W = E_AS_RMAX - E_GP_DX; 00100 }
void MucGapCal::SetWd | ( | ) | [protected, virtual] |
Reimplemented from MucEntityCal.
Definition at line 119 of file MucGapCal.cxx.
References MucEntityCal::m_W, and MucEntityCal::m_Wd.
Referenced by Init().
void MucGapCal::SetWu | ( | ) | [protected, virtual] |
Reimplemented from MucEntityCal.
Definition at line 115 of file MucGapCal.cxx.
References MucEntityCal::m_W, and MucEntityCal::m_Wu.
Referenced by Init().
double MucEntityCal::m_Area [protected, inherited] |
Definition at line 75 of file MucEntityCal.h.
Referenced by MucEntityCal::GetArea(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), MucStripCal::SetArea(), MucEntityCal::SetArea(), and MucBoxCal::SetArea().
double MucEntityCal::m_H [protected, inherited] |
Definition at line 71 of file MucEntityCal.h.
Referenced by MucEntityCal::GetH(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), MucBoxCal::SetArea(), MucStripCal::SetH(), SetH(), MucEntityCal::SetH(), and MucBoxCal::SetH().
int MucEntityCal::m_ID [protected, inherited] |
Definition at line 61 of file MucEntityCal.h.
Referenced by MucEntityCal::GetID(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), MucStripCal::SetCenterLine(), MucStripCal::SetHead(), MucStripCal::SetL(), MucStripCal::SetTail(), and MucStripCal::SetW().
double MucEntityCal::m_L [protected, inherited] |
Definition at line 72 of file MucEntityCal.h.
Referenced by MucEntityCal::GetL(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), MucStripCal::SetArea(), MucBoxCal::SetArea(), MucStripCal::SetL(), SetL(), MucEntityCal::SetL(), MucBoxCal::SetL(), and MucStripCal::SetPadNumber().
int MucEntityCal::m_Layer [protected, inherited] |
Definition at line 60 of file MucEntityCal.h.
Referenced by GetBox(), MucEntityCal::GetLayer(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), MucBoxCal::SetArea(), MucStripCal::SetCenterLine(), MucBoxCal::SetH(), MucStripCal::SetHead(), MucStripCal::SetL(), SetRc(), MucBoxCal::SetRc(), SetRin(), MucBoxCal::SetRin(), SetRout(), MucBoxCal::SetRout(), MucStripCal::SetTail(), MucStripCal::SetType(), MucStripCal::SetW(), SetW(), and MucBoxCal::SetW().
MucBoxCal* MucGapCal::m_MucBoxCal [private] |
Definition at line 45 of file MucGapCal.h.
Referenced by GetBox(), MucGapCal(), operator=(), and ~MucGapCal().
int MucEntityCal::m_Part [protected, inherited] |
Definition at line 58 of file MucEntityCal.h.
Referenced by GetBox(), MucEntityCal::GetPart(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), MucBoxCal::SetArea(), SetH(), MucBoxCal::SetH(), MucStripCal::SetL(), SetL(), MucBoxCal::SetL(), MucStripCal::SetPhi(), SetRc(), MucBoxCal::SetRc(), SetRin(), MucBoxCal::SetRin(), SetRout(), MucBoxCal::SetRout(), SetTheta(), MucBoxCal::SetTheta(), MucStripCal::SetType(), MucStripCal::SetW(), SetW(), MucBoxCal::SetW(), MucBoxCal::SetWd(), and MucBoxCal::SetWu().
double MucEntityCal::m_Rc [protected, inherited] |
Definition at line 68 of file MucEntityCal.h.
Referenced by MucEntityCal::GetRc(), SetRc(), MucEntityCal::SetRc(), and MucBoxCal::SetRc().
double MucEntityCal::m_Rin [protected, inherited] |
Definition at line 66 of file MucEntityCal.h.
Referenced by MucEntityCal::GetRin(), MucBoxCal::SetRc(), SetRin(), MucEntityCal::SetRin(), MucBoxCal::SetRin(), and MucBoxCal::SetWu().
double MucEntityCal::m_Rout [protected, inherited] |
Definition at line 67 of file MucEntityCal.h.
Referenced by MucEntityCal::GetRout(), MucBoxCal::SetRc(), SetRout(), MucEntityCal::SetRout(), MucBoxCal::SetRout(), and MucBoxCal::SetWd().
int MucEntityCal::m_Segment [protected, inherited] |
Definition at line 59 of file MucEntityCal.h.
Referenced by GetBox(), MucEntityCal::GetSegment(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), MucBoxCal::SetArea(), MucStripCal::SetCenterLine(), MucStripCal::SetHead(), MucStripCal::SetL(), MucStripCal::SetPhi(), MucStripCal::SetTail(), SetTheta(), MucBoxCal::SetTheta(), and MucStripCal::SetW().
double MucEntityCal::m_Theta [protected, inherited] |
Definition at line 63 of file MucEntityCal.h.
Referenced by MucEntityCal::GetTheta(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), SetTheta(), MucEntityCal::SetTheta(), and MucBoxCal::SetTheta().
double MucEntityCal::m_Thin [protected, inherited] |
Definition at line 69 of file MucEntityCal.h.
Referenced by MucEntityCal::GetThin(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), MucStripCal::SetThin(), SetThin(), MucEntityCal::SetThin(), and MucBoxCal::SetThin().
double MucEntityCal::m_W [protected, inherited] |
Definition at line 70 of file MucEntityCal.h.
Referenced by MucEntityCal::GetW(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), MucStripCal::SetArea(), MucBoxCal::SetArea(), MucStripCal::SetCenterLine(), MucStripCal::SetPadNumber(), MucStripCal::SetTail(), MucStripCal::SetW(), SetW(), MucEntityCal::SetW(), MucBoxCal::SetW(), MucStripCal::SetWd(), SetWd(), MucBoxCal::SetWd(), MucStripCal::SetWu(), SetWu(), and MucBoxCal::SetWu().
double MucEntityCal::m_Wd [protected, inherited] |
Definition at line 74 of file MucEntityCal.h.
Referenced by MucEntityCal::GetWd(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), MucBoxCal::SetArea(), MucStripCal::SetWd(), SetWd(), MucEntityCal::SetWd(), and MucBoxCal::SetWd().
double MucEntityCal::m_Wu [protected, inherited] |
Definition at line 73 of file MucEntityCal.h.
Referenced by MucEntityCal::GetWu(), MucEntityCal::MucEntityCal(), MucEntityCal::operator=(), MucBoxCal::SetArea(), MucStripCal::SetWu(), SetWu(), MucEntityCal::SetWu(), and MucBoxCal::SetWu().