CGEM BOSS 6.6.5.f
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 ()
 
- 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 ()
 

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 ()
 
- Protected Member Functions inherited from MucEntityCal
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

◆ MucGapCal() [1/4]

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

Definition at line 17 of file MucGapCal.cxx.

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

◆ MucGapCal() [2/4]

MucGapCal::MucGapCal ( const MucGapCal other)

Definition at line 24 of file MucGapCal.cxx.

24 : MucEntityCal( other )
25{
26 m_MucBoxCal = other.m_MucBoxCal;
27}
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ ~MucGapCal() [1/2]

MucGapCal::~MucGapCal ( )

Definition at line 40 of file MucGapCal.cxx.

41{
42 delete m_MucBoxCal;
43}

◆ MucGapCal() [3/4]

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

◆ MucGapCal() [4/4]

MucGapCal::MucGapCal ( const MucGapCal other)

◆ ~MucGapCal() [2/2]

MucGapCal::~MucGapCal ( )

Member Function Documentation

◆ GetBox() [1/2]

MucBoxCal * MucGapCal::GetBox ( )

◆ GetBox() [2/2]

MucBoxCal * MucGapCal::GetBox ( )

◆ Init() [1/2]

void MucGapCal::Init ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 46 of file MucGapCal.cxx.

47{
48 SetTheta();
49 SetRin();
50 SetRout();
51 SetRc();
52
53 SetThin();
54 SetW();
55 SetWu();
56 SetWd();
57 SetH();
58 SetL();
59}
virtual void SetWd()
Definition: MucGapCal.cxx:119
virtual void SetH()
Definition: MucGapCal.cxx:102
virtual void SetWu()
Definition: MucGapCal.cxx:115
virtual void SetW()
Definition: MucGapCal.cxx:97
virtual void SetRc()
Definition: MucGapCal.cxx:88
virtual void SetL()
Definition: MucGapCal.cxx:110
virtual void SetRout()
Definition: MucGapCal.cxx:83
virtual void SetRin()
Definition: MucGapCal.cxx:78
virtual void SetThin()
Definition: MucGapCal.cxx:93
virtual void SetTheta()
Definition: MucGapCal.cxx:73

Referenced by MucGapCal().

◆ Init() [2/2]

virtual void MucGapCal::Init ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ operator=() [1/2]

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

Definition at line 30 of file MucGapCal.cxx.

31{
32 if( this == &other) return *this;
34 m_MucBoxCal = other.m_MucBoxCal;
35
36 return *this;
37}
MucEntityCal & operator=(const MucEntityCal &other)

◆ operator=() [2/2]

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

◆ SetH() [1/2]

void MucGapCal::SetH ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 102 of file MucGapCal.cxx.

103{
104 if( m_Part == BRID )
105 m_H = AS_GAP-0.2; // avoid overlap between absorber and gap
106 else
107 m_H = E_AS_RMAX - E_GP_DY;
108}

Referenced by Init().

◆ SetH() [2/2]

virtual void MucGapCal::SetH ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetL() [1/2]

void MucGapCal::SetL ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 110 of file MucGapCal.cxx.

110 {
111 if( m_Part == BRID ) m_L = B_GP_LT;
112 else m_L = AS_GAP;
113}

Referenced by Init().

◆ SetL() [2/2]

virtual void MucGapCal::SetL ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRc() [1/2]

void MucGapCal::SetRc ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 88 of file MucGapCal.cxx.

88 {
89 if( m_Part == BRID ) m_Rc = B_AS_RMIN[m_Layer] - AS_GAP/2.0;
90 else m_Rc = sqrt(2.0) * E_AS_RMAX / 2.0;
91}

Referenced by Init().

◆ SetRc() [2/2]

virtual void MucGapCal::SetRc ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRin() [1/2]

void MucGapCal::SetRin ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 78 of file MucGapCal.cxx.

78 {
79 if( m_Part == BRID ) m_Rin = B_AS_RMIN[m_Layer] - AS_GAP;
80 else m_Rin = 0.;
81}

Referenced by Init().

◆ SetRin() [2/2]

virtual void MucGapCal::SetRin ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetRout() [1/2]

void MucGapCal::SetRout ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 83 of file MucGapCal.cxx.

83 {
84 if( m_Part == BRID ) m_Rout = B_AS_RMIN[m_Layer];
85 else m_Rout = E_AS_RMAX;
86}

Referenced by Init().

◆ SetRout() [2/2]

virtual void MucGapCal::SetRout ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetTheta() [1/2]

void MucGapCal::SetTheta ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 73 of file MucGapCal.cxx.

73 {
74 if( m_Part == BRID ) m_Theta = m_Segment * ( PI/4.0 );
75 else m_Theta = ( 2*m_Segment + 1 ) * ( PI/4.0 );
76}
const double PI
Definition: PipiJpsi.cxx:55

Referenced by Init().

◆ SetTheta() [2/2]

virtual void MucGapCal::SetTheta ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetThin() [1/2]

void MucGapCal::SetThin ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 93 of file MucGapCal.cxx.

Referenced by Init().

◆ SetThin() [2/2]

virtual void MucGapCal::SetThin ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetW() [1/2]

void MucGapCal::SetW ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 97 of file MucGapCal.cxx.

97 {
98 if( m_Part == BRID) m_W = B_GP_WT[m_Layer];
99 else m_W = E_AS_RMAX - E_GP_DX;
100}

Referenced by Init().

◆ SetW() [2/2]

virtual void MucGapCal::SetW ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetWd() [1/2]

void MucGapCal::SetWd ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 119 of file MucGapCal.cxx.

Referenced by Init().

◆ SetWd() [2/2]

virtual void MucGapCal::SetWd ( )
protectedvirtual

Reimplemented from MucEntityCal.

◆ SetWu() [1/2]

void MucGapCal::SetWu ( )
protectedvirtual

Reimplemented from MucEntityCal.

Definition at line 115 of file MucGapCal.cxx.

Referenced by Init().

◆ SetWu() [2/2]

virtual void MucGapCal::SetWu ( )
protectedvirtual

Reimplemented from MucEntityCal.


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