#include <MucEntity.h>
Inheritance diagram for MucEntity:
Public Member Functions | |
double | GetArea () |
double | GetArea () |
double | GetH () |
double | GetH () |
int | GetID () |
int | GetID () |
double | GetL () |
double | GetL () |
int | GetLayer () |
int | GetLayer () |
double * | GetLocOrgInBes () |
double | GetLocOrgInBes (int i) |
double * | GetLocOrgInBes () |
double | GetLocOrgInBes (int i) |
double * | GetObjOrgInBes () |
double | GetObjOrgInBes (int i) |
double * | GetObjOrgInBes () |
double | GetObjOrgInBes (int i) |
double * | GetObjOrgInLoc () |
double | GetObjOrgInLoc (int i) |
double * | GetObjOrgInLoc () |
double | GetObjOrgInLoc (int i) |
double * | GetObjRotToMot () |
double | GetObjRotToMot (int i) |
double * | GetObjRotToMot () |
double | GetObjRotToMot (int i) |
int | GetPart () |
int | GetPart () |
double | GetRc () |
double | GetRc () |
double | GetRin () |
double | GetRin () |
double | GetRout () |
double | GetRout () |
int | GetRpcId () |
int | GetRpcId () |
int | GetSegment () |
int | GetSegment () |
double | GetTheta () |
double | GetTheta () |
double | GetThin () |
double | GetThin () |
int | GetUpDown () |
int | GetUpDown () |
double | GetW () |
double | GetW () |
double | GetWd () |
double | GetWd () |
double | GetWu () |
double | GetWu () |
MucEntity (const MucEntity &other) | |
MucEntity (int part, int segment, int layer, int upDown, int rpcId, int id) | |
MucEntity (int part, int segment, int layer, int upDown, int id) | |
MucEntity (int part, int segment, int layer, int id) | |
MucEntity (int part, int segment, int layer) | |
MucEntity (const MucEntity &other) | |
MucEntity (int part, int segment, int layer, int upDown, int rpcId, int id) | |
MucEntity (int part, int segment, int layer, int upDown, int id) | |
MucEntity (int part, int segment, int layer, int id) | |
MucEntity (int part, int segment, int layer) | |
MucEntity & | operator= (const MucEntity &other) |
MucEntity & | operator= (const MucEntity &other) |
void | TransBesToLoc (double LocCoord[], double BesCoord[], double LocOrgInBes[], double Rot_z) |
void | TransBesToLoc (double LocCoord[], double BesCoord[], double LocOrgInBes[], double Rot_z) |
void | TransLocToBes (double LocCoord[], double BesCoord[], double LocOrgInBes[], double Rot_z) |
void | TransLocToBes (double LocCoord[], double BesCoord[], double LocOrgInBes[], double Rot_z) |
virtual | ~MucEntity () |
virtual | ~MucEntity () |
Protected Member Functions | |
virtual void | Init () |
virtual void | Init () |
virtual void | SetAlignment (double dx, double dy, double dz) |
virtual void | SetAlignment (double dx, double dy, double dz) |
virtual void | SetArea () |
virtual void | SetArea () |
virtual void | SetH () |
virtual void | SetH () |
virtual void | SetL () |
virtual void | SetL () |
virtual void | SetLocOrgInBes () |
virtual void | SetLocOrgInBes () |
virtual void | SetObjOrgInBes () |
virtual void | SetObjOrgInBes () |
virtual void | SetObjOrgInLoc () |
virtual void | SetObjOrgInLoc () |
virtual void | SetObjRotToMot () |
virtual void | SetObjRotToMot () |
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 |
double | m_LocOrgInBes [3] |
double | m_ObjOrgInBes [3] |
double | m_ObjOrgInLoc [3] |
double | m_ObjRotToMot [3] |
int | m_Part |
double | m_Rc |
double | m_Rin |
double | m_Rout |
int | m_RpcId |
int | m_Segment |
double | m_Theta |
double | m_Thin |
int | m_UpDown |
double | m_W |
double | m_Wd |
double | m_Wu |
|
00018 { 00019 m_Part = part; 00020 m_Segment = segment; 00021 m_Layer = layer; 00022 m_UpDown = -1; // no up/down distinction 00023 m_RpcId = 0; 00024 m_ID = 0; // only 1 entity, default 00025 00026 MucEntity::Init(); 00027 }
|
|
00030 { 00031 m_Part = part; 00032 m_Segment = segment; 00033 m_Layer = layer; 00034 m_ID = id; 00035 m_UpDown = -1; 00036 m_RpcId = 0; 00037 00038 Init(); 00039 }
|
|
00042 { 00043 m_Part = part; 00044 m_Segment = segment; 00045 m_Layer = layer; 00046 m_UpDown = upDown; 00047 m_ID = id; 00048 m_RpcId = id; 00049 00050 MucEntity::Init(); 00051 }
|
|
00054 { 00055 m_Part = part; 00056 m_Segment = segment; 00057 m_Layer = layer; 00058 m_UpDown = upDown; 00059 m_RpcId = rpcId; 00060 m_ID = id; 00061 00062 MucEntity::Init(); 00063 }
|
|
00066 { 00067 m_Part = other.m_Part; 00068 m_Segment = other.m_Segment; 00069 m_Layer = other.m_Layer; 00070 m_UpDown = other.m_UpDown; 00071 m_RpcId = other.m_RpcId; 00072 m_ID = other.m_ID; 00073 00074 m_Theta = other.m_Theta; 00075 m_Thin = other.m_Thin; 00076 m_W = other.m_W; 00077 m_H = other.m_H; 00078 m_L = other.m_L; 00079 m_Wu = other.m_Wu; 00080 m_Wd = other.m_Wd; 00081 m_Area = other.m_Area; 00082 00083 for(int i=0; i<3; i++) 00084 { 00085 m_LocOrgInBes[i] = other.m_LocOrgInBes[i]; 00086 m_ObjRotToMot[i] = other.m_ObjRotToMot[i]; 00087 m_ObjOrgInBes[i] = other.m_ObjOrgInBes[i]; 00088 m_ObjOrgInLoc[i] = other.m_ObjOrgInLoc[i]; 00089 } 00090 }
|
|
00126 { 00127 delete [] m_LocOrgInBes; 00128 delete [] m_ObjRotToMot; 00129 delete [] m_ObjOrgInBes; 00130 delete [] m_ObjOrgInLoc; 00131 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
00150 { return m_Area; }
|
|
|
|
00146 { return m_H; }
|
|
|
|
00139 { return m_ID; }
|
|
|
|
00147 { return m_L; }
|
|
|
|
00136 { return m_Layer; }
|
|
|
|
|
|
00176 { return &m_LocOrgInBes[0]; }
|
|
00153 { 00154 if( i<1 || i>3 ) i=1; 00155 return m_LocOrgInBes[i-1]; 00156 }
|
|
|
|
|
|
00178 { return &m_ObjOrgInBes[0]; }
|
|
00165 { 00166 if( i<1 || i>3 ) i=1; 00167 return m_ObjOrgInBes[i-1]; 00168 }
|
|
|
|
|
|
00179 { return &m_ObjOrgInLoc[0]; }
|
|
00171 { 00172 if( i<1 || i>3 ) i=1; 00173 return m_ObjOrgInLoc[i-1]; 00174 }
|
|
|
|
|
|
00177 { return &m_ObjRotToMot[0]; }
|
|
00159 { 00160 if( i<1 || i>3 ) i=1; 00161 return m_ObjRotToMot[i-1]; 00162 }
|
|
|
|
00134 { return m_Part; }
|
|
|
|
00143 { return m_Rc; }
|
|
|
|
00141 { return m_Rin; }
|
|
|
|
00142 { return m_Rout; }
|
|
|
|
00138 { return m_RpcId; }
|
|
|
|
00135 { return m_Segment; }
|
|
|
|
00140 { return m_Theta; }
|
|
|
|
00144 { return m_Thin; }
|
|
|
|
00137 { return m_UpDown; }
|
|
|
|
00145 { return m_W; }
|
|
|
|
00149 { return m_Wd; }
|
|
|
|
00148 { return m_Wu; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. 00184 { 00185 MucEntity::SetTheta(); 00186 MucEntity::SetRin(); 00187 MucEntity::SetRout(); 00188 MucEntity::SetRc(); 00189 MucEntity::SetThin(); 00190 MucEntity::SetW(); 00191 MucEntity::SetWu(); 00192 MucEntity::SetWd(); 00193 MucEntity::SetH(); 00194 MucEntity::SetL(); 00195 MucEntity::SetArea(); 00196 MucEntity::SetLocOrgInBes(); 00197 MucEntity::SetObjRotToMot(); 00198 MucEntity::SetObjOrgInBes(); 00199 MucEntity::SetObjOrgInLoc(); 00200 }
|
|
|
|
00093 { 00094 if( this == &other) 00095 return *this; 00096 00097 m_Part = other.m_Part; 00098 m_Segment = other.m_Segment; 00099 m_Layer = other.m_Layer; 00100 m_UpDown = other.m_UpDown; 00101 m_RpcId = other.m_RpcId; 00102 m_ID = other.m_ID; 00103 00104 m_Theta = other.m_Theta; 00105 m_Thin = other.m_Thin; 00106 m_W = other.m_W; 00107 m_H = other.m_H; 00108 m_L = other.m_L; 00109 m_Wu = other.m_Wu; 00110 m_Wd = other.m_Wd; 00111 m_Area = other.m_Area; 00112 00113 for(int i=0; i<3; i++) 00114 { 00115 m_LocOrgInBes[i] = other.m_LocOrgInBes[i]; 00116 m_ObjRotToMot[i] = other.m_ObjRotToMot[i]; 00117 m_ObjOrgInBes[i] = other.m_ObjOrgInBes[i]; 00118 m_ObjOrgInLoc[i] = other.m_ObjOrgInLoc[i]; 00119 } 00120 00121 return *this; 00122 }
|
|
Reimplemented in MucBox, MucStripPlane, MucBox, and MucStripPlane. |
|
Reimplemented in MucBox, MucStripPlane, MucBox, and MucStripPlane. 00219 { ; }
|
|
|
|
Reimplemented in MucBox, MucStrip, MucBox, and MucStrip. 00212 { m_Area = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. 00210 { m_H = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. 00211 { m_L = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. 00214 { for( int i=0; i<3; i++) m_LocOrgInBes[i] = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. 00216 { for( int i=0; i<3; i++) m_ObjOrgInBes[i] = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. 00217 { for( int i=0; i<3; i++) m_ObjOrgInLoc[i] = 0.; }
|
|
Reimplemented in MucAbsorber, MucBox, MucGap, MucAbsorber, MucBox, and MucGap. |
|
Reimplemented in MucAbsorber, MucBox, MucGap, MucAbsorber, MucBox, and MucGap. 00215 { for( int i=0; i<3; i++) m_ObjRotToMot[i] = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane. 00205 { m_Rc = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane. 00203 { m_Rin = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane. 00204 { m_Rout = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane. 00202 { m_Theta = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. 00206 { m_Thin = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. 00207 { m_W = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. 00209 { m_Wd = 0.; }
|
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. |
|
Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane. 00208 { m_Wu = 0.; }
|
|
|
|
00224 { 00225 LocCoord[0] = (BesCoord[0] - LocOrgInBes[0])*cos(Rot_z) + (BesCoord[1] - LocOrgInBes[1])*sin(Rot_z); 00226 LocCoord[1] = -(BesCoord[0] - LocOrgInBes[0])*sin(Rot_z) + (BesCoord[1] - LocOrgInBes[1])*cos(Rot_z); 00227 LocCoord[2] = BesCoord[2] - LocOrgInBes[2]; 00228 }
|
|
|
|
00233 { 00234 BesCoord[0] = LocCoord[0]*cos(Rot_z) - LocCoord[1]*sin(Rot_z) + LocOrgInBes[0]; 00235 BesCoord[1] = LocCoord[0]*sin(Rot_z) + LocCoord[1]*cos(Rot_z) + LocOrgInBes[1]; 00236 BesCoord[2] = LocCoord[2] + LocOrgInBes[2]; 00237 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|