BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcGeoWire.cxx
Go to the documentation of this file.
1
2
3
6
7
8// according to the mathematicial formula:
9// Sg = L^2*g*rhol/8*T
10// rhol is the linear density
11// rhol is fixed at 9.47E-3 g/m
12const double MdcGeoWire::Sag(void) const{
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}
23
24
25// calculate the sag at length z
26// attention, the z is not the z-coordinate of the point
27// but the length from this point to the backward point
28const double MdcGeoWire::Sagz(const double z) const{
29 return z*0.; //FIXME
30}
31
32
33
34
const double Sag(void) const
Definition: MdcGeoWire.cxx:12
const double Sagz(const double z) const
Definition: MdcGeoWire.cxx:28
static bool getSagFlag(void)
Definition: MdcGeomSvc.cxx:821