12#include "MucGeoCreateAlg/MucEntity.h"
83 for(
int i=0; i<3; i++)
113 for(
int i=0; i<3; i++)
154 if( i<1 || i>3 ) i=1;
160 if( i<1 || i>3 ) i=1;
166 if( i<1 || i>3 ) i=1;
172 if( i<1 || i>3 ) i=1;
225 LocCoord[0] = (BesCoord[0] - LocOrgInBes[0])*
cos(Rot_z) + (BesCoord[1] - LocOrgInBes[1])*
sin(Rot_z);
226 LocCoord[1] = -(BesCoord[0] - LocOrgInBes[0])*
sin(Rot_z) + (BesCoord[1] - LocOrgInBes[1])*
cos(Rot_z);
227 LocCoord[2] = BesCoord[2] - LocOrgInBes[2];
234 BesCoord[0] = LocCoord[0]*
cos(Rot_z) - LocCoord[1]*
sin(Rot_z) + LocOrgInBes[0];
235 BesCoord[1] = LocCoord[0]*
sin(Rot_z) + LocCoord[1]*
cos(Rot_z) + LocOrgInBes[1];
236 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()