BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
MucEntity Class Reference

#include <MucEntity.h>

+ Inheritance diagram for MucEntity:

Public Member Functions

 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)
 
MucEntityoperator= (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)
 
 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)
 
MucEntityoperator= (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)
 

Protected Member Functions

virtual void Init ()
 
virtual void SetTheta ()
 
virtual void SetRin ()
 
virtual void SetRout ()
 
virtual void SetRc ()
 
virtual void SetThin ()
 
virtual void SetW ()
 
virtual void SetH ()
 
virtual void SetL ()
 
virtual void SetWu ()
 
virtual void SetWd ()
 
virtual void SetArea ()
 
virtual void SetLocOrgInBes ()
 
virtual void SetObjRotToMot ()
 
virtual void SetObjOrgInBes ()
 
virtual void SetObjOrgInLoc ()
 
virtual void SetAlignment (double dx, double dy, double dz)
 
virtual void Init ()
 
virtual void SetTheta ()
 
virtual void SetRin ()
 
virtual void SetRout ()
 
virtual void SetRc ()
 
virtual void SetThin ()
 
virtual void SetW ()
 
virtual void SetH ()
 
virtual void SetL ()
 
virtual void SetWu ()
 
virtual void SetWd ()
 
virtual void SetArea ()
 
virtual void SetLocOrgInBes ()
 
virtual void SetObjRotToMot ()
 
virtual void SetObjOrgInBes ()
 
virtual void SetObjOrgInLoc ()
 
virtual void SetAlignment (double dx, double dy, double dz)
 

Protected Attributes

int m_Part
 
int m_Segment
 
int m_Layer
 
int m_UpDown
 
int m_RpcId
 
int m_ID
 
double m_Theta
 
double m_Rin
 
double m_Rout
 
double m_Rc
 
double m_Thin
 
double m_W
 
double m_H
 
double m_L
 
double m_Wu
 
double m_Wd
 
double m_Area
 
double m_LocOrgInBes [3]
 
double m_ObjRotToMot [3]
 
double m_ObjOrgInBes [3]
 
double m_ObjOrgInLoc [3]
 

Detailed Description

Constructor & Destructor Documentation

◆ MucEntity() [1/10]

MucEntity::MucEntity ( int  part,
int  segment,
int  layer 
)

◆ MucEntity() [2/10]

MucEntity::MucEntity ( int  part,
int  segment,
int  layer,
int  id 
)

Definition at line 29 of file MucEntity.cxx.

30{
31 m_Part = part;
32 m_Segment = segment;
33 m_Layer = layer;
34 m_ID = id;
35 m_UpDown = -1;
36 m_RpcId = 0;
37
38 Init();
39}

◆ MucEntity() [3/10]

MucEntity::MucEntity ( int  part,
int  segment,
int  layer,
int  upDown,
int  id 
)

Definition at line 41 of file MucEntity.cxx.

42{
43 m_Part = part;
44 m_Segment = segment;
45 m_Layer = layer;
46 m_UpDown = upDown;
47 m_ID = id;
48 m_RpcId = id;
49
51}

◆ MucEntity() [4/10]

MucEntity::MucEntity ( int  part,
int  segment,
int  layer,
int  upDown,
int  rpcId,
int  id 
)

Definition at line 53 of file MucEntity.cxx.

54{
55 m_Part = part;
56 m_Segment = segment;
57 m_Layer = layer;
58 m_UpDown = upDown;
59 m_RpcId = rpcId;
60 m_ID = id;
61
63}

◆ MucEntity() [5/10]

MucEntity::MucEntity ( const MucEntity other)

Definition at line 65 of file MucEntity.cxx.

66{
67 m_Part = other.m_Part;
68 m_Segment = other.m_Segment;
69 m_Layer = other.m_Layer;
70 m_UpDown = other.m_UpDown;
71 m_RpcId = other.m_RpcId;
72 m_ID = other.m_ID;
73
74 m_Theta = other.m_Theta;
75 m_Thin = other.m_Thin;
76 m_W = other.m_W;
77 m_H = other.m_H;
78 m_L = other.m_L;
79 m_Wu = other.m_Wu;
80 m_Wd = other.m_Wd;
81 m_Area = other.m_Area;
82
83 for(int i=0; i<3; i++)
84 {
85 m_LocOrgInBes[i] = other.m_LocOrgInBes[i];
86 m_ObjRotToMot[i] = other.m_ObjRotToMot[i];
87 m_ObjOrgInBes[i] = other.m_ObjOrgInBes[i];
88 m_ObjOrgInLoc[i] = other.m_ObjOrgInLoc[i];
89 }
90}
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ ~MucEntity() [1/2]

MucEntity::~MucEntity ( )
virtual

Definition at line 125 of file MucEntity.cxx.

126{
127 delete [] m_LocOrgInBes;
128 delete [] m_ObjRotToMot;
129 delete [] m_ObjOrgInBes;
130 delete [] m_ObjOrgInLoc;
131}

◆ MucEntity() [6/10]

MucEntity::MucEntity ( int  part,
int  segment,
int  layer 
)

◆ MucEntity() [7/10]

MucEntity::MucEntity ( int  part,
int  segment,
int  layer,
int  id 
)

◆ MucEntity() [8/10]

MucEntity::MucEntity ( int  part,
int  segment,
int  layer,
int  upDown,
int  id 
)

◆ MucEntity() [9/10]

MucEntity::MucEntity ( int  part,
int  segment,
int  layer,
int  upDown,
int  rpcId,
int  id 
)

◆ MucEntity() [10/10]

MucEntity::MucEntity ( const MucEntity other)

◆ ~MucEntity() [2/2]

virtual MucEntity::~MucEntity ( )
virtual

Member Function Documentation

◆ GetArea() [1/2]

double MucEntity::GetArea ( )

Definition at line 150 of file MucEntity.cxx.

150{ return m_Area; }

◆ GetArea() [2/2]

double MucEntity::GetArea ( )

◆ GetH() [1/2]

◆ GetH() [2/2]

double MucEntity::GetH ( )

◆ GetID() [1/2]

int MucEntity::GetID ( )

Definition at line 139 of file MucEntity.cxx.

139{ return m_ID; }

◆ GetID() [2/2]

int MucEntity::GetID ( )

◆ GetL() [1/2]

◆ GetL() [2/2]

double MucEntity::GetL ( )

◆ GetLayer() [1/2]

int MucEntity::GetLayer ( )

Definition at line 136 of file MucEntity.cxx.

136{ return m_Layer; }

◆ GetLayer() [2/2]

int MucEntity::GetLayer ( )

◆ GetLocOrgInBes() [1/4]

double * MucEntity::GetLocOrgInBes ( )

Definition at line 176 of file MucEntity.cxx.

176{ return &m_LocOrgInBes[0]; }

◆ GetLocOrgInBes() [2/4]

double * MucEntity::GetLocOrgInBes ( )

◆ GetLocOrgInBes() [3/4]

◆ GetLocOrgInBes() [4/4]

double MucEntity::GetLocOrgInBes ( int  i)

◆ GetObjOrgInBes() [1/4]

double * MucEntity::GetObjOrgInBes ( )

Definition at line 178 of file MucEntity.cxx.

178{ return &m_ObjOrgInBes[0]; }

◆ GetObjOrgInBes() [2/4]

double * MucEntity::GetObjOrgInBes ( )

◆ GetObjOrgInBes() [3/4]

◆ GetObjOrgInBes() [4/4]

double MucEntity::GetObjOrgInBes ( int  i)

◆ GetObjOrgInLoc() [1/4]

double * MucEntity::GetObjOrgInLoc ( )

Definition at line 179 of file MucEntity.cxx.

179{ return &m_ObjOrgInLoc[0]; }

◆ GetObjOrgInLoc() [2/4]

double * MucEntity::GetObjOrgInLoc ( )

◆ GetObjOrgInLoc() [3/4]

◆ GetObjOrgInLoc() [4/4]

double MucEntity::GetObjOrgInLoc ( int  i)

◆ GetObjRotToMot() [1/4]

double * MucEntity::GetObjRotToMot ( )

Definition at line 177 of file MucEntity.cxx.

177{ return &m_ObjRotToMot[0]; }

◆ GetObjRotToMot() [2/4]

double * MucEntity::GetObjRotToMot ( )

◆ GetObjRotToMot() [3/4]

double MucEntity::GetObjRotToMot ( int  i)

Definition at line 158 of file MucEntity.cxx.

159{
160 if( i<1 || i>3 ) i=1;
161 return m_ObjRotToMot[i-1];
162}

Referenced by MucGeoMgr::CreateAbsorber(), and MucGeoMgr::CreateGap().

◆ GetObjRotToMot() [4/4]

double MucEntity::GetObjRotToMot ( int  i)

◆ GetPart() [1/2]

int MucEntity::GetPart ( )

Definition at line 134 of file MucEntity.cxx.

134{ return m_Part; }

◆ GetPart() [2/2]

int MucEntity::GetPart ( )

◆ GetRc() [1/2]

double MucEntity::GetRc ( )

Definition at line 143 of file MucEntity.cxx.

◆ GetRc() [2/2]

double MucEntity::GetRc ( )

◆ GetRin() [1/2]

double MucEntity::GetRin ( )

Definition at line 141 of file MucEntity.cxx.

◆ GetRin() [2/2]

double MucEntity::GetRin ( )

◆ GetRout() [1/2]

double MucEntity::GetRout ( )

Definition at line 142 of file MucEntity.cxx.

◆ GetRout() [2/2]

double MucEntity::GetRout ( )

◆ GetRpcId() [1/2]

int MucEntity::GetRpcId ( )

Definition at line 138 of file MucEntity.cxx.

138{ return m_RpcId; }

◆ GetRpcId() [2/2]

int MucEntity::GetRpcId ( )

◆ GetSegment() [1/2]

int MucEntity::GetSegment ( )

Definition at line 135 of file MucEntity.cxx.

135{ return m_Segment; }

◆ GetSegment() [2/2]

int MucEntity::GetSegment ( )

◆ GetTheta() [1/2]

double MucEntity::GetTheta ( )

Definition at line 140 of file MucEntity.cxx.

140{ return m_Theta; }

◆ GetTheta() [2/2]

double MucEntity::GetTheta ( )

◆ GetThin() [1/2]

double MucEntity::GetThin ( )

Definition at line 144 of file MucEntity.cxx.

144{ return m_Thin; }

◆ GetThin() [2/2]

double MucEntity::GetThin ( )

◆ GetUpDown() [1/2]

int MucEntity::GetUpDown ( )

Definition at line 137 of file MucEntity.cxx.

137{ return m_UpDown; }

◆ GetUpDown() [2/2]

int MucEntity::GetUpDown ( )

◆ GetW() [1/2]

◆ GetW() [2/2]

double MucEntity::GetW ( )

◆ GetWd() [1/2]

◆ GetWd() [2/2]

double MucEntity::GetWd ( )

◆ GetWu() [1/2]

◆ GetWu() [2/2]

double MucEntity::GetWu ( )

◆ Init() [1/2]

void MucEntity::Init ( )
protectedvirtual

Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane.

Definition at line 183 of file MucEntity.cxx.

184{
200}
virtual void SetArea()
Definition: MucEntity.cxx:212
virtual void SetObjOrgInBes()
Definition: MucEntity.cxx:216
virtual void SetObjRotToMot()
Definition: MucEntity.cxx:215
virtual void SetWd()
Definition: MucEntity.cxx:209
virtual void SetW()
Definition: MucEntity.cxx:207
virtual void SetL()
Definition: MucEntity.cxx:211
virtual void SetLocOrgInBes()
Definition: MucEntity.cxx:214
virtual void SetH()
Definition: MucEntity.cxx:210
virtual void SetThin()
Definition: MucEntity.cxx:206
virtual void SetObjOrgInLoc()
Definition: MucEntity.cxx:217
virtual void SetRc()
Definition: MucEntity.cxx:205
virtual void SetRout()
Definition: MucEntity.cxx:204
virtual void SetRin()
Definition: MucEntity.cxx:203
virtual void SetTheta()
Definition: MucEntity.cxx:202
virtual void SetWu()
Definition: MucEntity.cxx:208

Referenced by MucEntity().

◆ Init() [2/2]

virtual void MucEntity::Init ( )
protectedvirtual

◆ operator=() [1/2]

MucEntity & MucEntity::operator= ( const MucEntity other)

Definition at line 92 of file MucEntity.cxx.

93{
94 if( this == &other)
95 return *this;
96
97 m_Part = other.m_Part;
98 m_Segment = other.m_Segment;
99 m_Layer = other.m_Layer;
100 m_UpDown = other.m_UpDown;
101 m_RpcId = other.m_RpcId;
102 m_ID = other.m_ID;
103
104 m_Theta = other.m_Theta;
105 m_Thin = other.m_Thin;
106 m_W = other.m_W;
107 m_H = other.m_H;
108 m_L = other.m_L;
109 m_Wu = other.m_Wu;
110 m_Wd = other.m_Wd;
111 m_Area = other.m_Area;
112
113 for(int i=0; i<3; i++)
114 {
115 m_LocOrgInBes[i] = other.m_LocOrgInBes[i];
116 m_ObjRotToMot[i] = other.m_ObjRotToMot[i];
117 m_ObjOrgInBes[i] = other.m_ObjOrgInBes[i];
118 m_ObjOrgInLoc[i] = other.m_ObjOrgInLoc[i];
119 }
120
121 return *this;
122}

Referenced by MucAbsorber::operator=(), MucBakelite::operator=(), MucBox::operator=(), MucBoxCover::operator=(), MucGap::operator=(), MucGas::operator=(), MucRpc::operator=(), MucStrip::operator=(), and MucStripPlane::operator=().

◆ operator=() [2/2]

MucEntity & MucEntity::operator= ( const MucEntity other)

◆ SetAlignment() [1/2]

void MucEntity::SetAlignment ( double  dx,
double  dy,
double  dz 
)
protectedvirtual

Reimplemented in MucBox, MucStripPlane, MucBox, and MucStripPlane.

Definition at line 219 of file MucEntity.cxx.

219{ ; }

◆ SetAlignment() [2/2]

virtual void MucEntity::SetAlignment ( double  dx,
double  dy,
double  dz 
)
protectedvirtual

Reimplemented in MucBox, MucStripPlane, MucBox, and MucStripPlane.

◆ SetArea() [1/2]

void MucEntity::SetArea ( )
protectedvirtual

Reimplemented in MucBox, MucStrip, MucBox, and MucStrip.

Definition at line 212 of file MucEntity.cxx.

212{ m_Area = 0.; }

Referenced by Init().

◆ SetArea() [2/2]

virtual void MucEntity::SetArea ( )
protectedvirtual

Reimplemented in MucBox, MucStrip, MucBox, and MucStrip.

◆ SetH() [1/2]

void MucEntity::SetH ( )
protectedvirtual

◆ SetH() [2/2]

virtual void MucEntity::SetH ( )
protectedvirtual

◆ SetL() [1/2]

void MucEntity::SetL ( )
protectedvirtual

◆ SetL() [2/2]

virtual void MucEntity::SetL ( )
protectedvirtual

◆ SetLocOrgInBes() [1/2]

void MucEntity::SetLocOrgInBes ( )
protectedvirtual

Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane.

Definition at line 214 of file MucEntity.cxx.

214{ for( int i=0; i<3; i++) m_LocOrgInBes[i] = 0.; }

Referenced by Init().

◆ SetLocOrgInBes() [2/2]

virtual void MucEntity::SetLocOrgInBes ( )
protectedvirtual

◆ SetObjOrgInBes() [1/2]

void MucEntity::SetObjOrgInBes ( )
protectedvirtual

Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane.

Definition at line 216 of file MucEntity.cxx.

216{ for( int i=0; i<3; i++) m_ObjOrgInBes[i] = 0.; }

Referenced by Init().

◆ SetObjOrgInBes() [2/2]

virtual void MucEntity::SetObjOrgInBes ( )
protectedvirtual

◆ SetObjOrgInLoc() [1/2]

void MucEntity::SetObjOrgInLoc ( )
protectedvirtual

Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStrip, and MucStripPlane.

Definition at line 217 of file MucEntity.cxx.

217{ for( int i=0; i<3; i++) m_ObjOrgInLoc[i] = 0.; }

Referenced by Init().

◆ SetObjOrgInLoc() [2/2]

virtual void MucEntity::SetObjOrgInLoc ( )
protectedvirtual

◆ SetObjRotToMot() [1/2]

void MucEntity::SetObjRotToMot ( )
protectedvirtual

Reimplemented in MucAbsorber, MucBox, MucGap, MucAbsorber, MucBox, and MucGap.

Definition at line 215 of file MucEntity.cxx.

215{ for( int i=0; i<3; i++) m_ObjRotToMot[i] = 0.; }

Referenced by Init(), and MucStrip::Init().

◆ SetObjRotToMot() [2/2]

virtual void MucEntity::SetObjRotToMot ( )
protectedvirtual

Reimplemented in MucAbsorber, MucBox, MucGap, MucAbsorber, MucBox, and MucGap.

◆ SetRc() [1/2]

void MucEntity::SetRc ( )
protectedvirtual

Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane.

Definition at line 205 of file MucEntity.cxx.

205{ m_Rc = 0.; }

Referenced by Init().

◆ SetRc() [2/2]

virtual void MucEntity::SetRc ( )
protectedvirtual

◆ SetRin() [1/2]

void MucEntity::SetRin ( )
protectedvirtual

Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane.

Definition at line 203 of file MucEntity.cxx.

203{ m_Rin = 0.; }

Referenced by Init().

◆ SetRin() [2/2]

virtual void MucEntity::SetRin ( )
protectedvirtual

◆ SetRout() [1/2]

void MucEntity::SetRout ( )
protectedvirtual

Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane.

Definition at line 204 of file MucEntity.cxx.

204{ m_Rout = 0.; }

Referenced by Init().

◆ SetRout() [2/2]

virtual void MucEntity::SetRout ( )
protectedvirtual

◆ SetTheta() [1/2]

void MucEntity::SetTheta ( )
protectedvirtual

Reimplemented in MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, MucStripPlane, MucAbsorber, MucBakelite, MucBox, MucBoxCover, MucGap, MucGas, MucRpc, and MucStripPlane.

Definition at line 202 of file MucEntity.cxx.

202{ m_Theta = 0.; }

Referenced by Init().

◆ SetTheta() [2/2]

virtual void MucEntity::SetTheta ( )
protectedvirtual

◆ SetThin() [1/2]

void MucEntity::SetThin ( )
protectedvirtual

◆ SetThin() [2/2]

virtual void MucEntity::SetThin ( )
protectedvirtual

◆ SetW() [1/2]

void MucEntity::SetW ( )
protectedvirtual

◆ SetW() [2/2]

virtual void MucEntity::SetW ( )
protectedvirtual

◆ SetWd() [1/2]

void MucEntity::SetWd ( )
protectedvirtual

◆ SetWd() [2/2]

virtual void MucEntity::SetWd ( )
protectedvirtual

◆ SetWu() [1/2]

void MucEntity::SetWu ( )
protectedvirtual

◆ SetWu() [2/2]

virtual void MucEntity::SetWu ( )
protectedvirtual

◆ TransBesToLoc() [1/2]

void MucEntity::TransBesToLoc ( double  LocCoord[],
double  BesCoord[],
double  LocOrgInBes[],
double  Rot_z 
)

Definition at line 223 of file MucEntity.cxx.

224{
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];
228}
double sin(const BesAngle a)
double cos(const BesAngle a)

Referenced by MucRpc::SetObjOrgInLoc(), and MucStrip::SetObjOrgInLoc().

◆ TransBesToLoc() [2/2]

void MucEntity::TransBesToLoc ( double  LocCoord[],
double  BesCoord[],
double  LocOrgInBes[],
double  Rot_z 
)

◆ TransLocToBes() [1/2]

void MucEntity::TransLocToBes ( double  LocCoord[],
double  BesCoord[],
double  LocOrgInBes[],
double  Rot_z 
)

Definition at line 232 of file MucEntity.cxx.

233{
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];
237}

Referenced by MucBakelite::SetObjOrgInBes(), MucGas::SetObjOrgInBes(), MucRpc::SetObjOrgInBes(), and MucStrip::SetObjOrgInBes().

◆ TransLocToBes() [2/2]

void MucEntity::TransLocToBes ( double  LocCoord[],
double  BesCoord[],
double  LocOrgInBes[],
double  Rot_z 
)

Member Data Documentation

◆ m_Area

double MucEntity::m_Area
protected

◆ m_H

◆ m_ID

int MucEntity::m_ID
protected

Definition at line 93 of file InstallArea/include/MucGeoCreateAlg/MucGeoCreateAlg/MucEntity.h.

Referenced by MucRpc::GetGas(), GetID(), MucEntity(), operator=(), MucBox::SetAlignment(), MucStripPlane::SetAlignment(), MucRpc::SetBarrelRpcInLoc(), MucStrip::SetBarrelStripInLoc(), MucStrip::SetCenterLine(), MucRpc::SetEndcapRpcInBes(), MucAbsorber::SetH(), MucBakelite::SetH(), MucBox::SetH(), MucBoxCover::SetH(), MucGap::SetH(), MucGas::SetH(), MucStripPlane::SetH(), MucStrip::SetHead(), MucBox::SetL(), MucBoxCover::SetL(), MucGap::SetL(), MucRpc::SetL(), MucStrip::SetL(), MucStripPlane::SetL(), MucAbsorber::SetLocOrgInBes(), MucBox::SetLocOrgInBes(), MucBoxCover::SetLocOrgInBes(), MucStripPlane::SetLocOrgInBes(), MucAbsorber::SetObjOrgInBes(), MucBox::SetObjOrgInBes(), MucBoxCover::SetObjOrgInBes(), MucGap::SetObjOrgInBes(), MucStripPlane::SetObjOrgInBes(), MucAbsorber::SetObjOrgInLoc(), MucBakelite::SetObjOrgInLoc(), MucBoxCover::SetObjOrgInLoc(), MucStripPlane::SetObjOrgInLoc(), MucAbsorber::SetRc(), MucBox::SetRc(), MucBoxCover::SetRc(), MucGap::SetRc(), MucStripPlane::SetRc(), MucAbsorber::SetRin(), MucBakelite::SetRin(), MucBox::SetRin(), MucBoxCover::SetRin(), MucGap::SetRin(), MucStripPlane::SetRin(), MucBakelite::SetRout(), MucStrip::SetTail(), MucAbsorber::SetTheta(), MucBox::SetTheta(), MucBoxCover::SetTheta(), MucGap::SetTheta(), MucRpc::SetTheta(), MucStripPlane::SetTheta(), MucAbsorber::SetW(), MucBox::SetW(), MucBoxCover::SetW(), MucGap::SetW(), MucRpc::SetW(), MucStrip::SetW(), MucStripPlane::SetW(), MucAbsorber::SetWd(), MucBox::SetWd(), MucBoxCover::SetWd(), MucGap::SetWd(), MucRpc::SetWd(), MucStripPlane::SetWd(), MucAbsorber::SetWu(), MucBox::SetWu(), MucBoxCover::SetWu(), MucGap::SetWu(), MucRpc::SetWu(), and MucStripPlane::SetWu().

◆ m_L

◆ m_Layer

int MucEntity::m_Layer
protected

Definition at line 90 of file InstallArea/include/MucGeoCreateAlg/MucGeoCreateAlg/MucEntity.h.

Referenced by MucRpc::GetBakelite(), MucGap::GetBox(), MucBox::GetBoxCover(), MucRpc::GetGas(), GetLayer(), MucBox::GetRpc(), MucStripPlane::GetStrip(), MucBox::GetStripPlane(), MucEntity(), operator=(), MucBakelite::SetBarrelRpcInBes(), MucGas::SetBarrelRpcInBes(), MucRpc::SetBarrelRpcInLoc(), MucStrip::SetBarrelStripInLoc(), MucStrip::SetCenterLine(), MucBakelite::SetEndcapRpcInBes(), MucGas::SetEndcapRpcInBes(), MucRpc::SetEndcapRpcInBes(), MucStrip::SetEndcapStripInBes(), MucAbsorber::SetH(), MucBox::SetH(), MucBoxCover::SetH(), MucGap::SetH(), MucStripPlane::SetH(), MucStrip::SetHead(), MucAbsorber::SetL(), MucBakelite::SetL(), MucBox::SetL(), MucBoxCover::SetL(), MucGas::SetL(), MucRpc::SetL(), MucStrip::SetL(), MucStripPlane::SetL(), MucAbsorber::SetLocOrgInBes(), MucBox::SetLocOrgInBes(), MucBoxCover::SetLocOrgInBes(), MucGap::SetLocOrgInBes(), MucRpc::SetLocOrgInBes(), MucStrip::SetLocOrgInBes(), MucStripPlane::SetLocOrgInBes(), MucBox::SetObjOrgInBes(), MucBoxCover::SetObjOrgInBes(), MucGap::SetObjOrgInBes(), MucBoxCover::SetObjOrgInLoc(), MucStripPlane::SetObjOrgInLoc(), MucAbsorber::SetRc(), MucBox::SetRc(), MucBoxCover::SetRc(), MucGap::SetRc(), MucStripPlane::SetRc(), MucAbsorber::SetRin(), MucBakelite::SetRin(), MucBox::SetRin(), MucBoxCover::SetRin(), MucGap::SetRin(), MucGas::SetRin(), MucRpc::SetRin(), MucStripPlane::SetRin(), MucAbsorber::SetRout(), MucBakelite::SetRout(), MucBox::SetRout(), MucBoxCover::SetRout(), MucGap::SetRout(), MucGas::SetRout(), MucRpc::SetRout(), MucStripPlane::SetRout(), MucStrip::SetTail(), MucAbsorber::SetThin(), MucStrip::SetType(), MucBakelite::SetW(), MucBox::SetW(), MucBoxCover::SetW(), MucGap::SetW(), MucGas::SetW(), MucRpc::SetW(), MucStrip::SetW(), and MucStripPlane::SetW().

◆ m_LocOrgInBes

◆ m_ObjOrgInBes

◆ m_ObjOrgInLoc

◆ m_ObjRotToMot

◆ m_Part

int MucEntity::m_Part
protected

Definition at line 88 of file InstallArea/include/MucGeoCreateAlg/MucGeoCreateAlg/MucEntity.h.

Referenced by MucRpc::GetBakelite(), MucGap::GetBox(), MucBox::GetBoxCover(), MucRpc::GetGas(), GetPart(), MucBox::GetRpc(), MucStripPlane::GetStrip(), MucBox::GetStripPlane(), MucEntity(), operator=(), MucBox::SetAlignment(), MucStripPlane::SetAlignment(), MucBox::SetArea(), MucBakelite::SetBarrelRpcInBes(), MucGas::SetBarrelRpcInBes(), MucRpc::SetBarrelRpcInLoc(), MucBakelite::SetEndcapRpcInBes(), MucGas::SetEndcapRpcInBes(), MucRpc::SetEndcapRpcInBes(), MucStrip::SetEndcapStripInBes(), MucAbsorber::SetH(), MucBakelite::SetH(), MucBox::SetH(), MucBoxCover::SetH(), MucGap::SetH(), MucGas::SetH(), MucRpc::SetH(), MucStripPlane::SetH(), MucAbsorber::SetL(), MucBakelite::SetL(), MucBox::SetL(), MucBoxCover::SetL(), MucGap::SetL(), MucGas::SetL(), MucRpc::SetL(), MucStrip::SetL(), MucStripPlane::SetL(), MucAbsorber::SetLocOrgInBes(), MucBakelite::SetLocOrgInBes(), MucBox::SetLocOrgInBes(), MucBoxCover::SetLocOrgInBes(), MucGap::SetLocOrgInBes(), MucGas::SetLocOrgInBes(), MucRpc::SetLocOrgInBes(), MucStrip::SetLocOrgInBes(), MucStripPlane::SetLocOrgInBes(), MucAbsorber::SetObjOrgInBes(), MucBox::SetObjOrgInBes(), MucBoxCover::SetObjOrgInBes(), MucGap::SetObjOrgInBes(), MucRpc::SetObjOrgInBes(), MucStrip::SetObjOrgInBes(), MucStripPlane::SetObjOrgInBes(), MucAbsorber::SetObjOrgInLoc(), MucBakelite::SetObjOrgInLoc(), MucBox::SetObjOrgInLoc(), MucBoxCover::SetObjOrgInLoc(), MucGap::SetObjOrgInLoc(), MucRpc::SetObjOrgInLoc(), MucStrip::SetObjOrgInLoc(), MucStripPlane::SetObjOrgInLoc(), MucAbsorber::SetObjRotToMot(), MucBox::SetObjRotToMot(), MucGap::SetObjRotToMot(), MucBakelite::SetPhi(), MucGas::SetPhi(), MucRpc::SetPhi(), MucStrip::SetPhi(), MucAbsorber::SetRc(), MucBox::SetRc(), MucBoxCover::SetRc(), MucGap::SetRc(), MucStripPlane::SetRc(), MucAbsorber::SetRin(), MucBakelite::SetRin(), MucBox::SetRin(), MucBoxCover::SetRin(), MucGap::SetRin(), MucGas::SetRin(), MucRpc::SetRin(), MucStripPlane::SetRin(), MucAbsorber::SetRout(), MucBakelite::SetRout(), MucBox::SetRout(), MucBoxCover::SetRout(), MucGap::SetRout(), MucGas::SetRout(), MucRpc::SetRout(), MucStripPlane::SetRout(), MucAbsorber::SetTheta(), MucBakelite::SetTheta(), MucBox::SetTheta(), MucBoxCover::SetTheta(), MucGap::SetTheta(), MucGas::SetTheta(), MucRpc::SetTheta(), MucStripPlane::SetTheta(), MucAbsorber::SetThin(), MucStrip::SetType(), MucAbsorber::SetW(), MucBakelite::SetW(), MucBox::SetW(), MucBoxCover::SetW(), MucGap::SetW(), MucGas::SetW(), MucRpc::SetW(), MucStrip::SetW(), MucStripPlane::SetW(), MucAbsorber::SetWd(), MucBakelite::SetWd(), MucBox::SetWd(), MucBoxCover::SetWd(), MucGap::SetWd(), MucGas::SetWd(), MucRpc::SetWd(), MucStripPlane::SetWd(), MucAbsorber::SetWu(), MucBakelite::SetWu(), MucBox::SetWu(), MucBoxCover::SetWu(), MucGap::SetWu(), MucGas::SetWu(), MucRpc::SetWu(), and MucStripPlane::SetWu().

◆ m_Rc

◆ m_Rin

◆ m_Rout

◆ m_RpcId

◆ m_Segment

int MucEntity::m_Segment
protected

Definition at line 89 of file InstallArea/include/MucGeoCreateAlg/MucGeoCreateAlg/MucEntity.h.

Referenced by MucRpc::GetBakelite(), MucGap::GetBox(), MucBox::GetBoxCover(), MucRpc::GetGas(), MucBox::GetRpc(), GetSegment(), MucStripPlane::GetStrip(), MucBox::GetStripPlane(), MucEntity(), operator=(), MucBakelite::SetBarrelRpcInBes(), MucGas::SetBarrelRpcInBes(), MucRpc::SetBarrelRpcInLoc(), MucStrip::SetBarrelStripInLoc(), MucStrip::SetCenterLine(), MucBakelite::SetEndcapRpcInBes(), MucGas::SetEndcapRpcInBes(), MucRpc::SetEndcapRpcInBes(), MucStrip::SetHead(), MucBakelite::SetL(), MucBox::SetL(), MucBoxCover::SetL(), MucGap::SetL(), MucGas::SetL(), MucRpc::SetL(), MucStrip::SetL(), MucStripPlane::SetL(), MucAbsorber::SetLocOrgInBes(), MucBox::SetLocOrgInBes(), MucBoxCover::SetLocOrgInBes(), MucGap::SetLocOrgInBes(), MucRpc::SetLocOrgInBes(), MucStrip::SetLocOrgInBes(), MucStripPlane::SetLocOrgInBes(), MucAbsorber::SetObjOrgInBes(), MucBox::SetObjOrgInBes(), MucBoxCover::SetObjOrgInBes(), MucGap::SetObjOrgInBes(), MucStripPlane::SetObjOrgInBes(), MucBox::SetObjOrgInLoc(), MucBoxCover::SetObjOrgInLoc(), MucGap::SetObjOrgInLoc(), MucStripPlane::SetObjOrgInLoc(), MucAbsorber::SetObjRotToMot(), MucBox::SetObjRotToMot(), MucGap::SetObjRotToMot(), MucBakelite::SetPhi(), MucGas::SetPhi(), MucRpc::SetPhi(), MucStrip::SetPhi(), MucStrip::SetTail(), MucAbsorber::SetTheta(), MucBakelite::SetTheta(), MucBox::SetTheta(), MucBoxCover::SetTheta(), MucGap::SetTheta(), MucGas::SetTheta(), MucRpc::SetTheta(), MucStripPlane::SetTheta(), MucBakelite::SetW(), MucBox::SetW(), MucBoxCover::SetW(), MucGap::SetW(), MucGas::SetW(), MucRpc::SetW(), MucStrip::SetW(), and MucStripPlane::SetW().

◆ m_Theta

◆ m_Thin

◆ m_UpDown

◆ m_W

◆ m_Wd

◆ m_Wu


The documentation for this class was generated from the following files: