MucEntityCal Class Reference

#include <MucEntityCal.h>

Inheritance diagram for MucEntityCal:

MucBoxCal MucGapCal MucStripCal List of all members.

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::MucEntityCal ( int  part,
int  segment,
int  layer 
)

Definition at line 16 of file MucEntityCal.cxx.

References Init(), m_ID, m_Layer, m_Part, and m_Segment.

00017 {
00018   m_Part      = part;
00019   m_Segment   = segment;
00020   m_Layer     = layer;
00021   m_ID        = 0;              // only 1 entity, default
00022 
00023   MucEntityCal::Init();
00024 }

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

Definition at line 26 of file MucEntityCal.cxx.

References Init(), m_ID, m_Layer, m_Part, and m_Segment.

00027 {
00028   m_Part    = part;
00029   m_Segment = segment;
00030   m_Layer   = layer;
00031   m_ID      = id;
00032   
00033   Init();
00034 }

MucEntityCal::MucEntityCal ( const MucEntityCal other  ) 

Definition at line 36 of file MucEntityCal.cxx.

References m_Area, m_H, m_ID, m_L, m_Layer, m_Part, m_Segment, m_Theta, m_Thin, m_W, m_Wd, m_Wu, and EvtCyclic3::other().

00037 {
00038   m_Part    = other.m_Part;
00039   m_Segment = other.m_Segment;
00040   m_Layer   = other.m_Layer;
00041   m_ID      = other.m_ID;
00042   
00043   m_Theta   = other.m_Theta;
00044   m_Thin    = other.m_Thin;
00045   m_W       = other.m_W;
00046   m_H       = other.m_H;
00047   m_L       = other.m_L;
00048   m_Wu      = other.m_Wu;
00049   m_Wd      = other.m_Wd;
00050   m_Area    = other.m_Area;
00051 }

MucEntityCal::~MucEntityCal (  )  [virtual]

Definition at line 75 of file MucEntityCal.cxx.

00076 {
00077   ;
00078 }


Member Function Documentation

double MucEntityCal::GetArea (  ) 

Definition at line 95 of file MucEntityCal.cxx.

References m_Area.

00095 { return m_Area;    }

double MucEntityCal::GetH (  ) 

Definition at line 91 of file MucEntityCal.cxx.

References m_H.

00091 { return m_H;       }

int MucEntityCal::GetID (  ) 

Definition at line 84 of file MucEntityCal.cxx.

References m_ID.

00084 { return m_ID;      }

double MucEntityCal::GetL (  ) 

Definition at line 92 of file MucEntityCal.cxx.

References m_L.

00092 { return m_L;       }

int MucEntityCal::GetLayer (  ) 

Definition at line 83 of file MucEntityCal.cxx.

References m_Layer.

00083 { return m_Layer;   }

int MucEntityCal::GetPart (  ) 

Definition at line 81 of file MucEntityCal.cxx.

References m_Part.

00081 { return m_Part;    }

double MucEntityCal::GetRc (  ) 

Definition at line 88 of file MucEntityCal.cxx.

References m_Rc.

00088 { return m_Rc;      }

double MucEntityCal::GetRin (  ) 

Definition at line 86 of file MucEntityCal.cxx.

References m_Rin.

00086 { return m_Rin;     }

double MucEntityCal::GetRout (  ) 

Definition at line 87 of file MucEntityCal.cxx.

References m_Rout.

00087 { return m_Rout;    }

int MucEntityCal::GetSegment (  ) 

Definition at line 82 of file MucEntityCal.cxx.

References m_Segment.

00082 { return m_Segment; }

double MucEntityCal::GetTheta (  ) 

Definition at line 85 of file MucEntityCal.cxx.

References m_Theta.

00085 { return m_Theta;   }

double MucEntityCal::GetThin (  ) 

Definition at line 89 of file MucEntityCal.cxx.

References m_Thin.

00089 { return m_Thin;    } 

double MucEntityCal::GetW (  ) 

Definition at line 90 of file MucEntityCal.cxx.

References m_W.

00090 { return m_W;       }

double MucEntityCal::GetWd (  ) 

Definition at line 94 of file MucEntityCal.cxx.

References m_Wd.

00094 { return m_Wd;      }

double MucEntityCal::GetWu (  ) 

Definition at line 93 of file MucEntityCal.cxx.

References m_Wu.

00093 { return m_Wu;      }

void MucEntityCal::Init (  )  [protected, virtual]

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 98 of file MucEntityCal.cxx.

References SetArea(), SetH(), SetL(), SetRc(), SetRin(), SetRout(), SetTheta(), SetThin(), SetW(), SetWd(), and SetWu().

Referenced by MucEntityCal().

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

Definition at line 53 of file MucEntityCal.cxx.

References m_Area, m_H, m_ID, m_L, m_Layer, m_Part, m_Segment, m_Theta, m_Thin, m_W, m_Wd, m_Wu, and EvtCyclic3::other().

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

00054 {
00055   if( this == &other) return *this;
00056         
00057   m_Part    = other.m_Part;
00058   m_Segment = other.m_Segment;
00059   m_Layer   = other.m_Layer;
00060   m_ID      = other.m_ID;
00061   
00062   m_Theta   = other.m_Theta;    
00063   m_Thin    = other.m_Thin;     
00064   m_W       = other.m_W;
00065   m_H       = other.m_H;
00066   m_L       = other.m_L;
00067   m_Wu      = other.m_Wu;
00068   m_Wd      = other.m_Wd;
00069   m_Area    = other.m_Area;
00070   
00071   return *this;
00072 }

void MucEntityCal::SetArea (  )  [protected, virtual]

Reimplemented in MucBoxCal, and MucStripCal.

Definition at line 123 of file MucEntityCal.cxx.

References m_Area.

Referenced by Init().

00123 { m_Area   = 0.;   }

void MucEntityCal::SetH (  )  [protected, virtual]

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 121 of file MucEntityCal.cxx.

References m_H.

Referenced by Init().

00121 { m_H      = 0.;   }

void MucEntityCal::SetL (  )  [protected, virtual]

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 122 of file MucEntityCal.cxx.

References m_L.

Referenced by Init().

00122 { m_L      = 0.;   }

void MucEntityCal::SetRc (  )  [protected, virtual]

Reimplemented in MucBoxCal, and MucGapCal.

Definition at line 116 of file MucEntityCal.cxx.

References m_Rc.

Referenced by Init().

00116 { m_Rc     = 0.;   }

void MucEntityCal::SetRin (  )  [protected, virtual]

Reimplemented in MucBoxCal, and MucGapCal.

Definition at line 114 of file MucEntityCal.cxx.

References m_Rin.

Referenced by Init().

00114 { m_Rin    = 0.;   }

void MucEntityCal::SetRout (  )  [protected, virtual]

Reimplemented in MucBoxCal, and MucGapCal.

Definition at line 115 of file MucEntityCal.cxx.

References m_Rout.

Referenced by Init().

00115 { m_Rout   = 0.;   }

void MucEntityCal::SetTheta (  )  [protected, virtual]

Reimplemented in MucBoxCal, and MucGapCal.

Definition at line 113 of file MucEntityCal.cxx.

References m_Theta.

Referenced by Init().

00113 { m_Theta  = 0.;   }

void MucEntityCal::SetThin (  )  [protected, virtual]

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 117 of file MucEntityCal.cxx.

References m_Thin.

Referenced by Init().

00117 { m_Thin   = 0.;        }

void MucEntityCal::SetW (  )  [protected, virtual]

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 118 of file MucEntityCal.cxx.

References m_W.

Referenced by Init().

00118 { m_W      = 0.;   }

void MucEntityCal::SetWd (  )  [protected, virtual]

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 120 of file MucEntityCal.cxx.

References m_Wd.

Referenced by Init().

00120 { m_Wd     = 0.;        }

void MucEntityCal::SetWu (  )  [protected, virtual]

Reimplemented in MucBoxCal, MucGapCal, and MucStripCal.

Definition at line 119 of file MucEntityCal.cxx.

References m_Wu.

Referenced by Init().

00119 { m_Wu     = 0.;        }


Member Data Documentation

double MucEntityCal::m_Area [protected]

Definition at line 75 of file MucEntityCal.h.

Referenced by GetArea(), MucEntityCal(), operator=(), MucStripCal::SetArea(), SetArea(), and MucBoxCal::SetArea().

double MucEntityCal::m_H [protected]

Definition at line 71 of file MucEntityCal.h.

Referenced by GetH(), MucEntityCal(), operator=(), MucBoxCal::SetArea(), MucStripCal::SetH(), MucGapCal::SetH(), SetH(), and MucBoxCal::SetH().

int MucEntityCal::m_ID [protected]

Definition at line 61 of file MucEntityCal.h.

Referenced by GetID(), MucEntityCal(), operator=(), MucStripCal::SetCenterLine(), MucStripCal::SetHead(), MucStripCal::SetL(), MucStripCal::SetTail(), and MucStripCal::SetW().

double MucEntityCal::m_L [protected]

Definition at line 72 of file MucEntityCal.h.

Referenced by GetL(), MucEntityCal(), operator=(), MucStripCal::SetArea(), MucBoxCal::SetArea(), MucStripCal::SetL(), MucGapCal::SetL(), SetL(), MucBoxCal::SetL(), and MucStripCal::SetPadNumber().

int MucEntityCal::m_Layer [protected]

Definition at line 60 of file MucEntityCal.h.

Referenced by MucGapCal::GetBox(), GetLayer(), MucEntityCal(), operator=(), MucBoxCal::SetArea(), MucStripCal::SetCenterLine(), MucBoxCal::SetH(), MucStripCal::SetHead(), MucStripCal::SetL(), MucGapCal::SetRc(), MucBoxCal::SetRc(), MucGapCal::SetRin(), MucBoxCal::SetRin(), MucGapCal::SetRout(), MucBoxCal::SetRout(), MucStripCal::SetTail(), MucStripCal::SetType(), MucStripCal::SetW(), MucGapCal::SetW(), and MucBoxCal::SetW().

int MucEntityCal::m_Part [protected]

Definition at line 58 of file MucEntityCal.h.

Referenced by MucGapCal::GetBox(), GetPart(), MucEntityCal(), operator=(), MucBoxCal::SetArea(), MucGapCal::SetH(), MucBoxCal::SetH(), MucStripCal::SetL(), MucGapCal::SetL(), MucBoxCal::SetL(), MucStripCal::SetPhi(), MucGapCal::SetRc(), MucBoxCal::SetRc(), MucGapCal::SetRin(), MucBoxCal::SetRin(), MucGapCal::SetRout(), MucBoxCal::SetRout(), MucGapCal::SetTheta(), MucBoxCal::SetTheta(), MucStripCal::SetType(), MucStripCal::SetW(), MucGapCal::SetW(), MucBoxCal::SetW(), MucBoxCal::SetWd(), and MucBoxCal::SetWu().

double MucEntityCal::m_Rc [protected]

Definition at line 68 of file MucEntityCal.h.

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

double MucEntityCal::m_Rin [protected]

Definition at line 66 of file MucEntityCal.h.

Referenced by GetRin(), MucBoxCal::SetRc(), MucGapCal::SetRin(), SetRin(), MucBoxCal::SetRin(), and MucBoxCal::SetWu().

double MucEntityCal::m_Rout [protected]

Definition at line 67 of file MucEntityCal.h.

Referenced by GetRout(), MucBoxCal::SetRc(), MucGapCal::SetRout(), SetRout(), MucBoxCal::SetRout(), and MucBoxCal::SetWd().

int MucEntityCal::m_Segment [protected]

Definition at line 59 of file MucEntityCal.h.

Referenced by MucGapCal::GetBox(), GetSegment(), MucEntityCal(), operator=(), MucBoxCal::SetArea(), MucStripCal::SetCenterLine(), MucStripCal::SetHead(), MucStripCal::SetL(), MucStripCal::SetPhi(), MucStripCal::SetTail(), MucGapCal::SetTheta(), MucBoxCal::SetTheta(), and MucStripCal::SetW().

double MucEntityCal::m_Theta [protected]

Definition at line 63 of file MucEntityCal.h.

Referenced by GetTheta(), MucEntityCal(), operator=(), MucGapCal::SetTheta(), SetTheta(), and MucBoxCal::SetTheta().

double MucEntityCal::m_Thin [protected]

Definition at line 69 of file MucEntityCal.h.

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

double MucEntityCal::m_W [protected]

Definition at line 70 of file MucEntityCal.h.

Referenced by GetW(), MucEntityCal(), operator=(), MucStripCal::SetArea(), MucBoxCal::SetArea(), MucStripCal::SetCenterLine(), MucStripCal::SetPadNumber(), MucStripCal::SetTail(), MucStripCal::SetW(), MucGapCal::SetW(), SetW(), MucBoxCal::SetW(), MucStripCal::SetWd(), MucGapCal::SetWd(), MucBoxCal::SetWd(), MucStripCal::SetWu(), MucGapCal::SetWu(), and MucBoxCal::SetWu().

double MucEntityCal::m_Wd [protected]

Definition at line 74 of file MucEntityCal.h.

Referenced by GetWd(), MucEntityCal(), operator=(), MucBoxCal::SetArea(), MucStripCal::SetWd(), MucGapCal::SetWd(), SetWd(), and MucBoxCal::SetWd().

double MucEntityCal::m_Wu [protected]

Definition at line 73 of file MucEntityCal.h.

Referenced by GetWu(), MucEntityCal(), operator=(), MucBoxCal::SetArea(), MucStripCal::SetWu(), MucGapCal::SetWu(), SetWu(), and MucBoxCal::SetWu().


Generated on Tue Nov 29 23:20:27 2016 for BOSS_7.0.2 by  doxygen 1.4.7