#include <MucAbsorber.h>
|
| MucAbsorber (int part, int segment, int layer, int id) |
|
| MucAbsorber (const MucAbsorber &other) |
|
MucAbsorber & | operator= (const MucAbsorber &other) |
|
virtual | ~MucAbsorber () |
|
| 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 MucAbsorber.h.
◆ MucAbsorber() [1/2]
MucAbsorber::MucAbsorber |
( |
int |
part, |
|
|
int |
segment, |
|
|
int |
layer, |
|
|
int |
id |
|
) |
| |
◆ MucAbsorber() [2/2]
◆ ~MucAbsorber()
MucAbsorber::~MucAbsorber |
( |
| ) |
|
|
virtual |
◆ Init()
void MucAbsorber::Init |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 37 of file MucAbsorber.cxx.
38{
43
54}
virtual void SetObjOrgInBes()
virtual void SetLocOrgInBes()
virtual void SetObjRotToMot()
virtual void SetObjOrgInLoc()
Referenced by MucAbsorber().
◆ operator=()
Definition at line 26 of file MucAbsorber.cxx.
27{
28 if( this == &other) return *this;
30 return *this;
31}
MucEntity & operator=(const MucEntity &other)
◆ SetH()
void MucAbsorber::SetH |
( |
| ) |
|
|
protectedvirtual |
◆ SetL()
void MucAbsorber::SetL |
( |
| ) |
|
|
protectedvirtual |
◆ SetLocOrgInBes()
void MucAbsorber::SetLocOrgInBes |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 165 of file MucAbsorber.cxx.
166{
169
170
172 {
175 }
176 else
177 {
178
179 double tempR, tempTheta;
180 tempR = sqrt(2.0) * E_AS_RMAX / 2.0;
181 tempTheta = ( 2*
m_Segment + 1 ) * ( MUC_PI / 4.0 );
182
183 x = tempR *
cos( tempTheta );
184 y = tempR *
sin( tempTheta );
185 }
186
187
188 if(
m_Part == BRID ) z = 0.;
189 else
190 {
191 for(
int i=0; i<
m_Layer+1; i++ ) z += E_AS_TH[i];
192
194 z += (E_AS_ZMAX - E_AS_TOTAL_TH ) -
m_Thin/2.0;
196 }
197
201
202
203 for(int i=0; i<3; i++) {
205 }
206}
double sin(const BesAngle a)
double cos(const BesAngle a)
Referenced by Init().
◆ SetObjOrgInBes()
void MucAbsorber::SetObjOrgInBes |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 219 of file MucAbsorber.cxx.
220{
222
224 {
228 }
229 else
230 {
231
232
233
235 {
238 }
else if (
m_ID ==1 )
239 {
242 } else
243 {
246 }
247
248
253
256
257
258 for( int i=0; i<2; i++ ) {
260 }
261
262
264
265 }
266}
double tan(const BesAngle a)
Referenced by Init().
◆ SetObjOrgInLoc()
void MucAbsorber::SetObjOrgInLoc |
( |
| ) |
|
|
protectedvirtual |
◆ SetObjRotToMot()
void MucAbsorber::SetObjRotToMot |
( |
| ) |
|
|
protectedvirtual |
◆ SetRc()
void MucAbsorber::SetRc |
( |
| ) |
|
|
protectedvirtual |
◆ SetRin()
void MucAbsorber::SetRin |
( |
| ) |
|
|
protectedvirtual |
◆ SetRout()
void MucAbsorber::SetRout |
( |
| ) |
|
|
protectedvirtual |
◆ SetTheta()
void MucAbsorber::SetTheta |
( |
| ) |
|
|
protectedvirtual |
◆ SetThin()
void MucAbsorber::SetThin |
( |
| ) |
|
|
protectedvirtual |
◆ SetW()
void MucAbsorber::SetW |
( |
| ) |
|
|
protectedvirtual |
◆ SetWd()
void MucAbsorber::SetWd |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 148 of file MucAbsorber.cxx.
149{
152 else
153 {
157 m_Wd = 2.0 * VALUE * E_AS_RMAX;
158 else
159 m_Wd = VALUE * E_AS_RMAX;
160 }
161
163}
Referenced by Init().
◆ SetWu()
void MucAbsorber::SetWu |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files: