26 m_MucBox = other.m_MucBox;
32 if(
this == &other)
return *
this;
34 m_MucBox = other.m_MucBox;
70 if( m_MucBox !=
NULL )
83 else m_Theta = ( MUC_PI/4.0 ) + (
m_ID - 1) * MUC_PI / 8.0 ;
106 if(
m_ID == -1 )
m_Rc = sqrt(2.0) * E_AS_RMAX / 2.0;
124 else m_W = ( B_GP_WT[
m_Layer] - B_GP_SLOT_WT )/2.0;
130 m_W = E_AS_RMAX - E_GP_DX;
143 m_H = E_AS_RMAX - E_GP_DY;
146 m_H = E_AS_RMAX - E_GP_RMIN[
m_Layer] +1.5*OVERLAP_WIDTH;
160 if(
m_ID == 2 )
m_L = B_AS_LMAX - B_GP_SLOT_LT;
161 else m_L = B_GP_SLOT_LT;
179 m_Wu -= 2*VALUE*(2.0/2);
180 m_Wu += 1.5*OVERLAP_WIDTH;
187 if(
m_ID != -1 )
m_Wu+=OVERLAP_WIDTH;
201 m_Wd += 2*VALUE*(2.0/2);
202 m_Wd += 1.5*OVERLAP_WIDTH;
209 if(
m_ID != -1 )
m_Wd+=OVERLAP_WIDTH;
228 x = (E_AS_RMAX + E_GP_DX) / 2.0;
229 y = (E_AS_RMAX + E_GP_DY) / 2.0;
238 for(
int i=0; i<
m_Layer+1; i++ ) z += E_AS_TH[i];
241 z += (E_AS_ZMAX - E_AS_TOTAL_TH ) + AS_GAP/2.0;
277 if(
m_ID == 2 )
x = 0.;
278 else x = (1-2*
m_ID) * ( B_GP_WT[
m_Layer] + B_GP_SLOT_WT )/4.0;
281 if(
m_ID == 2 ) z = -B_GP_SLOT_LT / 2.0;
282 else z = ( B_AS_LMAX - B_GP_SLOT_LT )/2.0;
291 for(
int i=0; i<3; i++ )
303 else if (
m_ID ==1 ) {
322 for(
int i=0; i<2; i++ )
double tan(const BesAngle a)
double sin(const BesAngle a)
double cos(const BesAngle a)
MucEntity & operator=(const MucEntity &other)
MucGap & operator=(const MucGap &other)
virtual void SetObjOrgInBes()
virtual void SetLocOrgInBes()
MucGap(int part, int segment, int layer, int id)
virtual void SetObjRotToMot()
virtual void SetObjOrgInLoc()