BOSS 8.0.0
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 *)
 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/6]

MdcGeoWire::MdcGeoWire ( )
inline

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

19 : fId( 0 ), fSlant( 0 ), fnomSlant( 0 ), fCell( 0 ), fLayer( 0 ), fStat( 0 ) {
20 HepPoint3D O( 0, 0, 0 );
21 fBackward = O;
22 fForward = O;
23 fBwirepos = O;
24 fFwirepos = O;
25 fnomBackward = O;
26 fnomForward = O;
27 fLyr = NULL;
28 }
HepGeom::Point3D< double > HepPoint3D

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

◆ MdcGeoWire() [2/6]

MdcGeoWire::MdcGeoWire ( const MdcGeoWire & e)
inline

Definition at line 31 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

◆ ~MdcGeoWire() [1/3]

MdcGeoWire::~MdcGeoWire ( )
inline

◆ MdcGeoWire() [3/6]

MdcGeoWire::MdcGeoWire ( )
inline

Definition at line 19 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeomSvc/MdcGeoWire.h.

19 : fId( 0 ), fSlant( 0 ), fnomSlant( 0 ), fCell( 0 ), fLayer( 0 ), fStat( 0 ) {
20 HepPoint3D O( 0, 0, 0 );
21 fBackward = O;
22 fForward = O;
23 fBwirepos = O;
24 fFwirepos = O;
25 fnomBackward = O;
26 fnomForward = O;
27 fLyr = NULL;
28 }

◆ MdcGeoWire() [4/6]

MdcGeoWire::MdcGeoWire ( const MdcGeoWire & e)
inline

Definition at line 31 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeomSvc/MdcGeoWire.h.

31 {
32 fId = e.Id();
33 fBackward = e.Backward();
34 fForward = e.Forward();
35 fBwirepos = e.BWirePos();
36 fFwirepos = e.FWirePos();
37 fSlant = e.Slant();
38 fCell = e.Cell();
39 fLayer = e.Layer();
40 fStat = e.Stat();
41 fLyr = e.Lyr();
42 };

◆ ~MdcGeoWire() [2/3]

MdcGeoWire::~MdcGeoWire ( )
inline

◆ MdcGeoWire() [5/6]

MdcGeoWire::MdcGeoWire ( )
inline

Definition at line 19 of file Mdc/MdcGeomSvc/include/MdcGeomSvc/MdcGeoWire.h.

19 : fId( 0 ), fSlant( 0 ), fnomSlant( 0 ), fCell( 0 ), fLayer( 0 ), fStat( 0 ) {
20 HepPoint3D O( 0, 0, 0 );
21 fBackward = O;
22 fForward = O;
23 fBwirepos = O;
24 fFwirepos = O;
25 fnomBackward = O;
26 fnomForward = O;
27 fLyr = NULL;
28 }

◆ MdcGeoWire() [6/6]

MdcGeoWire::MdcGeoWire ( const MdcGeoWire & e)
inline

Definition at line 31 of file Mdc/MdcGeomSvc/include/MdcGeomSvc/MdcGeoWire.h.

31 {
32 fId = e.Id();
33 fBackward = e.Backward();
34 fForward = e.Forward();
35 fBwirepos = e.BWirePos();
36 fFwirepos = e.FWirePos();
37 fSlant = e.Slant();
38 fCell = e.Cell();
39 fLayer = e.Layer();
40 fStat = e.Stat();
41 fLyr = e.Lyr();
42 };

◆ ~MdcGeoWire() [3/3]

MdcGeoWire::~MdcGeoWire ( )
inline

Definition at line 62 of file Mdc/MdcGeomSvc/include/MdcGeomSvc/MdcGeoWire.h.

62{};

Member Function Documentation

◆ Backward() [1/6]

HepPoint3D MdcGeoWire::Backward ( HepPoint3D i)
inline

Definition at line 136 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

136{ return fBackward = i; }

◆ Backward() [2/6]

HepPoint3D MdcGeoWire::Backward ( HepPoint3D )

◆ Backward() [3/6]

HepPoint3D MdcGeoWire::Backward ( HepPoint3D )

◆ Backward() [4/6]

◆ Backward() [5/6]

HepPoint3D MdcGeoWire::Backward ( void ) const

◆ Backward() [6/6]

HepPoint3D MdcGeoWire::Backward ( void ) const

◆ BWirePos() [1/6]

HepPoint3D MdcGeoWire::BWirePos ( HepPoint3D i)
inline

Definition at line 138 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

138{ return fBwirepos = i; }

◆ BWirePos() [2/6]

HepPoint3D MdcGeoWire::BWirePos ( HepPoint3D )

◆ BWirePos() [3/6]

HepPoint3D MdcGeoWire::BWirePos ( HepPoint3D )

◆ BWirePos() [4/6]

HepPoint3D MdcGeoWire::BWirePos ( void ) const
inline

Definition at line 122 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

122{ return fBwirepos; }

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

◆ BWirePos() [5/6]

HepPoint3D MdcGeoWire::BWirePos ( void ) const

◆ BWirePos() [6/6]

HepPoint3D MdcGeoWire::BWirePos ( void ) const

◆ Cell() [1/6]

int MdcGeoWire::Cell ( int i)
inline

Definition at line 145 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

145{ return fCell = i; }

◆ Cell() [2/6]

int MdcGeoWire::Cell ( int )

◆ Cell() [3/6]

int MdcGeoWire::Cell ( int )

◆ Cell() [4/6]

int MdcGeoWire::Cell ( void ) const
inline

◆ Cell() [5/6]

int MdcGeoWire::Cell ( void ) const

◆ Cell() [6/6]

int MdcGeoWire::Cell ( void ) const

◆ Forward() [1/6]

HepPoint3D MdcGeoWire::Forward ( HepPoint3D i)
inline

Definition at line 137 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

137{ return fForward = i; }

◆ Forward() [2/6]

HepPoint3D MdcGeoWire::Forward ( HepPoint3D )

◆ Forward() [3/6]

HepPoint3D MdcGeoWire::Forward ( HepPoint3D )

◆ Forward() [4/6]

◆ Forward() [5/6]

HepPoint3D MdcGeoWire::Forward ( void ) const

◆ Forward() [6/6]

HepPoint3D MdcGeoWire::Forward ( void ) const

◆ FWirePos() [1/6]

HepPoint3D MdcGeoWire::FWirePos ( HepPoint3D i)
inline

Definition at line 139 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

139{ return fFwirepos = i; }

◆ FWirePos() [2/6]

HepPoint3D MdcGeoWire::FWirePos ( HepPoint3D )

◆ FWirePos() [3/6]

HepPoint3D MdcGeoWire::FWirePos ( HepPoint3D )

◆ FWirePos() [4/6]

HepPoint3D MdcGeoWire::FWirePos ( void ) const
inline

Definition at line 123 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

123{ return fFwirepos; }

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

◆ FWirePos() [5/6]

HepPoint3D MdcGeoWire::FWirePos ( void ) const

◆ FWirePos() [6/6]

HepPoint3D MdcGeoWire::FWirePos ( void ) const

◆ Id() [1/6]

int MdcGeoWire::Id ( int i)
inline

Definition at line 135 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

135{ return fId = i; }

◆ Id() [2/6]

int MdcGeoWire::Id ( int )

◆ Id() [3/6]

int MdcGeoWire::Id ( int )

◆ Id() [4/6]

◆ Id() [5/6]

int MdcGeoWire::Id ( void ) const

◆ Id() [6/6]

int MdcGeoWire::Id ( void ) const

◆ Layer() [1/6]

int MdcGeoWire::Layer ( int i)
inline

Definition at line 146 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

146{ return fLayer = i; }

◆ Layer() [2/6]

int MdcGeoWire::Layer ( int )

◆ Layer() [3/6]

int MdcGeoWire::Layer ( int )

◆ Layer() [4/6]

int MdcGeoWire::Layer ( void ) const
inline

Definition at line 130 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

130{ return fLayer; }

Referenced by MdcGeoWire(), operator=(), and WrMdcCalib::updateConst().

◆ Layer() [5/6]

int MdcGeoWire::Layer ( void ) const

◆ Layer() [6/6]

int MdcGeoWire::Layer ( void ) const

◆ Lyr() [1/6]

MdcGeoLayer * MdcGeoWire::Lyr ( MdcGeoLayer * i)
inline

Definition at line 148 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

148{ return fLyr = i; }

◆ Lyr() [2/6]

MdcGeoLayer * MdcGeoWire::Lyr ( MdcGeoLayer * )

◆ Lyr() [3/6]

MdcGeoLayer * MdcGeoWire::Lyr ( MdcGeoLayer * )

◆ Lyr() [4/6]

◆ Lyr() [5/6]

MdcGeoLayer * MdcGeoWire::Lyr ( void ) const

◆ Lyr() [6/6]

MdcGeoLayer * MdcGeoWire::Lyr ( void ) const

◆ nomBackward() [1/6]

HepPoint3D MdcGeoWire::nomBackward ( HepPoint3D i)
inline

Definition at line 140 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

140{ return fnomBackward = i; }

◆ nomBackward() [2/6]

HepPoint3D MdcGeoWire::nomBackward ( HepPoint3D )

◆ nomBackward() [3/6]

HepPoint3D MdcGeoWire::nomBackward ( HepPoint3D )

◆ nomBackward() [4/6]

HepPoint3D MdcGeoWire::nomBackward ( void ) const
inline

Definition at line 125 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

125{ return fnomBackward; }

◆ nomBackward() [5/6]

HepPoint3D MdcGeoWire::nomBackward ( void ) const

◆ nomBackward() [6/6]

HepPoint3D MdcGeoWire::nomBackward ( void ) const

◆ nomForward() [1/6]

HepPoint3D MdcGeoWire::nomForward ( HepPoint3D i)
inline

Definition at line 141 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

141{ return fnomForward = i; }

◆ nomForward() [2/6]

HepPoint3D MdcGeoWire::nomForward ( HepPoint3D )

◆ nomForward() [3/6]

HepPoint3D MdcGeoWire::nomForward ( HepPoint3D )

◆ nomForward() [4/6]

HepPoint3D MdcGeoWire::nomForward ( void ) const
inline

Definition at line 126 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

126{ return fnomForward; }

◆ nomForward() [5/6]

HepPoint3D MdcGeoWire::nomForward ( void ) const

◆ nomForward() [6/6]

HepPoint3D MdcGeoWire::nomForward ( void ) const

◆ nomSlant() [1/6]

double MdcGeoWire::nomSlant ( double i)
inline

Definition at line 143 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

143{ return fnomSlant = i; }

◆ nomSlant() [2/6]

double MdcGeoWire::nomSlant ( double )

◆ nomSlant() [3/6]

double MdcGeoWire::nomSlant ( double )

◆ nomSlant() [4/6]

double MdcGeoWire::nomSlant ( void ) const
inline

Definition at line 127 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

127{ return fnomSlant; }

◆ nomSlant() [5/6]

double MdcGeoWire::nomSlant ( void ) const

◆ nomSlant() [6/6]

double MdcGeoWire::nomSlant ( void ) const

◆ operator=() [1/3]

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

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

44 {
45 if ( this != &e )
46 {
47 fId = e.Id();
48 fBackward = e.Backward();
49 fForward = e.Forward();
50 fBwirepos = e.BWirePos();
51 fFwirepos = e.FWirePos();
52 fSlant = e.Slant();
53 fCell = e.Cell();
54 fLayer = e.Layer();
55 fStat = e.Stat();
56 fLyr = e.Lyr();
57 }
58 return *this;
59 }

◆ operator=() [2/3]

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

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeomSvc/MdcGeoWire.h.

44 {
45 if ( this != &e )
46 {
47 fId = e.Id();
48 fBackward = e.Backward();
49 fForward = e.Forward();
50 fBwirepos = e.BWirePos();
51 fFwirepos = e.FWirePos();
52 fSlant = e.Slant();
53 fCell = e.Cell();
54 fLayer = e.Layer();
55 fStat = e.Stat();
56 fLyr = e.Lyr();
57 }
58 return *this;
59 }

◆ operator=() [3/3]

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

Definition at line 44 of file Mdc/MdcGeomSvc/include/MdcGeomSvc/MdcGeoWire.h.

44 {
45 if ( this != &e )
46 {
47 fId = e.Id();
48 fBackward = e.Backward();
49 fForward = e.Forward();
50 fBwirepos = e.BWirePos();
51 fFwirepos = e.FWirePos();
52 fSlant = e.Slant();
53 fCell = e.Cell();
54 fLayer = e.Layer();
55 fStat = e.Stat();
56 fLyr = e.Lyr();
57 }
58 return *this;
59 }

◆ Sag() [1/3]

const double MdcGeoWire::Sag ( void ) const

Definition at line 12 of file MdcGeoWire.cxx.

12 {
13 SmartIF<IMdcGeomSvc> mdcGeomSvc = Gaudi::svcLocator()->service<IMdcGeomSvc>( "MdcGeomSvc" );
14
15 if ( mdcGeomSvc->getSagFlag() )
16 {
17 // unit of wire length is mm
18 const double L = ( fForward - fBackward ).mag();
19 // sag unit is mm
20 return ( L * L * 1.184E-6 / fTension );
21 }
22 // do not consider wire sagita
23 else return 0.;
24}

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

◆ Sag() [2/3]

const double MdcGeoWire::Sag ( void ) const

◆ Sag() [3/3]

const double MdcGeoWire::Sag ( void ) const

◆ Sagz() [1/3]

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

Definition at line 29 of file MdcGeoWire.cxx.

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

◆ Sagz() [2/3]

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

◆ Sagz() [3/3]

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

◆ Slant() [1/6]

double MdcGeoWire::Slant ( double i)
inline

Definition at line 142 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

142{ return fnomSlant = i; }

◆ Slant() [2/6]

double MdcGeoWire::Slant ( double )

◆ Slant() [3/6]

double MdcGeoWire::Slant ( double )

◆ Slant() [4/6]

double MdcGeoWire::Slant ( void ) const
inline

Definition at line 124 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

124{ return fSlant; }

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

◆ Slant() [5/6]

double MdcGeoWire::Slant ( void ) const

◆ Slant() [6/6]

double MdcGeoWire::Slant ( void ) const

◆ Stat() [1/6]

int MdcGeoWire::Stat ( int i)
inline

Definition at line 147 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

147{ return fStat = i; }

◆ Stat() [2/6]

int MdcGeoWire::Stat ( int )

◆ Stat() [3/6]

int MdcGeoWire::Stat ( int )

◆ Stat() [4/6]

int MdcGeoWire::Stat ( void ) const
inline

Definition at line 131 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

131{ return fStat; }

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

◆ Stat() [5/6]

int MdcGeoWire::Stat ( void ) const

◆ Stat() [6/6]

int MdcGeoWire::Stat ( void ) const

◆ Tension() [1/6]

double MdcGeoWire::Tension ( double i)
inline

Definition at line 144 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeomSvc/MdcGeoWire.h.

144{ return fTension = i; }

◆ Tension() [2/6]

double MdcGeoWire::Tension ( double )

◆ Tension() [3/6]

double MdcGeoWire::Tension ( double )

◆ Tension() [4/6]

◆ Tension() [5/6]

double MdcGeoWire::Tension ( void ) const

◆ Tension() [6/6]

double MdcGeoWire::Tension ( void ) const

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