BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcxHit Class Reference

#include <MdcxHit.h>

Public Member Functions

 MdcxHit (const MdcDigi *pdcdatum, float c0=0, float cresol=.0180)
 MdcxHit (const MdcHit *pdchhit, float c0=0, float cresol=.0180)
virtual ~MdcxHit ()
const MdcDigigetDigi () const
const MdcHitgetMdcHit () const
int SuperLayer () const
int WireNo () const
int Layer () const
float t () const
float x () const
float y () const
float xpos () const
float ypos () const
float xneg () const
float yneg () const
float wx () const
float wy () const
float wz () const
float pw () const
float phiMid () const
float stereo () const
float v () const
int type () const
void SetConstErr (int i)
float tcor (float zh=0.0, float tof=0.0, float tzero=0.0) const
float d (MdcxHel &hel) const
float d (float zh=0.0, float tof=0.0, float tzero=0.0, int wamb=0, float eang=0.0) const
float e (float dd=0.0) const
float pull (MdcxHel &hel) const
float residual (MdcxHel &hel) const
std::vector< float > derivatives (MdcxHel &hel) const
void print (std::ostream &o, int i=0) const
void printAll (std::ostream &o, int i=0) const
void SetUsedOnHel (int i)
int GetUsedOnHel () const
 MdcxHit (const MdcDigi *pdcdatum, float c0=0, float cresol=.0180)
 MdcxHit (const MdcHit *pdchhit, float c0=0, float cresol=.0180)
virtual ~MdcxHit ()
const MdcDigigetDigi () const
const MdcHitgetMdcHit () const
int SuperLayer () const
int WireNo () const
int Layer () const
float t () const
float x () const
float y () const
float xpos () const
float ypos () const
float xneg () const
float yneg () const
float wx () const
float wy () const
float wz () const
float pw () const
float phiMid () const
float stereo () const
float v () const
int type () const
void SetConstErr (int i)
float tcor (float zh=0.0, float tof=0.0, float tzero=0.0) const
float d (MdcxHel &hel) const
float d (float zh=0.0, float tof=0.0, float tzero=0.0, int wamb=0, float eang=0.0) const
float e (float dd=0.0) const
float pull (MdcxHel &hel) const
float residual (MdcxHel &hel) const
std::vector< float > derivatives (MdcxHel &hel) const
void print (std::ostream &o, int i=0) const
void printAll (std::ostream &o, int i=0) const
void SetUsedOnHel (int i)
int GetUsedOnHel () const
 MdcxHit (const MdcDigi *pdcdatum, float c0=0, float cresol=.0180)
 MdcxHit (const MdcHit *pdchhit, float c0=0, float cresol=.0180)
virtual ~MdcxHit ()
const MdcDigigetDigi () const
const MdcHitgetMdcHit () const
int SuperLayer () const
int WireNo () const
int Layer () const
float t () const
float x () const
float y () const
float xpos () const
float ypos () const
float xneg () const
float yneg () const
float wx () const
float wy () const
float wz () const
float pw () const
float phiMid () const
float stereo () const
float v () const
int type () const
void SetConstErr (int i)
float tcor (float zh=0.0, float tof=0.0, float tzero=0.0) const
float d (MdcxHel &hel) const
float d (float zh=0.0, float tof=0.0, float tzero=0.0, int wamb=0, float eang=0.0) const
float e (float dd=0.0) const
float pull (MdcxHel &hel) const
float residual (MdcxHel &hel) const
std::vector< float > derivatives (MdcxHel &hel) const
void print (std::ostream &o, int i=0) const
void printAll (std::ostream &o, int i=0) const
void SetUsedOnHel (int i)
int GetUsedOnHel () const

Static Public Member Functions

static void setMdcCalibFunSvc (const IMdcCalibFunSvc *calibSvc)
static void setCountPropTime (bool countPropTime)
static void setMdcDetector (const MdcDetector *gm)
static void setMdcCalibFunSvc (const IMdcCalibFunSvc *calibSvc)
static void setCountPropTime (bool countPropTime)
static void setMdcDetector (const MdcDetector *gm)
static void setMdcCalibFunSvc (const IMdcCalibFunSvc *calibSvc)
static void setCountPropTime (bool countPropTime)
static void setMdcDetector (const MdcDetector *gm)

Protected Member Functions

void process ()
void process ()
void process ()

Protected Attributes

unsigned _wirenumber
unsigned _layernumber
unsigned _superlayer
float _t
float _q
unsigned _iTdc
unsigned _iAdc
float _T0Walk
float _x
float _y
float _r
float _s
float _L
float _d
float _v
int _type
float _e
float _xpos
float _ypos
float _xneg
float _yneg
float _p
float _sp
float _cp
double _pw
double _wx
double _wy
double _wz
const MdcHit_mdcHit
const MdcDigi_mdcDigi
int _consterr
int usedonhel
float _c0
float _cresol

Detailed Description

Constructor & Destructor Documentation

◆ MdcxHit() [1/6]

MdcxHit::MdcxHit ( const MdcDigi * pdcdatum,
float c0 = 0,
float cresol = .0180 )

◆ MdcxHit() [2/6]

MdcxHit::MdcxHit ( const MdcHit * pdchhit,
float c0 = 0,
float cresol = .0180 )

Definition at line 53 of file MdcxHit.cxx.

54 : _mdcHit( pdchhit ), _mdcDigi( pdchhit->digi() ), _c0( c0 ), _cresol( cresol ) {
55 process();
56}

◆ ~MdcxHit() [1/3]

virtual MdcxHit::~MdcxHit ( )
inlinevirtual

◆ MdcxHit() [3/6]

MdcxHit::MdcxHit ( const MdcDigi * pdcdatum,
float c0 = 0,
float cresol = .0180 )

◆ MdcxHit() [4/6]

MdcxHit::MdcxHit ( const MdcHit * pdchhit,
float c0 = 0,
float cresol = .0180 )

◆ ~MdcxHit() [2/3]

virtual MdcxHit::~MdcxHit ( )
inlinevirtual

◆ MdcxHit() [5/6]

MdcxHit::MdcxHit ( const MdcDigi * pdcdatum,
float c0 = 0,
float cresol = .0180 )

◆ MdcxHit() [6/6]

MdcxHit::MdcxHit ( const MdcHit * pdchhit,
float c0 = 0,
float cresol = .0180 )

◆ ~MdcxHit() [3/3]

virtual MdcxHit::~MdcxHit ( )
inlinevirtual

Member Function Documentation

◆ d() [1/6]

float MdcxHit::d ( float zh = 0.0,
float tof = 0.0,
float tzero = 0.0,
int wamb = 0,
float eang = 0.0 ) const

Definition at line 129 of file MdcxHit.cxx.

129 {
130
131 // std::cout<<__FILE__<<" "<<__LINE__<<" call entrance "<< entranceAngle<< std::endl;
132 // tof = hel.Doca_Tof();//yzhang delete for csmc temp FIXME
133 float t_corr = tcor( z, tof, tzero );
134 double eAngle = EntranceAngle( entranceAngle );
135
136 // yzhang add for 64-bit
137 if ( fabs( z ) > 150. || fabs( t_corr ) > 1500. || fabs( eAngle ) > 999 ) { return 9999.; }
138 // zhangy
139
140 int lrCalib = 2;
141 if ( wamb == 1 ) lrCalib = 0;
142 else if ( wamb == -1 ) lrCalib = 1;
143
144 double driftD = 0.1 * m_mdcCalibFunSvc->driftTimeToDist( t_corr, _layernumber, _wirenumber,
145 lrCalib, eAngle ); // to
146 // cm
147 // std::cout<<"MdcxHit ("<<_layernumber<<","<<_wirenumber<<" dd "<<driftD<<" dt "<<t_corr<<"
148 // lr "<<lrCalib<<" eAngle
149 // "<<eAngle<<std::endl;
150
151 if ( fabs( driftD ) <= 0.0001 ) driftD = 0.001;
152 return driftD;
153}
float tcor(float zh=0.0, float tof=0.0, float tzero=0.0) const
Definition MdcxHit.cxx:110

◆ d() [2/6]

float MdcxHit::d ( float zh = 0.0,
float tof = 0.0,
float tzero = 0.0,
int wamb = 0,
float eang = 0.0 ) const

◆ d() [3/6]

float MdcxHit::d ( float zh = 0.0,
float tof = 0.0,
float tzero = 0.0,
int wamb = 0,
float eang = 0.0 ) const

◆ d() [4/6]

float MdcxHit::d ( MdcxHel & hel) const

Definition at line 155 of file MdcxHit.cxx.

155 {
156 float doca = hel.Doca( *this ); // changes hel's internal state...
157 return d( hel.Doca_Zh(), hel.Doca_Tof(), hel.T0(), hel.Doca_Wamb(), hel.Doca_Eang() );
158} // endof d
double Doca(double WX, double WY, double WZ, double X, double Y, double Z=0.0)
Definition MdcxHel.cxx:261
float d(MdcxHel &hel) const
Definition MdcxHit.cxx:155

Referenced by d(), derivatives(), process(), pull(), residual(), MdcxFindSegs::trial(), and MdcxFindSegs::trial().

◆ d() [5/6]

float MdcxHit::d ( MdcxHel & hel) const

◆ d() [6/6]

float MdcxHit::d ( MdcxHel & hel) const

◆ derivatives() [1/3]

std::vector< float > MdcxHit::derivatives ( MdcxHel & hel) const

Definition at line 187 of file MdcxHit.cxx.

187 {
188 // compute derivatives for |hel|
189 std::vector<float> deriv = hel.derivatives( *this );
190 float dtemp = d( hel.Doca_Zh(), hel.Doca_Tof(), hel.T0(), hel.Doca_Wamb(), hel.Doca_Eang() );
191 // float dtemp = d(hel);
192 deriv[0] = dtemp - deriv[0];
193 // deriv[0] -= v()*hel.T0();
194 float ewire = e( dtemp );
195 for ( uint32_t i = 0; i < deriv.size(); i++ ) deriv[i] /= ewire;
196 return deriv;
197} // endof derivatives
std::vector< float > derivatives(const MdcxHit &h)
Definition MdcxHel.cxx:368
float e(float dd=0.0) const
Definition MdcxHit.cxx:160

◆ derivatives() [2/3]

std::vector< float > MdcxHit::derivatives ( MdcxHel & hel) const

◆ derivatives() [3/3]

std::vector< float > MdcxHit::derivatives ( MdcxHel & hel) const

◆ e() [1/3]

float MdcxHit::e ( float dd = 0.0) const

Definition at line 160 of file MdcxHit.cxx.

160 {
161 // if (0!=_consterr) return _cresol;//yzhang delete 2009-11-03
162 float errTemp = fabs( getSigma( dd ) );
163 // protect against resolution = 0; set min resol to 1 nm
164 float errMin = 1.0e-7;
165 return errTemp < errMin ? errMin : errTemp;
166}

Referenced by derivatives(), and pull().

◆ e() [2/3]

float MdcxHit::e ( float dd = 0.0) const

◆ e() [3/3]

float MdcxHit::e ( float dd = 0.0) const

◆ getDigi() [1/3]

const MdcDigi * MdcxHit::getDigi ( ) const
inline

Definition at line 63 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

63{ return _mdcDigi; }

◆ getDigi() [2/3]

const MdcDigi * MdcxHit::getDigi ( ) const
inline

Definition at line 63 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

63{ return _mdcDigi; }

◆ getDigi() [3/3]

const MdcDigi * MdcxHit::getDigi ( ) const
inline

◆ getMdcHit() [1/3]

const MdcHit * MdcxHit::getMdcHit ( ) const
inline

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

64{ return _mdcHit; }

◆ getMdcHit() [2/3]

const MdcHit * MdcxHit::getMdcHit ( ) const
inline

Definition at line 64 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

64{ return _mdcHit; }

◆ getMdcHit() [3/3]

const MdcHit * MdcxHit::getMdcHit ( ) const
inline

Definition at line 64 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

64{ return _mdcHit; }

◆ GetUsedOnHel() [1/3]

int MdcxHit::GetUsedOnHel ( ) const
inline

◆ GetUsedOnHel() [2/3]

int MdcxHit::GetUsedOnHel ( ) const
inline

◆ GetUsedOnHel() [3/3]

int MdcxHit::GetUsedOnHel ( ) const
inline

◆ Layer() [1/3]

int MdcxHit::Layer ( ) const
inline

◆ Layer() [2/3]

int MdcxHit::Layer ( ) const
inline

Definition at line 67 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

67{ return _layernumber; } // layer#

◆ Layer() [3/3]

int MdcxHit::Layer ( ) const
inline

Definition at line 67 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

67{ return _layernumber; } // layer#

◆ phiMid() [1/3]

float MdcxHit::phiMid ( ) const
inline

◆ phiMid() [2/3]

float MdcxHit::phiMid ( ) const
inline

Definition at line 79 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

79{ return _pw; } // yzhang add

◆ phiMid() [3/3]

float MdcxHit::phiMid ( ) const
inline

Definition at line 79 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

79{ return _pw; } // yzhang add

◆ print() [1/3]

void MdcxHit::print ( std::ostream & o,
int i = 0 ) const

◆ print() [2/3]

void MdcxHit::print ( std::ostream & o,
int i = 0 ) const

◆ print() [3/3]

void MdcxHit::print ( std::ostream & o,
int i = 0 ) const

◆ printAll() [1/3]

void MdcxHit::printAll ( std::ostream & o,
int i = 0 ) const

◆ printAll() [2/3]

void MdcxHit::printAll ( std::ostream & o,
int i = 0 ) const

◆ printAll() [3/3]

void MdcxHit::printAll ( std::ostream & o,
int i = 0 ) const

◆ process() [1/3]

void MdcxHit::process ( )
protected

Definition at line 66 of file MdcxHit.cxx.

66 {
67 assert( m_gm );
68 assert( m_mdcCalibFunSvc );
69 Identifier _id = ( *_mdcDigi ).identify();
71 _wirenumber = MdcID::wire( _id );
72 _superlayer = ( _layernumber ) / 4;
73 _iTdc = _mdcDigi->getTimeChannel();
74 _iAdc = _mdcDigi->getChargeChannel();
77 _T0Walk = m_mdcCalibFunSvc->getT0( _layernumber, _wirenumber ) +
78 m_mdcCalibFunSvc->getTimeWalk( _layernumber, _iAdc );
79 // pointer to layer
80 const MdcLayer* layerPtr = m_gm->Layer( _layernumber );
81 _L = layerPtr->zLength();
82 _x = layerPtr->xWire( _wirenumber );
83 _y = layerPtr->yWire( _wirenumber );
84 _r = sqrt( _x * _x + _y * _y );
85 _s = layerPtr->stereo();
86 _p = layerPtr->phiOffset() + _wirenumber * layerPtr->dPhi();
87 // double deltaz = m_gm->zOffSet(); //yzhang to BESIII
88 // double deltaz = 0.0;
89 double tst = _s;
90 double pw = atan2( _y, _x );
91 _pw = pw;
92 _wx = -tst * sin( pw );
93 _wy = tst * cos( pw );
94 _wz = ( tst * tst < 1.0 ) ? sqrt( 1.0 - tst * tst ) : 0.0;
95 _sp = sin( _p );
96 _cp = cos( _p );
97 _consterr = 0; // zoujh FIXME
98 _e = _cresol;
99 _d = d();
100 // note _v is a total cludge
101 _v = ( _t - _c0 > 0.0 ) ? _d / ( _t - _c0 ) : 0.0013; // yzhang 2009-11-03
102 _xneg = _x + _d * _sp;
103 _yneg = _y - _d * _cp;
104 _xpos = _x - _d * _sp;
105 _ypos = _y + _d * _cp;
106 usedonhel = 0;
108}
static int layer(const Identifier &id)
Values of different levels (failure returns 0).
Definition MdcID.cxx:47
static int wire(const Identifier &id)
Definition MdcID.cxx:52
double yWire(int cell) const
Definition MdcLayer.cxx:79
double xWire(int cell) const
Definition MdcLayer.cxx:68
static double MdcTime(int timeChannel)
static double MdcCharge(int chargeChannel)

Referenced by MdcxHit(), and MdcxHit().

◆ process() [2/3]

void MdcxHit::process ( )
protected

◆ process() [3/3]

void MdcxHit::process ( )
protected

◆ pull() [1/3]

float MdcxHit::pull ( MdcxHel & hel) const

Definition at line 168 of file MdcxHit.cxx.

168 {
169 // compute pulls for |hel|
170 float doca = hel.Doca( *this );
171 if ( hel.Mode() == 0 ) doca = fabs( doca );
172 return ( d( hel.Doca_Zh(), hel.Doca_Tof(), hel.T0(), hel.Doca_Wamb(), hel.Doca_Eang() ) -
173 doca ) /
174 e( doca );
175 // return residual(hel)/e();
176}

Referenced by MdcxAddHits::GetAssociates().

◆ pull() [2/3]

float MdcxHit::pull ( MdcxHel & hel) const

◆ pull() [3/3]

float MdcxHit::pull ( MdcxHel & hel) const

◆ pw() [1/3]

float MdcxHit::pw ( ) const
inline

Definition at line 78 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

78{ return _pw; }

Referenced by MdcxAddHits::GetAssociates(), and process().

◆ pw() [2/3]

float MdcxHit::pw ( ) const
inline

Definition at line 78 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

78{ return _pw; }

◆ pw() [3/3]

float MdcxHit::pw ( ) const
inline

Definition at line 78 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

78{ return _pw; }

◆ residual() [1/3]

float MdcxHit::residual ( MdcxHel & hel) const

Definition at line 178 of file MdcxHit.cxx.

178 {
179 // compute residuals for |hel|
180 float doca = hel.Doca( _wx, _wy, _wz, _x, _y );
181 if ( hel.Mode() == 0 ) doca = fabs( doca );
182 doca += v() * hel.T0();
183 return d( hel.Doca_Zh(), hel.Doca_Tof(), hel.T0(), hel.Doca_Wamb(), hel.Doca_Eang() ) - doca;
184 // return d(hel) - doca;
185}

◆ residual() [2/3]

float MdcxHit::residual ( MdcxHel & hel) const

◆ residual() [3/3]

float MdcxHit::residual ( MdcxHel & hel) const

◆ SetConstErr() [1/3]

void MdcxHit::SetConstErr ( int i)
inline

◆ SetConstErr() [2/3]

void MdcxHit::SetConstErr ( int i)
inline

◆ SetConstErr() [3/3]

void MdcxHit::SetConstErr ( int i)
inline

◆ setCountPropTime() [1/3]

void MdcxHit::setCountPropTime ( bool countPropTime)
static

Definition at line 62 of file MdcxHit.cxx.

62{ m_countPropTime = countPropTime; }

Referenced by MdcxTrackFinder::initialize().

◆ setCountPropTime() [2/3]

void MdcxHit::setCountPropTime ( bool countPropTime)
static

◆ setCountPropTime() [3/3]

void MdcxHit::setCountPropTime ( bool countPropTime)
static

◆ setMdcCalibFunSvc() [1/3]

void MdcxHit::setMdcCalibFunSvc ( const IMdcCalibFunSvc * calibSvc)
static

Definition at line 58 of file MdcxHit.cxx.

58 {
59 m_mdcCalibFunSvc = calibSvc;
60}

Referenced by MdcxTrackFinder::initialize().

◆ setMdcCalibFunSvc() [2/3]

void MdcxHit::setMdcCalibFunSvc ( const IMdcCalibFunSvc * calibSvc)
static

◆ setMdcCalibFunSvc() [3/3]

void MdcxHit::setMdcCalibFunSvc ( const IMdcCalibFunSvc * calibSvc)
static

◆ setMdcDetector() [1/3]

void MdcxHit::setMdcDetector ( const MdcDetector * gm)
static

Definition at line 64 of file MdcxHit.cxx.

64{ m_gm = gm; }

Referenced by MdcxTrackFinder::beginRun().

◆ setMdcDetector() [2/3]

void MdcxHit::setMdcDetector ( const MdcDetector * gm)
static

◆ setMdcDetector() [3/3]

void MdcxHit::setMdcDetector ( const MdcDetector * gm)
static

◆ SetUsedOnHel() [1/3]

void MdcxHit::SetUsedOnHel ( int i)
inline

◆ SetUsedOnHel() [2/3]

void MdcxHit::SetUsedOnHel ( int i)
inline

◆ SetUsedOnHel() [3/3]

void MdcxHit::SetUsedOnHel ( int i)
inline

◆ stereo() [1/3]

float MdcxHit::stereo ( ) const
inline

Definition at line 80 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

80{ return _s; } // stereo angle of wire

◆ stereo() [2/3]

float MdcxHit::stereo ( ) const
inline

Definition at line 80 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

80{ return _s; } // stereo angle of wire

◆ stereo() [3/3]

float MdcxHit::stereo ( ) const
inline

Definition at line 80 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

80{ return _s; } // stereo angle of wire

◆ SuperLayer() [1/3]

int MdcxHit::SuperLayer ( ) const
inline

Definition at line 65 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

65{ return _superlayer; } // SuperLayer#

◆ SuperLayer() [2/3]

int MdcxHit::SuperLayer ( ) const
inline

Definition at line 65 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

65{ return _superlayer; } // SuperLayer#

◆ SuperLayer() [3/3]

int MdcxHit::SuperLayer ( ) const
inline

Definition at line 65 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

65{ return _superlayer; } // SuperLayer#

◆ t() [1/3]

float MdcxHit::t ( ) const
inline

Definition at line 68 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

68{ return _t; } // drift time

◆ t() [2/3]

float MdcxHit::t ( ) const
inline

Definition at line 68 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

68{ return _t; } // drift time

◆ t() [3/3]

float MdcxHit::t ( ) const
inline

Definition at line 68 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

68{ return _t; } // drift time

◆ tcor() [1/3]

float MdcxHit::tcor ( float zh = 0.0,
float tof = 0.0,
float tzero = 0.0 ) const

Definition at line 110 of file MdcxHit.cxx.

110 {
111 // drift time
112 double tprop = 0.;
113 if ( m_countPropTime ) { tprop = m_mdcCalibFunSvc->getTprop( _layernumber, z * 10 ); }
114 double dt = ( _t - _T0Walk - _c0 - tprop - tof - tzero );
115 /*
116 std::cout<<"("<<_layernumber<<","<<_wirenumber<<") dt "<<dt
117 <<" rt "<<_t
118 <<" t0walk "<< _T0Walk
119 <<" z "<<z
120 <<" _c0 "<<_c0
121 <<" tzero "<<tzero
122 <<" tof "<<tof
123 <<" tprop "<<tprop
124 <<std::endl;
125 */
126 return dt;
127}
TGraph2DErrors * dt
Definition McCor.cxx:41

Referenced by d().

◆ tcor() [2/3]

float MdcxHit::tcor ( float zh = 0.0,
float tof = 0.0,
float tzero = 0.0 ) const

◆ tcor() [3/3]

float MdcxHit::tcor ( float zh = 0.0,
float tof = 0.0,
float tzero = 0.0 ) const

◆ type() [1/3]

int MdcxHit::type ( ) const
inline

Definition at line 82 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

82{ return _type; } // flags |MdcxHit|

◆ type() [2/3]

int MdcxHit::type ( ) const
inline

Definition at line 82 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

82{ return _type; } // flags |MdcxHit|

◆ type() [3/3]

int MdcxHit::type ( ) const
inline

Definition at line 82 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

82{ return _type; } // flags |MdcxHit|

◆ v() [1/3]

float MdcxHit::v ( ) const
inline

Definition at line 81 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

81{ return _v; } // drift velocity

Referenced by MdcxHel::derivatives(), and residual().

◆ v() [2/3]

float MdcxHit::v ( ) const
inline

Definition at line 81 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

81{ return _v; } // drift velocity

◆ v() [3/3]

float MdcxHit::v ( ) const
inline

Definition at line 81 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

81{ return _v; } // drift velocity

◆ WireNo() [1/3]

int MdcxHit::WireNo ( ) const
inline

Definition at line 66 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

66{ return _wirenumber; } // Wire#

Referenced by MdcxFindSegs::process().

◆ WireNo() [2/3]

int MdcxHit::WireNo ( ) const
inline

Definition at line 66 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

66{ return _wirenumber; } // Wire#

◆ WireNo() [3/3]

int MdcxHit::WireNo ( ) const
inline

Definition at line 66 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

66{ return _wirenumber; } // Wire#

◆ wx() [1/3]

float MdcxHit::wx ( ) const
inline

Definition at line 75 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

75{ return _wx; }

Referenced by MdcxHel::Doca().

◆ wx() [2/3]

float MdcxHit::wx ( ) const
inline

Definition at line 75 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

75{ return _wx; }

◆ wx() [3/3]

float MdcxHit::wx ( ) const
inline

Definition at line 75 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

75{ return _wx; }

◆ wy() [1/3]

float MdcxHit::wy ( ) const
inline

Definition at line 76 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

76{ return _wy; }

Referenced by MdcxHel::Doca().

◆ wy() [2/3]

float MdcxHit::wy ( ) const
inline

Definition at line 76 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

76{ return _wy; }

◆ wy() [3/3]

float MdcxHit::wy ( ) const
inline

Definition at line 76 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

76{ return _wy; }

◆ wz() [1/3]

float MdcxHit::wz ( ) const
inline

Definition at line 77 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

77{ return _wz; }

Referenced by MdcxHel::Doca().

◆ wz() [2/3]

float MdcxHit::wz ( ) const
inline

Definition at line 77 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

77{ return _wz; }

◆ wz() [3/3]

float MdcxHit::wz ( ) const
inline

Definition at line 77 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

77{ return _wz; }

◆ x() [1/3]

float MdcxHit::x ( ) const
inline

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

69{ return _x; } // x of wire

Referenced by MdcxHel::Doca(), MdcxFindSegs::trial(), and MdcxFindSegs::trial().

◆ x() [2/3]

float MdcxHit::x ( ) const
inline

Definition at line 69 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

69{ return _x; } // x of wire

◆ x() [3/3]

float MdcxHit::x ( ) const
inline

Definition at line 69 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

69{ return _x; } // x of wire

◆ xneg() [1/3]

float MdcxHit::xneg ( ) const
inline

◆ xneg() [2/3]

float MdcxHit::xneg ( ) const
inline

Definition at line 73 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

73{ return _xneg; }

◆ xneg() [3/3]

float MdcxHit::xneg ( ) const
inline

Definition at line 73 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

73{ return _xneg; }

◆ xpos() [1/3]

float MdcxHit::xpos ( ) const
inline

◆ xpos() [2/3]

float MdcxHit::xpos ( ) const
inline

Definition at line 71 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

71{ return _xpos; }

◆ xpos() [3/3]

float MdcxHit::xpos ( ) const
inline

Definition at line 71 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

71{ return _xpos; }

◆ y() [1/3]

float MdcxHit::y ( ) const
inline

Definition at line 70 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

70{ return _y; } // y of wire

Referenced by MdcxHel::Doca(), MdcxFindSegs::trial(), and MdcxFindSegs::trial().

◆ y() [2/3]

float MdcxHit::y ( ) const
inline

Definition at line 70 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

70{ return _y; } // y of wire

◆ y() [3/3]

float MdcxHit::y ( ) const
inline

Definition at line 70 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

70{ return _y; } // y of wire

◆ yneg() [1/3]

float MdcxHit::yneg ( ) const
inline

◆ yneg() [2/3]

float MdcxHit::yneg ( ) const
inline

Definition at line 74 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

74{ return _yneg; }

◆ yneg() [3/3]

float MdcxHit::yneg ( ) const
inline

Definition at line 74 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

74{ return _yneg; }

◆ ypos() [1/3]

float MdcxHit::ypos ( ) const
inline

◆ ypos() [2/3]

float MdcxHit::ypos ( ) const
inline

Definition at line 72 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcxReco/MdcxHit.h.

72{ return _ypos; }

◆ ypos() [3/3]

float MdcxHit::ypos ( ) const
inline

Definition at line 72 of file Reconstruction/MdcPatRec/MdcxReco/include/MdcxReco/MdcxHit.h.

72{ return _ypos; }

Member Data Documentation

◆ _c0

float MdcxHit::_c0
protected

◆ _consterr

int MdcxHit::_consterr
protected

◆ _cp

float MdcxHit::_cp
protected

◆ _cresol

float MdcxHit::_cresol
protected

◆ _d

float MdcxHit::_d
protected

◆ _e

float MdcxHit::_e
protected

◆ _iAdc

unsigned MdcxHit::_iAdc
protected

◆ _iTdc

unsigned MdcxHit::_iTdc
protected

◆ _L

float MdcxHit::_L
protected

◆ _layernumber

unsigned MdcxHit::_layernumber
protected

◆ _mdcDigi

const MdcDigi * MdcxHit::_mdcDigi
protected

◆ _mdcHit

const MdcHit * MdcxHit::_mdcHit
protected

◆ _p

float MdcxHit::_p
protected

◆ _pw

double MdcxHit::_pw
protected

◆ _q

float MdcxHit::_q
protected

◆ _r

float MdcxHit::_r
protected

◆ _s

float MdcxHit::_s
protected

Definition at line 121 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

Referenced by process(), and stereo().

◆ _sp

float MdcxHit::_sp
protected

◆ _superlayer

unsigned MdcxHit::_superlayer
protected

◆ _t

float MdcxHit::_t
protected

Definition at line 113 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

Referenced by process(), t(), and tcor().

◆ _T0Walk

float MdcxHit::_T0Walk
protected

Definition at line 117 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

Referenced by process(), and tcor().

◆ _type

int MdcxHit::_type
protected

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

Referenced by process(), and type().

◆ _v

float MdcxHit::_v
protected

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

Referenced by process(), and v().

◆ _wirenumber

unsigned MdcxHit::_wirenumber
protected

Definition at line 110 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcxReco/MdcxHit.h.

Referenced by d(), process(), and WireNo().

◆ _wx

double MdcxHit::_wx
protected

◆ _wy

double MdcxHit::_wy
protected

◆ _wz

double MdcxHit::_wz
protected

◆ _x

float MdcxHit::_x
protected

◆ _xneg

float MdcxHit::_xneg
protected

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

Referenced by process(), and xneg().

◆ _xpos

float MdcxHit::_xpos
protected

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

Referenced by process(), and xpos().

◆ _y

float MdcxHit::_y
protected

◆ _yneg

float MdcxHit::_yneg
protected

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

Referenced by process(), and yneg().

◆ _ypos

float MdcxHit::_ypos
protected

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

Referenced by process(), and ypos().

◆ usedonhel

int MdcxHit::usedonhel
protected

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