CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
MucEntityCal Class Reference

#include <MucEntityCal.h>

+ Inheritance diagram for MucEntityCal:

Public Member Functions

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

Protected Attributes

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

Definition at line 15 of file MucEntityCal.h.

Constructor & Destructor Documentation

◆ MucEntityCal() [1/3]

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

Definition at line 16 of file MucEntityCal.cxx.

17{
18 m_Part = part;
19 m_Segment = segment;
20 m_Layer = layer;
21 m_ID = 0; // only 1 entity, default
22
24}
virtual void Init()

◆ MucEntityCal() [2/3]

MucEntityCal::MucEntityCal ( int part,
int segment,
int layer,
int id )

Definition at line 26 of file MucEntityCal.cxx.

27{
28 m_Part = part;
29 m_Segment = segment;
30 m_Layer = layer;
31 m_ID = id;
32
33 Init();
34}

◆ MucEntityCal() [3/3]

MucEntityCal::MucEntityCal ( const MucEntityCal & other)

Definition at line 36 of file MucEntityCal.cxx.

37{
38 m_Part = other.m_Part;
39 m_Segment = other.m_Segment;
40 m_Layer = other.m_Layer;
41 m_ID = other.m_ID;
42
43 m_Theta = other.m_Theta;
44 m_Thin = other.m_Thin;
45 m_W = other.m_W;
46 m_H = other.m_H;
47 m_L = other.m_L;
48 m_Wu = other.m_Wu;
49 m_Wd = other.m_Wd;
50 m_Area = other.m_Area;
51}
Index other(Index i, Index j)

◆ ~MucEntityCal()

MucEntityCal::~MucEntityCal ( )
virtual

Definition at line 75 of file MucEntityCal.cxx.

76{
77 ;
78}

Member Function Documentation

◆ GetArea()

double MucEntityCal::GetArea ( )

Definition at line 95 of file MucEntityCal.cxx.

95{ return m_Area; }

Referenced by MucCalibMgr::InitArea().

◆ GetH()

double MucEntityCal::GetH ( )

Definition at line 91 of file MucEntityCal.cxx.

91{ return m_H; }

◆ GetID()

int MucEntityCal::GetID ( )

Definition at line 84 of file MucEntityCal.cxx.

84{ return m_ID; }

◆ GetL()

double MucEntityCal::GetL ( )

Definition at line 92 of file MucEntityCal.cxx.

92{ return m_L; }

◆ GetLayer()

int MucEntityCal::GetLayer ( )

Definition at line 83 of file MucEntityCal.cxx.

83{ return m_Layer; }

◆ GetPart()

int MucEntityCal::GetPart ( )

Definition at line 81 of file MucEntityCal.cxx.

81{ return m_Part; }

◆ GetRc()

double MucEntityCal::GetRc ( )

Definition at line 88 of file MucEntityCal.cxx.

88{ return m_Rc; }

◆ GetRin()

double MucEntityCal::GetRin ( )

Definition at line 86 of file MucEntityCal.cxx.

86{ return m_Rin; }

◆ GetRout()

double MucEntityCal::GetRout ( )

Definition at line 87 of file MucEntityCal.cxx.

87{ return m_Rout; }

◆ GetSegment()

int MucEntityCal::GetSegment ( )

Definition at line 82 of file MucEntityCal.cxx.

82{ return m_Segment; }

◆ GetTheta()

double MucEntityCal::GetTheta ( )

Definition at line 85 of file MucEntityCal.cxx.

85{ return m_Theta; }

◆ GetThin()

double MucEntityCal::GetThin ( )

Definition at line 89 of file MucEntityCal.cxx.

89{ return m_Thin; }

◆ GetW()

double MucEntityCal::GetW ( )

Definition at line 90 of file MucEntityCal.cxx.

90{ return m_W; }

◆ GetWd()

double MucEntityCal::GetWd ( )

Definition at line 94 of file MucEntityCal.cxx.

94{ return m_Wd; }

◆ GetWu()

double MucEntityCal::GetWu ( )

Definition at line 93 of file MucEntityCal.cxx.

93{ return m_Wu; }

◆ Init()

void MucEntityCal::Init ( )
protectedvirtual

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 98 of file MucEntityCal.cxx.

99{
111}
virtual void SetWu()
virtual void SetH()
virtual void SetTheta()
virtual void SetL()
virtual void SetWd()
virtual void SetRc()
virtual void SetW()
virtual void SetRin()
virtual void SetThin()
virtual void SetRout()
virtual void SetArea()

Referenced by MucEntityCal(), and MucEntityCal().

◆ operator=()

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

Definition at line 53 of file MucEntityCal.cxx.

54{
55 if( this == &other) return *this;
56
57 m_Part = other.m_Part;
58 m_Segment = other.m_Segment;
59 m_Layer = other.m_Layer;
60 m_ID = other.m_ID;
61
62 m_Theta = other.m_Theta;
63 m_Thin = other.m_Thin;
64 m_W = other.m_W;
65 m_H = other.m_H;
66 m_L = other.m_L;
67 m_Wu = other.m_Wu;
68 m_Wd = other.m_Wd;
69 m_Area = other.m_Area;
70
71 return *this;
72}

Referenced by MucBoxCal::operator=(), MucGapCal::operator=(), and MucStripCal::operator=().

◆ SetArea()

void MucEntityCal::SetArea ( )
protectedvirtual

Reimplemented in MucBoxCal, and MucStripCal.

Definition at line 123 of file MucEntityCal.cxx.

123{ m_Area = 0.; }

Referenced by Init().

◆ SetH()

void MucEntityCal::SetH ( )
protectedvirtual

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 121 of file MucEntityCal.cxx.

121{ m_H = 0.; }

Referenced by Init().

◆ SetL()

void MucEntityCal::SetL ( )
protectedvirtual

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 122 of file MucEntityCal.cxx.

122{ m_L = 0.; }

Referenced by Init().

◆ SetRc()

void MucEntityCal::SetRc ( )
protectedvirtual

Reimplemented in MucBoxCal, and MucGapCal.

Definition at line 116 of file MucEntityCal.cxx.

116{ m_Rc = 0.; }

Referenced by Init().

◆ SetRin()

void MucEntityCal::SetRin ( )
protectedvirtual

Reimplemented in MucBoxCal, and MucGapCal.

Definition at line 114 of file MucEntityCal.cxx.

114{ m_Rin = 0.; }

Referenced by Init().

◆ SetRout()

void MucEntityCal::SetRout ( )
protectedvirtual

Reimplemented in MucBoxCal, and MucGapCal.

Definition at line 115 of file MucEntityCal.cxx.

115{ m_Rout = 0.; }

Referenced by Init().

◆ SetTheta()

void MucEntityCal::SetTheta ( )
protectedvirtual

Reimplemented in MucBoxCal, and MucGapCal.

Definition at line 113 of file MucEntityCal.cxx.

113{ m_Theta = 0.; }

Referenced by Init().

◆ SetThin()

void MucEntityCal::SetThin ( )
protectedvirtual

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 117 of file MucEntityCal.cxx.

117{ m_Thin = 0.; }

Referenced by Init().

◆ SetW()

void MucEntityCal::SetW ( )
protectedvirtual

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 118 of file MucEntityCal.cxx.

118{ m_W = 0.; }

Referenced by Init().

◆ SetWd()

void MucEntityCal::SetWd ( )
protectedvirtual

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 120 of file MucEntityCal.cxx.

120{ m_Wd = 0.; }

Referenced by Init().

◆ SetWu()

void MucEntityCal::SetWu ( )
protectedvirtual

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 119 of file MucEntityCal.cxx.

119{ m_Wu = 0.; }

Referenced by Init().

Member Data Documentation

◆ m_Area

double MucEntityCal::m_Area
protected

◆ m_H

double MucEntityCal::m_H
protected

◆ m_ID

◆ m_L

◆ m_Layer

◆ m_Part

◆ m_Rc

double MucEntityCal::m_Rc
protected

Definition at line 68 of file MucEntityCal.h.

Referenced by GetRc(), MucBoxCal::SetRc(), SetRc(), and MucGapCal::SetRc().

◆ m_Rin

double MucEntityCal::m_Rin
protected

◆ m_Rout

double MucEntityCal::m_Rout
protected

◆ m_Segment

◆ m_Theta

double MucEntityCal::m_Theta
protected

◆ m_Thin

double MucEntityCal::m_Thin
protected

◆ m_W

◆ m_Wd

double MucEntityCal::m_Wd
protected

◆ m_Wu

double MucEntityCal::m_Wu
protected

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