#include <MucBoxCover.h>
|
| MucBoxCover (int part, int segment, int layer, int upDown, int id) |
|
| MucBoxCover (const MucBoxCover &other) |
|
MucBoxCover & | operator= (const MucBoxCover &other) |
|
| ~MucBoxCover () |
|
| MucEntity (int part, int segment, int layer) |
|
| MucEntity (int part, int segment, int layer, int id) |
|
| MucEntity (int part, int segment, int layer, int upDown, int id) |
|
| MucEntity (int part, int segment, int layer, int upDown, int rpcId, int id) |
|
| MucEntity (const MucEntity &other) |
|
MucEntity & | operator= (const MucEntity &other) |
|
virtual | ~MucEntity () |
|
int | GetPart () |
|
int | GetSegment () |
|
int | GetLayer () |
|
int | GetUpDown () |
|
int | GetRpcId () |
|
int | GetID () |
|
double | GetTheta () |
|
double | GetRin () |
|
double | GetRout () |
|
double | GetRc () |
|
double | GetThin () |
|
double | GetW () |
|
double | GetH () |
|
double | GetL () |
|
double | GetWu () |
|
double | GetWd () |
|
double | GetArea () |
|
double | GetLocOrgInBes (int i) |
|
double | GetObjRotToMot (int i) |
|
double | GetObjOrgInBes (int i) |
|
double | GetObjOrgInLoc (int i) |
|
double * | GetLocOrgInBes () |
|
double * | GetObjRotToMot () |
|
double * | GetObjOrgInLoc () |
|
double * | GetObjOrgInBes () |
|
void | TransBesToLoc (double LocCoord[], double BesCoord[], double LocOrgInBes[], double Rot_z) |
|
void | TransLocToBes (double LocCoord[], double BesCoord[], double LocOrgInBes[], double Rot_z) |
|
Definition at line 17 of file MucBoxCover.h.
◆ MucBoxCover() [1/2]
MucBoxCover::MucBoxCover |
( |
int | part, |
|
|
int | segment, |
|
|
int | layer, |
|
|
int | upDown, |
|
|
int | id ) |
Definition at line 17 of file MucBoxCover.cxx.
18 :
MucEntity( part, segment, layer, upDown,
id )
19{
21}
MucEntity(int part, int segment, int layer)
◆ MucBoxCover() [2/2]
◆ ~MucBoxCover()
MucBoxCover::~MucBoxCover |
( |
| ) |
|
◆ Init()
void MucBoxCover::Init |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 38 of file MucBoxCover.cxx.
39{
44
51
55}
virtual void SetObjOrgInBes()
virtual void SetLocOrgInBes()
virtual void SetObjOrgInLoc()
Referenced by MucBoxCover().
◆ operator=()
Definition at line 27 of file MucBoxCover.cxx.
28{
29 if( this == &other) return *this;
31 return *this;
32}
MucEntity & operator=(const MucEntity &other)
◆ SetH()
void MucBoxCover::SetH |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 119 of file MucBoxCover.cxx.
120{
123 else
124 {
126 m_H = E_AS_RMAX - E_BOX_DR - E_GP_DY;
127 else
128 m_H = E_AS_RMAX - E_BOX_DR - E_GP_RMIN[
m_Layer];
129 }
130}
Referenced by Init().
◆ SetL()
void MucBoxCover::SetL |
( |
| ) |
|
|
protectedvirtual |
◆ SetLocOrgInBes()
void MucBoxCover::SetLocOrgInBes |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 184 of file MucBoxCover.cxx.
185{
188
190 {
193 z = 0.;
194 }
195 else
196 {
197
198
199 x = (E_AS_RMAX - E_BOX_DR + E_GP_DX) / 2.0;
200 y = (E_AS_RMAX - E_BOX_DR + E_GP_DY) / 2.0;
201
202
207
208
209 for(
int i=0; i<
m_Layer+1; i++ ) z += E_AS_TH[i];
210
212 z += (E_AS_ZMAX - E_AS_TOTAL_TH) + AS_GAP/2.0;
214
215 if(
m_ID != -1 ) z += (1-2*
m_UpDown)*(BOX_TH - BOX_COVER_TH)/2.0;
216
217 }
218
222
223
224 for(int i=0;i<3;i++)
226}
double sin(const BesAngle a)
double cos(const BesAngle a)
Referenced by Init().
◆ SetObjOrgInBes()
void MucBoxCover::SetObjOrgInBes |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 228 of file MucBoxCover.cxx.
229{
232
234 {
236 {
237 double r;
238 r =
m_Rc + (1-2*
m_UpDown)*(BOX_TH - BOX_COVER_TH) / 2.0;
241 z = 0.;
242 }
243 else
244 {
245
246 if(
m_ID == 2 )
x = 0.;
247 else x = (1-2*
m_ID) * ( B_BOX_WT[
m_Layer] + B_BOX_SLOT_WT )/4.0;
248
249
251
252
254 else z = ( B_BOX_LT - B_TOPRPC_LTS[(
m_Layer==0)?1:(
m_Layer%2)] )/2.0;
255 }
256 }
257 else
258 {
259
260
262 x = (E_AS_RMAX - E_BOX_DR + E_GP_DX) / 2.0;
263 y = (E_AS_RMAX - E_BOX_DR + E_GP_DY) / 2.0;
264 }
265 else if(
m_ID == 0 ) {
268 }
269 else if (
m_ID == 1 ) {
272 }
273 else {
276 }
277
278
283
284
287 else
289 }
290
294
295
296 for( int i=0; i<3; i++ )
298}
double tan(const BesAngle a)
Referenced by Init().
◆ SetObjOrgInLoc()
void MucBoxCover::SetObjOrgInLoc |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 300 of file MucBoxCover.cxx.
301{
303 {
304
307 else
309
310
312
313
314
317 else {
320 }
321 }
322 else
323 {
324 for(int i=0; i<3; i++)
326 }
327
328
329 for( int i=0; i<3; i++ )
331}
Referenced by Init().
◆ SetRc()
void MucBoxCover::SetRc |
( |
| ) |
|
|
protectedvirtual |
◆ SetRin()
void MucBoxCover::SetRin |
( |
| ) |
|
|
protectedvirtual |
◆ SetRout()
void MucBoxCover::SetRout |
( |
| ) |
|
|
protectedvirtual |
◆ SetTheta()
void MucBoxCover::SetTheta |
( |
| ) |
|
|
protectedvirtual |
◆ SetThin()
void MucBoxCover::SetThin |
( |
| ) |
|
|
protectedvirtual |
◆ SetW()
void MucBoxCover::SetW |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 100 of file MucBoxCover.cxx.
101{
103 {
105 else {
107 else m_W = ( B_BOX_WT[
m_Layer] - B_BOX_SLOT_WT )/2.0;
108 }
109 }
110 else
111 {
113 m_W = E_AS_RMAX - E_BOX_DR - E_GP_DX;
114 else
116 }
117}
Referenced by Init().
◆ SetWd()
void MucBoxCover::SetWd |
( |
| ) |
|
|
protectedvirtual |
◆ SetWu()
void MucBoxCover::SetWu |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files: