BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
MucBoxCal Class Reference

#include <MucBoxCal.h>

Inheritance diagram for MucBoxCal:

Public Member Functions

 MucBoxCal (int part, int segment, int layer)
 MucBoxCal (const MucBoxCal &other)
MucBoxCaloperator= (const MucBoxCal &other)
 ~MucBoxCal ()
 MucBoxCal (int part, int segment, int layer)
 MucBoxCal (const MucBoxCal &other)
MucBoxCaloperator= (const MucBoxCal &other)
 ~MucBoxCal ()
 MucBoxCal (int part, int segment, int layer)
 MucBoxCal (const MucBoxCal &other)
MucBoxCaloperator= (const MucBoxCal &other)
 ~MucBoxCal ()
Public Member Functions inherited from MucEntityCal
 MucEntityCal (int part, int segment, int layer)
 MucEntityCal (int part, int segment, int layer, int id)
 MucEntityCal (const MucEntityCal &other)
MucEntityCaloperator= (const MucEntityCal &other)
virtual ~MucEntityCal ()
int GetPart ()
int GetSegment ()
int GetLayer ()
int GetID ()
double GetTheta ()
double GetRin ()
double GetRout ()
double GetRc ()
double GetThin ()
double GetW ()
double GetH ()
double GetL ()
double GetWu ()
double GetWd ()
double GetArea ()
 MucEntityCal (int part, int segment, int layer)
 MucEntityCal (int part, int segment, int layer, int id)
 MucEntityCal (const MucEntityCal &other)
MucEntityCaloperator= (const MucEntityCal &other)
virtual ~MucEntityCal ()
int GetPart ()
int GetSegment ()
int GetLayer ()
int GetID ()
double GetTheta ()
double GetRin ()
double GetRout ()
double GetRc ()
double GetThin ()
double GetW ()
double GetH ()
double GetL ()
double GetWu ()
double GetWd ()
double GetArea ()
 MucEntityCal (int part, int segment, int layer)
 MucEntityCal (int part, int segment, int layer, int id)
 MucEntityCal (const MucEntityCal &other)
MucEntityCaloperator= (const MucEntityCal &other)
virtual ~MucEntityCal ()
int GetPart ()
int GetSegment ()
int GetLayer ()
int GetID ()
double GetTheta ()
double GetRin ()
double GetRout ()
double GetRc ()
double GetThin ()
double GetW ()
double GetH ()
double GetL ()
double GetWu ()
double GetWd ()
double GetArea ()

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

Additional Inherited Members

Protected Attributes inherited from MucEntityCal
int m_Part
int m_Segment
int m_Layer
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

Detailed Description

Constructor & Destructor Documentation

◆ MucBoxCal() [1/6]

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

Definition at line 17 of file MucBoxCal.cxx.

18 : MucEntityCal( part, segment, layer ) {
20}
virtual void Init()
Definition MucBoxCal.cxx:38
MucEntityCal(int part, int segment, int layer)

Referenced by MucBoxCal(), and operator=().

◆ MucBoxCal() [2/6]

MucBoxCal::MucBoxCal ( const MucBoxCal & other)

Definition at line 23 of file MucBoxCal.cxx.

23: MucEntityCal( other ) { ; }

◆ ~MucBoxCal() [1/3]

MucBoxCal::~MucBoxCal ( )

Definition at line 35 of file MucBoxCal.cxx.

35{ ; }

◆ MucBoxCal() [3/6]

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

◆ MucBoxCal() [4/6]

MucBoxCal::MucBoxCal ( const MucBoxCal & other)

◆ ~MucBoxCal() [2/3]

MucBoxCal::~MucBoxCal ( )

◆ MucBoxCal() [5/6]

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

◆ MucBoxCal() [6/6]

MucBoxCal::MucBoxCal ( const MucBoxCal & other)

◆ ~MucBoxCal() [3/3]

MucBoxCal::~MucBoxCal ( )

Member Function Documentation

◆ Init() [1/3]

void MucBoxCal::Init ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 38 of file MucBoxCal.cxx.

38 {
39 SetTheta();
40 SetRin();
41 SetRout();
42 SetRc();
43
44 SetThin();
45 SetW();
46 SetWu();
47 SetWd();
48 SetH();
49 SetL();
50 SetArea();
51}
virtual void SetThin()
Definition MucBoxCal.cxx:74
virtual void SetArea()
virtual void SetL()
Definition MucBoxCal.cxx:88
virtual void SetH()
Definition MucBoxCal.cxx:81
virtual void SetWu()
Definition MucBoxCal.cxx:93
virtual void SetRin()
Definition MucBoxCal.cxx:59
virtual void SetRout()
Definition MucBoxCal.cxx:64
virtual void SetTheta()
Definition MucBoxCal.cxx:54
virtual void SetWd()
Definition MucBoxCal.cxx:98
virtual void SetW()
Definition MucBoxCal.cxx:76
virtual void SetRc()
Definition MucBoxCal.cxx:69

Referenced by MucBoxCal().

◆ Init() [2/3]

virtual void MucBoxCal::Init ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ Init() [3/3]

virtual void MucBoxCal::Init ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ operator=() [1/3]

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

Definition at line 26 of file MucBoxCal.cxx.

26 {
27 if ( this == &other ) return *this;
28
30
31 return *this;
32}
MucEntityCal & operator=(const MucEntityCal &other)

◆ operator=() [2/3]

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

◆ operator=() [3/3]

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

◆ SetArea() [1/3]

void MucBoxCal::SetArea ( )
protectedvirtual

◆ SetArea() [2/3]

virtual void MucBoxCal::SetArea ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetArea() [3/3]

virtual void MucBoxCal::SetArea ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetH() [1/3]

void MucBoxCal::SetH ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 81 of file MucBoxCal.cxx.

81 {
82 if ( m_Part == BRID ) m_H = BOX_TH;
83 else
84 m_H = E_AS_RMAX - E_BOX_DR - E_STRPLN_DB[( m_Layer == 0 ) ? 0 : 1] - E_STRPLN_DR -
85 E_GP_RMIN[m_Layer];
86}

Referenced by Init().

◆ SetH() [2/3]

virtual void MucBoxCal::SetH ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetH() [3/3]

virtual void MucBoxCal::SetH ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetL() [1/3]

void MucBoxCal::SetL ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 88 of file MucBoxCal.cxx.

88 {
89 if ( m_Part == BRID ) m_L = B_BOX_LT;
90 else m_L = BOX_TH;
91}

Referenced by Init().

◆ SetL() [2/3]

virtual void MucBoxCal::SetL ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetL() [3/3]

virtual void MucBoxCal::SetL ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRc() [1/3]

void MucBoxCal::SetRc ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 69 of file MucBoxCal.cxx.

Referenced by Init().

◆ SetRc() [2/3]

virtual void MucBoxCal::SetRc ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRc() [3/3]

virtual void MucBoxCal::SetRc ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRin() [1/3]

void MucBoxCal::SetRin ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 59 of file MucBoxCal.cxx.

59 {
60 if ( m_Part == BRID ) m_Rin = B_AS_RMIN[m_Layer] - ( AS_GAP + BOX_TH ) / 2.0;
61 else m_Rin = E_GP_RMIN[m_Layer] - E_STRPLN_DR;
62}

Referenced by Init().

◆ SetRin() [2/3]

virtual void MucBoxCal::SetRin ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRin() [3/3]

virtual void MucBoxCal::SetRin ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRout() [1/3]

void MucBoxCal::SetRout ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 64 of file MucBoxCal.cxx.

64 {
65 if ( m_Part == BRID ) m_Rout = B_AS_RMIN[m_Layer] - ( AS_GAP - BOX_TH ) / 2.0;
66 else m_Rout = E_AS_RMAX - E_BOX_DR - E_STRPLN_DB[( m_Layer == 0 ) ? 0 : 1];
67}

Referenced by Init().

◆ SetRout() [2/3]

virtual void MucBoxCal::SetRout ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRout() [3/3]

virtual void MucBoxCal::SetRout ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetTheta() [1/3]

void MucBoxCal::SetTheta ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 54 of file MucBoxCal.cxx.

54 {
55 if ( m_Part == BRID ) m_Theta = m_Segment * ( PI / 4.0 );
56 else m_Theta = ( m_Segment + 1 ) * ( PI / 4.0 );
57}
#define PI

Referenced by Init().

◆ SetTheta() [2/3]

virtual void MucBoxCal::SetTheta ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetTheta() [3/3]

virtual void MucBoxCal::SetTheta ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetThin() [1/3]

void MucBoxCal::SetThin ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 74 of file MucBoxCal.cxx.

Referenced by Init().

◆ SetThin() [2/3]

virtual void MucBoxCal::SetThin ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetThin() [3/3]

virtual void MucBoxCal::SetThin ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetW() [1/3]

void MucBoxCal::SetW ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 76 of file MucBoxCal.cxx.

76 {
77 if ( m_Part == BRID ) { m_W = B_BOX_WT[m_Layer]; }
78 else { m_W = E_AS_RMAX - E_BOX_DR - E_GP_DX; }
79}

Referenced by Init().

◆ SetW() [2/3]

virtual void MucBoxCal::SetW ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetW() [3/3]

virtual void MucBoxCal::SetW ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetWd() [1/3]

void MucBoxCal::SetWd ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 98 of file MucBoxCal.cxx.

98 {
99 if ( m_Part == BRID ) m_Wd = m_W;
100 else m_Wd = 2 * VALUE * m_Rout;
101}

Referenced by Init().

◆ SetWd() [2/3]

virtual void MucBoxCal::SetWd ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetWd() [3/3]

virtual void MucBoxCal::SetWd ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetWu() [1/3]

void MucBoxCal::SetWu ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 93 of file MucBoxCal.cxx.

93 {
94 if ( m_Part == BRID ) m_Wu = m_W;
95 else m_Wu = 2 * VALUE * m_Rin;
96}

Referenced by Init().

◆ SetWu() [2/3]

virtual void MucBoxCal::SetWu ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetWu() [3/3]

virtual void MucBoxCal::SetWu ( )
protectedvirtual

Reimplemented from MucEntityCal.


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