BOSS 7.0.1
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 *)
 
 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

Constructor & Destructor Documentation

◆ MdcGeoWire() [1/4]

MdcGeoWire::MdcGeoWire ( )
inline

Definition at line 20 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/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 }

◆ MdcGeoWire() [2/4]

MdcGeoWire::MdcGeoWire ( const MdcGeoWire e)
inline

Definition at line 39 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/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 };

◆ ~MdcGeoWire() [1/2]

MdcGeoWire::~MdcGeoWire ( )
inline

Definition at line 70 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

70{ };

◆ MdcGeoWire() [3/4]

MdcGeoWire::MdcGeoWire ( )
inline

Definition at line 20 of file Mdc/MdcGeomSvc/MdcGeomSvc-00-01-37/MdcGeomSvc/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 }

◆ MdcGeoWire() [4/4]

MdcGeoWire::MdcGeoWire ( const MdcGeoWire e)
inline

Definition at line 39 of file Mdc/MdcGeomSvc/MdcGeomSvc-00-01-37/MdcGeomSvc/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 };

◆ ~MdcGeoWire() [2/2]

MdcGeoWire::~MdcGeoWire ( )
inline

Member Function Documentation

◆ Backward() [1/4]

HepPoint3D MdcGeoWire::Backward ( HepPoint3D  i)
inline

Definition at line 144 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

144{return fBackward=i;}

◆ Backward() [2/4]

HepPoint3D MdcGeoWire::Backward ( HepPoint3D  )

◆ Backward() [3/4]

◆ Backward() [4/4]

HepPoint3D MdcGeoWire::Backward ( void  ) const

◆ BWirePos() [1/4]

HepPoint3D MdcGeoWire::BWirePos ( HepPoint3D  i)
inline

Definition at line 146 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

146{return fBwirepos=i;}

◆ BWirePos() [2/4]

HepPoint3D MdcGeoWire::BWirePos ( HepPoint3D  )

◆ BWirePos() [3/4]

HepPoint3D MdcGeoWire::BWirePos ( void  ) const
inline

Definition at line 130 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

130{ return fBwirepos;}

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

◆ BWirePos() [4/4]

HepPoint3D MdcGeoWire::BWirePos ( void  ) const

◆ Cell() [1/4]

int MdcGeoWire::Cell ( int  i)
inline

Definition at line 153 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

153{return fCell=i;}

◆ Cell() [2/4]

int MdcGeoWire::Cell ( int  )

◆ Cell() [3/4]

int MdcGeoWire::Cell ( void  ) const
inline

◆ Cell() [4/4]

int MdcGeoWire::Cell ( void  ) const

◆ Forward() [1/4]

HepPoint3D MdcGeoWire::Forward ( HepPoint3D  i)
inline

Definition at line 145 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

145{return fForward=i;}

◆ Forward() [2/4]

HepPoint3D MdcGeoWire::Forward ( HepPoint3D  )

◆ Forward() [3/4]

◆ Forward() [4/4]

HepPoint3D MdcGeoWire::Forward ( void  ) const

◆ FWirePos() [1/4]

HepPoint3D MdcGeoWire::FWirePos ( HepPoint3D  i)
inline

Definition at line 147 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

147{return fFwirepos=i;}

◆ FWirePos() [2/4]

HepPoint3D MdcGeoWire::FWirePos ( HepPoint3D  )

◆ FWirePos() [3/4]

HepPoint3D MdcGeoWire::FWirePos ( void  ) const
inline

Definition at line 131 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

131{ return fFwirepos;}

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

◆ FWirePos() [4/4]

HepPoint3D MdcGeoWire::FWirePos ( void  ) const

◆ Id() [1/4]

int MdcGeoWire::Id ( int  i)
inline

Definition at line 143 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

143{return fId=i;}

◆ Id() [2/4]

int MdcGeoWire::Id ( int  )

◆ Id() [3/4]

◆ Id() [4/4]

int MdcGeoWire::Id ( void  ) const

◆ Layer() [1/4]

int MdcGeoWire::Layer ( int  i)
inline

Definition at line 154 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

154{return fLayer=i;}

◆ Layer() [2/4]

int MdcGeoWire::Layer ( int  )

◆ Layer() [3/4]

int MdcGeoWire::Layer ( void  ) const
inline

◆ Layer() [4/4]

int MdcGeoWire::Layer ( void  ) const

◆ Lyr() [1/4]

MdcGeoLayer * MdcGeoWire::Lyr ( MdcGeoLayer i)
inline

Definition at line 156 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

156{return fLyr = i;}

◆ Lyr() [2/4]

MdcGeoLayer * MdcGeoWire::Lyr ( MdcGeoLayer )

◆ Lyr() [3/4]

◆ Lyr() [4/4]

MdcGeoLayer * MdcGeoWire::Lyr ( void  ) const

◆ nomBackward() [1/4]

HepPoint3D MdcGeoWire::nomBackward ( HepPoint3D  i)
inline

Definition at line 148 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

148{return fnomBackward=i;}

◆ nomBackward() [2/4]

HepPoint3D MdcGeoWire::nomBackward ( HepPoint3D  )

◆ nomBackward() [3/4]

HepPoint3D MdcGeoWire::nomBackward ( void  ) const
inline

Definition at line 133 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

133{ return fnomBackward;}

◆ nomBackward() [4/4]

HepPoint3D MdcGeoWire::nomBackward ( void  ) const

◆ nomForward() [1/4]

HepPoint3D MdcGeoWire::nomForward ( HepPoint3D  i)
inline

Definition at line 149 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

149{return fnomForward=i;}

◆ nomForward() [2/4]

HepPoint3D MdcGeoWire::nomForward ( HepPoint3D  )

◆ nomForward() [3/4]

HepPoint3D MdcGeoWire::nomForward ( void  ) const
inline

Definition at line 134 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

134{ return fnomForward;}

◆ nomForward() [4/4]

HepPoint3D MdcGeoWire::nomForward ( void  ) const

◆ nomSlant() [1/4]

double MdcGeoWire::nomSlant ( double  i)
inline

Definition at line 151 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

151{return fnomSlant=i;}

◆ nomSlant() [2/4]

double MdcGeoWire::nomSlant ( double  )

◆ nomSlant() [3/4]

double MdcGeoWire::nomSlant ( void  ) const
inline

Definition at line 135 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

135{ return fnomSlant; }

◆ nomSlant() [4/4]

double MdcGeoWire::nomSlant ( void  ) const

◆ operator=() [1/2]

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

Definition at line 52 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/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 }

◆ operator=() [2/2]

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

Definition at line 52 of file Mdc/MdcGeomSvc/MdcGeomSvc-00-01-37/MdcGeomSvc/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() [1/2]

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

◆ Sag() [2/2]

const double MdcGeoWire::Sag ( void  ) const

◆ Sagz() [1/2]

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

Definition at line 28 of file MdcGeoWire.cxx.

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

◆ Sagz() [2/2]

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

◆ Slant() [1/4]

double MdcGeoWire::Slant ( double  i)
inline

Definition at line 150 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

150{return fnomSlant=i;}

◆ Slant() [2/4]

double MdcGeoWire::Slant ( double  )

◆ Slant() [3/4]

double MdcGeoWire::Slant ( void  ) const
inline

Definition at line 132 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

132{ return fSlant; }

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

◆ Slant() [4/4]

double MdcGeoWire::Slant ( void  ) const

◆ Stat() [1/4]

int MdcGeoWire::Stat ( int  i)
inline

Definition at line 155 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

155{return fStat=i;}

◆ Stat() [2/4]

int MdcGeoWire::Stat ( int  )

◆ Stat() [3/4]

int MdcGeoWire::Stat ( void  ) const
inline

Definition at line 139 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

139{ return fStat; }

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

◆ Stat() [4/4]

int MdcGeoWire::Stat ( void  ) const

◆ Tension() [1/4]

double MdcGeoWire::Tension ( double  i)
inline

Definition at line 152 of file InstallArea/include/MdcGeomSvc/MdcGeomSvc/MdcGeoWire.h.

152{return fTension=i;}

◆ Tension() [2/4]

double MdcGeoWire::Tension ( double  )

◆ Tension() [3/4]

double MdcGeoWire::Tension ( void  ) const
inline

◆ Tension() [4/4]

double MdcGeoWire::Tension ( void  ) const

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