BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcGeoWire Class Reference

#include <MdcGeoWire.h>

Public Member Functions

 MdcGeoWire ()
 
 MdcGeoWire (const MdcGeoWire &e)
 
MdcGeoWireoperator= (const MdcGeoWire &e)
 
 ~MdcGeoWire ()
 
int Id (void) const
 
HepPoint3D Backward (void) const
 
HepPoint3D Forward (void) const
 
HepPoint3D BWirePos (void) const
 
HepPoint3D FWirePos (void) const
 
double Slant (void) const
 
HepPoint3D nomBackward (void) const
 
HepPoint3D nomForward (void) const
 
double nomSlant (void) const
 
double Tension (void) const
 
const double Sag (void) const
 
const double Sagz (const double z) const
 
int Cell (void) const
 
int Layer (void) const
 
int Stat (void) const
 
MdcGeoLayerLyr (void) const
 
int Id (int)
 
HepPoint3D Backward (HepPoint3D)
 
HepPoint3D Forward (HepPoint3D)
 
HepPoint3D BWirePos (HepPoint3D)
 
HepPoint3D FWirePos (HepPoint3D)
 
double Slant (double)
 
HepPoint3D nomBackward (HepPoint3D)
 
HepPoint3D nomForward (HepPoint3D)
 
double nomSlant (double)
 
double Tension (double)
 
int Cell (int)
 
int Layer (int)
 
int Stat (int)
 
MdcGeoLayerLyr (MdcGeoLayer *)
 

Detailed Description

Definition at line 16 of file MdcGeoWire.h.

Constructor & Destructor Documentation

◆ MdcGeoWire() [1/2]

MdcGeoWire::MdcGeoWire ( )
inline

Definition at line 20 of file MdcGeoWire.h.

21 : fId(0),
22 fSlant(0),
23 fnomSlant(0),
24 fCell(0),
25 fLayer(0),
26 fStat(0)
27 {
28 HepPoint3D O(0,0,0);
29 fBackward=O;
30 fForward=O;
31 fBwirepos=O;
32 fFwirepos=O;
33 fnomBackward=O;
34 fnomForward=O;
35 fLyr=NULL;
36 }
#define NULL

◆ MdcGeoWire() [2/2]

MdcGeoWire::MdcGeoWire ( const MdcGeoWire e)
inline

Definition at line 39 of file MdcGeoWire.h.

39 {
40 fId=e.Id();
41 fBackward=e.Backward();
42 fForward=e.Forward();
43 fBwirepos=e.BWirePos();
44 fFwirepos=e.FWirePos();
45 fSlant=e.Slant();
46 fCell=e.Cell();
47 fLayer=e.Layer();
48 fStat=e.Stat();
49 fLyr=e.Lyr();
50 };
HepPoint3D FWirePos(void) const
Definition: MdcGeoWire.h:131
double Slant(void) const
Definition: MdcGeoWire.h:132
int Cell(void) const
Definition: MdcGeoWire.h:137
HepPoint3D BWirePos(void) const
Definition: MdcGeoWire.h:130
int Stat(void) const
Definition: MdcGeoWire.h:139
MdcGeoLayer * Lyr(void) const
Definition: MdcGeoWire.h:140
HepPoint3D Forward(void) const
Definition: MdcGeoWire.h:129
int Id(void) const
Definition: MdcGeoWire.h:127
int Layer(void) const
Definition: MdcGeoWire.h:138
HepPoint3D Backward(void) const
Definition: MdcGeoWire.h:128

◆ ~MdcGeoWire()

MdcGeoWire::~MdcGeoWire ( )
inline

Definition at line 70 of file MdcGeoWire.h.

70{ };

Member Function Documentation

◆ Backward() [1/2]

HepPoint3D MdcGeoWire::Backward ( HepPoint3D  i)
inline

Definition at line 144 of file MdcGeoWire.h.

144{return fBackward=i;}

◆ Backward() [2/2]

◆ BWirePos() [1/2]

HepPoint3D MdcGeoWire::BWirePos ( HepPoint3D  i)
inline

Definition at line 146 of file MdcGeoWire.h.

146{return fBwirepos=i;}

◆ BWirePos() [2/2]

HepPoint3D MdcGeoWire::BWirePos ( void  ) const
inline

Definition at line 130 of file MdcGeoWire.h.

130{ return fBwirepos;}

Referenced by MdcGeoWire(), operator=(), and DedxCorrecSvc::PathL().

◆ Cell() [1/2]

int MdcGeoWire::Cell ( int  i)
inline

Definition at line 153 of file MdcGeoWire.h.

153{return fCell=i;}

◆ Cell() [2/2]

int MdcGeoWire::Cell ( void  ) const
inline

Definition at line 137 of file MdcGeoWire.h.

137{ return fCell; }

Referenced by MdcDetector::MdcDetector(), MdcGeoWire(), and operator=().

◆ Forward() [1/2]

HepPoint3D MdcGeoWire::Forward ( HepPoint3D  i)
inline

Definition at line 145 of file MdcGeoWire.h.

145{return fForward=i;}

◆ Forward() [2/2]

◆ FWirePos() [1/2]

HepPoint3D MdcGeoWire::FWirePos ( HepPoint3D  i)
inline

Definition at line 147 of file MdcGeoWire.h.

147{return fFwirepos=i;}

◆ FWirePos() [2/2]

HepPoint3D MdcGeoWire::FWirePos ( void  ) const
inline

Definition at line 131 of file MdcGeoWire.h.

131{ return fFwirepos;}

Referenced by MdcGeoWire(), operator=(), and DedxCorrecSvc::PathL().

◆ Id() [1/2]

int MdcGeoWire::Id ( int  i)
inline

Definition at line 143 of file MdcGeoWire.h.

143{return fId=i;}

◆ Id() [2/2]

◆ Layer() [1/2]

int MdcGeoWire::Layer ( int  i)
inline

Definition at line 154 of file MdcGeoWire.h.

154{return fLayer=i;}

◆ Layer() [2/2]

int MdcGeoWire::Layer ( void  ) const
inline

Definition at line 138 of file MdcGeoWire.h.

138{ return fLayer; }

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

◆ Lyr() [1/2]

MdcGeoLayer * MdcGeoWire::Lyr ( MdcGeoLayer i)
inline

Definition at line 156 of file MdcGeoWire.h.

156{return fLyr = i;}

◆ Lyr() [2/2]

◆ nomBackward() [1/2]

HepPoint3D MdcGeoWire::nomBackward ( HepPoint3D  i)
inline

Definition at line 148 of file MdcGeoWire.h.

148{return fnomBackward=i;}

◆ nomBackward() [2/2]

HepPoint3D MdcGeoWire::nomBackward ( void  ) const
inline

Definition at line 133 of file MdcGeoWire.h.

133{ return fnomBackward;}

◆ nomForward() [1/2]

HepPoint3D MdcGeoWire::nomForward ( HepPoint3D  i)
inline

Definition at line 149 of file MdcGeoWire.h.

149{return fnomForward=i;}

◆ nomForward() [2/2]

HepPoint3D MdcGeoWire::nomForward ( void  ) const
inline

Definition at line 134 of file MdcGeoWire.h.

134{ return fnomForward;}

◆ nomSlant() [1/2]

double MdcGeoWire::nomSlant ( double  i)
inline

Definition at line 151 of file MdcGeoWire.h.

151{return fnomSlant=i;}

◆ nomSlant() [2/2]

double MdcGeoWire::nomSlant ( void  ) const
inline

Definition at line 135 of file MdcGeoWire.h.

135{ return fnomSlant; }

◆ operator=()

MdcGeoWire & MdcGeoWire::operator= ( const MdcGeoWire e)
inline

Definition at line 52 of file MdcGeoWire.h.

52 {
53 if(this!=&e)
54 {
55 fId=e.Id();
56 fBackward=e.Backward();
57 fForward=e.Forward();
58 fBwirepos=e.BWirePos();
59 fFwirepos=e.FWirePos();
60 fSlant=e.Slant();
61 fCell=e.Cell();
62 fLayer=e.Layer();
63 fStat=e.Stat();
64 fLyr=e.Lyr();
65 }
66 return *this;
67 }

◆ Sag()

const double MdcGeoWire::Sag ( void  ) const

Definition at line 12 of file MdcGeoWire.cxx.

12 {
13
15 // unit of wire length is mm
16 const double L = (fForward - fBackward).mag();
17 // sag unit is mm
18 return (L*L*1.184E-6/fTension);
19 }
20 // do not consider wire sagita
21 else return 0.;
22}
static bool getSagFlag(void)
Definition: MdcGeomSvc.cxx:821

Referenced by MdcUtilitySvc::docaPatPar(), and MdcDetector::MdcDetector().

◆ Sagz()

const double MdcGeoWire::Sagz ( const double  z) const

Definition at line 28 of file MdcGeoWire.cxx.

28 {
29 return z*0.; //FIXME
30}

◆ Slant() [1/2]

double MdcGeoWire::Slant ( double  i)
inline

Definition at line 150 of file MdcGeoWire.h.

150{return fnomSlant=i;}

◆ Slant() [2/2]

double MdcGeoWire::Slant ( void  ) const
inline

Definition at line 132 of file MdcGeoWire.h.

132{ return fSlant; }

Referenced by EsTimeAlg::execute(), MdcGeoWire(), and operator=().

◆ Stat() [1/2]

int MdcGeoWire::Stat ( int  i)
inline

Definition at line 155 of file MdcGeoWire.h.

155{return fStat=i;}

◆ Stat() [2/2]

int MdcGeoWire::Stat ( void  ) const
inline

Definition at line 139 of file MdcGeoWire.h.

139{ return fStat; }

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

◆ Tension() [1/2]

double MdcGeoWire::Tension ( double  i)
inline

Definition at line 152 of file MdcGeoWire.h.

152{return fTension=i;}

◆ Tension() [2/2]

double MdcGeoWire::Tension ( void  ) const
inline

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