#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 ) |
Definition at line 17 of file MucAbsorber.cxx.
18{
20}
MucEntity(int part, int segment, int layer)
◆ MucAbsorber() [2/2]
◆ ~MucAbsorber()
MucAbsorber::~MucAbsorber |
( |
| ) |
|
|
virtual |
◆ Init()
void MucAbsorber::Init |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 40 of file MucAbsorber.cxx.
41{
46
57}
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)
29 return *this;
30
32
33 return *this;
34}
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 186 of file MucAbsorber.cxx.
187{
190
191
193 {
196 }
197 else
198 {
199
200 double tempR, tempTheta;
201 tempR = sqrt(2.0) * E_AS_RMAX / 2.0;
202 tempTheta = ( 2*
m_Segment + 1 ) * ( MUC_PI / 4.0 );
203
204 x = tempR *
cos( tempTheta );
205 y = tempR *
sin( tempTheta );
206
207 }
208
209
210 if(
m_Part == BRID ) z = 0.;
211 else
212 {
213 for(
int i=0; i<
m_Layer+1; i++ ) z += E_AS_TH[i];
214
216 z += (E_AS_ZMAX - E_AS_TOTAL_TH ) -
m_Thin/2.0;
218 }
219
223
224
225 for(int i=0; i<3; i++) {
227 }
228}
double sin(const BesAngle a)
double cos(const BesAngle a)
Referenced by Init().
◆ SetObjOrgInBes()
void MucAbsorber::SetObjOrgInBes |
( |
| ) |
|
|
protectedvirtual |
Reimplemented from MucEntity.
Definition at line 241 of file MucAbsorber.cxx.
242{
244
246 {
250
251 }
252 else
253 {
254
255
256
258 {
261 }
263 {
266 }
267 else
268 {
271 }
272
273
277 else { y = -y; }
278
281
282
283 for( int i=0; i<2; i++ ) {
285 }
286
287
289
290 }
291}
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 168 of file MucAbsorber.cxx.
169{
172 else
173 {
177 m_Wd = 2.0 * VALUE * E_AS_RMAX;
178 else
179 m_Wd = VALUE * E_AS_RMAX;
180 }
181
183}
Referenced by Init().
◆ SetWu()
void MucAbsorber::SetWu |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files: