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

#include <MucGapCal.h>

Inheritance diagram for MucGapCal:

Public Member Functions

 MucGapCal (int part, int segment, int layer)
 MucGapCal (const MucGapCal &other)
MucGapCaloperator= (const MucGapCal &other)
 ~MucGapCal ()
MucBoxCalGetBox ()
 MucGapCal (int part, int segment, int layer)
 MucGapCal (const MucGapCal &other)
MucGapCaloperator= (const MucGapCal &other)
 ~MucGapCal ()
MucBoxCalGetBox ()
 MucGapCal (int part, int segment, int layer)
 MucGapCal (const MucGapCal &other)
MucGapCaloperator= (const MucGapCal &other)
 ~MucGapCal ()
MucBoxCalGetBox ()
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 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 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 ()
Protected Member Functions inherited from MucEntityCal
virtual void SetArea ()
virtual void SetArea ()
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

◆ MucGapCal() [1/6]

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

Definition at line 17 of file MucGapCal.cxx.

18 : MucEntityCal( part, segment, layer ) {
20 m_MucBoxCal = NULL;
21}
MucEntityCal(int part, int segment, int layer)
virtual void Init()
Definition MucGapCal.cxx:41

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

◆ MucGapCal() [2/6]

MucGapCal::MucGapCal ( const MucGapCal & other)

Definition at line 24 of file MucGapCal.cxx.

24 : MucEntityCal( other ) {
25 m_MucBoxCal = other.m_MucBoxCal;
26}
Index other(Index i, Index j)

◆ ~MucGapCal() [1/3]

MucGapCal::~MucGapCal ( )

Definition at line 38 of file MucGapCal.cxx.

38{ delete m_MucBoxCal; }

◆ MucGapCal() [3/6]

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

◆ MucGapCal() [4/6]

MucGapCal::MucGapCal ( const MucGapCal & other)

◆ ~MucGapCal() [2/3]

MucGapCal::~MucGapCal ( )

◆ MucGapCal() [5/6]

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

◆ MucGapCal() [6/6]

MucGapCal::MucGapCal ( const MucGapCal & other)

◆ ~MucGapCal() [3/3]

MucGapCal::~MucGapCal ( )

Member Function Documentation

◆ GetBox() [1/3]

MucBoxCal * MucGapCal::GetBox ( )

Definition at line 57 of file MucGapCal.cxx.

◆ GetBox() [2/3]

MucBoxCal * MucGapCal::GetBox ( )

◆ GetBox() [3/3]

MucBoxCal * MucGapCal::GetBox ( )

◆ Init() [1/3]

void MucGapCal::Init ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 41 of file MucGapCal.cxx.

41 {
42 SetTheta();
43 SetRin();
44 SetRout();
45 SetRc();
46
47 SetThin();
48 SetW();
49 SetWu();
50 SetWd();
51 SetH();
52 SetL();
53}
virtual void SetWd()
virtual void SetH()
Definition MucGapCal.cxx:90
virtual void SetWu()
virtual void SetW()
Definition MucGapCal.cxx:85
virtual void SetRc()
Definition MucGapCal.cxx:78
virtual void SetL()
Definition MucGapCal.cxx:95
virtual void SetRout()
Definition MucGapCal.cxx:73
virtual void SetRin()
Definition MucGapCal.cxx:68
virtual void SetThin()
Definition MucGapCal.cxx:83
virtual void SetTheta()
Definition MucGapCal.cxx:63

Referenced by MucGapCal().

◆ Init() [2/3]

virtual void MucGapCal::Init ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ Init() [3/3]

virtual void MucGapCal::Init ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ operator=() [1/3]

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

Definition at line 29 of file MucGapCal.cxx.

29 {
30 if ( this == &other ) return *this;
32 m_MucBoxCal = other.m_MucBoxCal;
33
34 return *this;
35}
MucEntityCal & operator=(const MucEntityCal &other)

◆ operator=() [2/3]

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

◆ operator=() [3/3]

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

◆ SetH() [1/3]

void MucGapCal::SetH ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 90 of file MucGapCal.cxx.

90 {
91 if ( m_Part == BRID ) m_H = AS_GAP - 0.2; // avoid overlap between absorber and gap
92 else m_H = E_AS_RMAX - E_GP_DY;
93}

Referenced by Init().

◆ SetH() [2/3]

virtual void MucGapCal::SetH ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetH() [3/3]

virtual void MucGapCal::SetH ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetL() [1/3]

void MucGapCal::SetL ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 95 of file MucGapCal.cxx.

95 {
96 if ( m_Part == BRID ) m_L = B_GP_LT;
97 else m_L = AS_GAP;
98}

Referenced by Init().

◆ SetL() [2/3]

virtual void MucGapCal::SetL ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetL() [3/3]

virtual void MucGapCal::SetL ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRc() [1/3]

void MucGapCal::SetRc ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 78 of file MucGapCal.cxx.

78 {
79 if ( m_Part == BRID ) m_Rc = B_AS_RMIN[m_Layer] - AS_GAP / 2.0;
80 else m_Rc = sqrt( 2.0 ) * E_AS_RMAX / 2.0;
81}

Referenced by Init().

◆ SetRc() [2/3]

virtual void MucGapCal::SetRc ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRc() [3/3]

virtual void MucGapCal::SetRc ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRin() [1/3]

void MucGapCal::SetRin ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 68 of file MucGapCal.cxx.

68 {
69 if ( m_Part == BRID ) m_Rin = B_AS_RMIN[m_Layer] - AS_GAP;
70 else m_Rin = 0.;
71}

Referenced by Init().

◆ SetRin() [2/3]

virtual void MucGapCal::SetRin ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRin() [3/3]

virtual void MucGapCal::SetRin ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRout() [1/3]

void MucGapCal::SetRout ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 73 of file MucGapCal.cxx.

73 {
74 if ( m_Part == BRID ) m_Rout = B_AS_RMIN[m_Layer];
75 else m_Rout = E_AS_RMAX;
76}

Referenced by Init().

◆ SetRout() [2/3]

virtual void MucGapCal::SetRout ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRout() [3/3]

virtual void MucGapCal::SetRout ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetTheta() [1/3]

void MucGapCal::SetTheta ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 63 of file MucGapCal.cxx.

63 {
64 if ( m_Part == BRID ) m_Theta = m_Segment * ( PI / 4.0 );
65 else m_Theta = ( 2 * m_Segment + 1 ) * ( PI / 4.0 );
66}
#define PI

Referenced by Init().

◆ SetTheta() [2/3]

virtual void MucGapCal::SetTheta ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetTheta() [3/3]

virtual void MucGapCal::SetTheta ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetThin() [1/3]

void MucGapCal::SetThin ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 83 of file MucGapCal.cxx.

Referenced by Init().

◆ SetThin() [2/3]

virtual void MucGapCal::SetThin ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetThin() [3/3]

virtual void MucGapCal::SetThin ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetW() [1/3]

void MucGapCal::SetW ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 85 of file MucGapCal.cxx.

85 {
86 if ( m_Part == BRID ) m_W = B_GP_WT[m_Layer];
87 else m_W = E_AS_RMAX - E_GP_DX;
88}

Referenced by Init().

◆ SetW() [2/3]

virtual void MucGapCal::SetW ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetW() [3/3]

virtual void MucGapCal::SetW ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetWd() [1/3]

void MucGapCal::SetWd ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 102 of file MucGapCal.cxx.

Referenced by Init().

◆ SetWd() [2/3]

virtual void MucGapCal::SetWd ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetWd() [3/3]

virtual void MucGapCal::SetWd ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetWu() [1/3]

void MucGapCal::SetWu ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 100 of file MucGapCal.cxx.

Referenced by Init().

◆ SetWu() [2/3]

virtual void MucGapCal::SetWu ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetWu() [3/3]

virtual void MucGapCal::SetWu ( )
protectedvirtual

Reimplemented from MucEntityCal.


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