CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
bak_MdcGeomSvc-00-01-39/src/MdcGeoWire.cxx
Go to the documentation of this file.
1
2
3
4
#include "MdcGeomSvc/MdcGeoWire.h"
5
#include "MdcGeomSvc/MdcGeomSvc.h"
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
12
const
double
MdcGeoWire::Sag
(
void
)
const
{
13
14
if
(
MdcGeomSvc::getSagFlag
()){
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
28
const
double
MdcGeoWire::Sagz
(
const
double
z)
const
{
29
return
z*0.;
//FIXME
30
}
31
32
33
34
MdcGeoWire::Sag
const double Sag(void) const
Definition
bak_MdcGeomSvc-00-01-39/src/MdcGeoWire.cxx:12
MdcGeoWire::Sagz
const double Sagz(const double z) const
Definition
bak_MdcGeomSvc-00-01-39/src/MdcGeoWire.cxx:28
MdcGeomSvc::getSagFlag
static bool getSagFlag(void)
Definition
bak_MdcGeomSvc-00-01-39/src/MdcGeomSvc.cxx:823
6.6.5.i
Mdc
MdcGeomSvc
bak_MdcGeomSvc-00-01-39
src
MdcGeoWire.cxx
Generated by
1.12.0