83 for(
int i=0; i<3; i++)
94 if(
this == &other)
return *
this;
112 for(
int i=0; i<3; i++)
153 if( i<1 || i>3 ) i=1;
159 if( i<1 || i>3 ) i=1;
165 if( i<1 || i>3 ) i=1;
171 if( i<1 || i>3 ) i=1;
224 LocCoord[0] = (BesCoord[0] - LocOrgInBes[0])*
cos(Rot_z) + (BesCoord[1] - LocOrgInBes[1])*
sin(Rot_z);
225 LocCoord[1] = -(BesCoord[0] - LocOrgInBes[0])*
sin(Rot_z) + (BesCoord[1] - LocOrgInBes[1])*
cos(Rot_z);
226 LocCoord[2] = BesCoord[2] - LocOrgInBes[2];
233 BesCoord[0] = LocCoord[0]*
cos(Rot_z) - LocCoord[1]*
sin(Rot_z) + LocOrgInBes[0];
234 BesCoord[1] = LocCoord[0]*
sin(Rot_z) + LocCoord[1]*
cos(Rot_z) + LocOrgInBes[1];
235 BesCoord[2] = LocCoord[2] + LocOrgInBes[2];
double sin(const BesAngle a)
double cos(const BesAngle a)
virtual void SetObjOrgInBes()
virtual void SetObjRotToMot()
MucEntity(int part, int segment, int layer)
MucEntity & operator=(const MucEntity &other)
virtual void SetLocOrgInBes()
virtual void SetAlignment(double dx, double dy, double dz)
double * GetLocOrgInBes()
double * GetObjRotToMot()
virtual void SetObjOrgInLoc()
void TransBesToLoc(double LocCoord[], double BesCoord[], double LocOrgInBes[], double Rot_z)
double * GetObjOrgInBes()
void TransLocToBes(double LocCoord[], double BesCoord[], double LocOrgInBes[], double Rot_z)
double * GetObjOrgInLoc()