#include <MdcHitOnTrack.h>
|
| MdcHitOnTrack (const TrkFundHit &fundHit, const MdcHit &baseHit, int ambig, double fittime) |
|
virtual | ~MdcHitOnTrack () |
|
double | entranceAngleHit () const |
|
double | entranceAngle () const |
|
double | entranceAngle (const HepPoint3D pos, const Hep3Vector dir) const |
|
double | dipAngle () const |
|
int | ambig () const |
|
int | wireAmbig () const |
|
double | fitTime () const |
|
double | drift () const |
|
double | drift (double dca) const |
|
double | dcaToWire () const |
|
double | rawTime () const |
|
virtual const Trajectory * | hitTraj () const |
|
virtual const MdcHitOnTrack * | mdcHitOnTrack () const |
|
virtual bool | timeResid (double &t, double &tErr) const |
|
virtual bool | timeAbsolute (double &t, double &tErr) const |
|
virtual const MdcHit * | mdcHit () const |
|
virtual unsigned | tdcIndex () const =0 |
|
virtual unsigned | status () const =0 |
|
int | wire () const |
|
const MdcLayer * | layer () const |
|
int | layernumber () const |
|
unsigned | layerNumber () const |
|
int | whichView () const |
|
double | charge () const |
|
TrkEnums::TrkViewInfo | whatView () const |
|
void | setAmbig (int a) |
|
void | setT0 (double t0) |
|
| TrkHitOnTrk (const TrkFundHit *, double tolerance) |
|
virtual | ~TrkHitOnTrk () |
|
virtual TrkHitOnTrk * | clone (TrkRep *parentRep, const TrkDifTraj *trkTraj=0) const =0 |
|
const TrkRecoTrk * | getParentTrack () const |
|
const TrkRep * | getParentRep () const |
|
PdtPid::PidType | particleType () const |
|
const TrkFundHit * | hit () const |
|
TrkFundHit * | hit () |
|
const TrkDifTraj * | trkTraj () const |
|
virtual const SvtHitOnTrack * | svtHitOnTrack () const |
|
bool | isActive () const |
|
bool | isUsable () const |
|
bool | mustUse () const |
|
double | hitRms () const |
|
double | weight () const |
|
double | fltLen () const |
|
double | hitLen () const |
|
bool | operator== (const TrkHitOnTrk &) const |
|
bool | operator< (const TrkHitOnTrk &rhs) const |
|
bool | hasResidual () const |
|
TrkErrCode | getFitStuff (HepVector &derivs, double &deltaChi) const |
|
TrkErrCode | getFitStuff (double &deltaChi) const |
|
double | resid (bool exclude=false) const |
|
bool | resid (double &resid, double &residErr, bool exclude=false) const |
|
double | residual () const |
|
TrkRecoTrk * | parentTrack () const |
|
void | setActivity (bool turnOn) |
|
void | setUsability (int usability) |
|
void | setFltLen (double f) |
|
void | setHitRms (double newRms) |
|
virtual void | print (std::ostream &) const |
|
virtual void | printAll (std::ostream &) const |
|
|
| MdcHitOnTrack (const TrkFundHit *baseHit, int ambig, double fittime, int layer, int wire) |
|
| MdcHitOnTrack (const MdcHitOnTrack &hitToBeCopied, TrkRep *newRep, const TrkDifTraj *trkTraj, const MdcHit *hb=0) |
|
bool | isBeyondEndflange () const |
|
bool | updateAmbiguity (double dca) |
|
virtual TrkErrCode | updateMeasurement (const TrkDifTraj *traj, bool maintainAmbiguity) |
|
const MdcHit * | baseHit () const |
|
void | changeBase (MdcHit *newBase) |
|
| TrkHitOnTrk (const TrkHitOnTrk &hitToBeCopied, TrkRep *newRep, const TrkDifTraj *trkTraj=0) |
|
void | setHitResid (double newResid) |
|
TrkRep * | parentRep () const |
|
void | setHitLen (double h) |
|
void | setUsedHit () |
|
void | setUnusedHit () |
|
TrkErrCode | updatePoca (const TrkDifTraj *trkTraj, bool maintainAmbiguity) |
|
Definition at line 40 of file MdcHitOnTrack.h.
◆ MdcHitOnTrack() [1/3]
MdcHitOnTrack::MdcHitOnTrack |
( |
const TrkFundHit & | fundHit, |
|
|
const MdcHit & | baseHit, |
|
|
int | ambig, |
|
|
double | fittime ) |
Definition at line 47 of file MdcHitOnTrack.cxx.
55{
56
57
58
59
60
61 _drift[0] = +9999;
62 _drift[1] = -9999;
69}
virtual const Trajectory * hitTraj() const
const MdcHit * baseHit() const
const Trajectory * hitTraj() const
const MdcLayer * layer() const
double zLength(void) const
void setHitResid(double newResid)
void setHitRms(double newRms)
TrkHitOnTrk(const TrkFundHit *, double tolerance)
◆ ~MdcHitOnTrack()
MdcHitOnTrack::~MdcHitOnTrack |
( |
| ) |
|
|
virtual |
◆ MdcHitOnTrack() [2/3]
MdcHitOnTrack::MdcHitOnTrack |
( |
const TrkFundHit * | baseHit, |
|
|
int | ambig, |
|
|
double | fittime, |
|
|
int | layer, |
|
|
int | wire ) |
|
protected |
◆ MdcHitOnTrack() [3/3]
Definition at line 99 of file MdcHitOnTrack.cxx.
102{
103 _ambig = hot._ambig;
104 _hitTraj = hot._hitTraj;
105 _fitTime = hot._fitTime;
106 _drift[0] = hot._drift[0];
107 _drift[1] = hot._drift[1];
108 _startLen = hot._startLen;
109 _endLen = hot._endLen;
110 _dHit = (hb==0?hot._dHit:hb);
111}
const TrkDifTraj * trkTraj() const
◆ ambig()
int MdcHitOnTrack::ambig |
( |
| ) |
const |
|
inlinevirtual |
◆ baseHit()
const MdcHit * MdcHitOnTrack::baseHit |
( |
| ) |
const |
|
inlineprotected |
◆ changeBase()
void MdcHitOnTrack::changeBase |
( |
MdcHit * | newBase | ) |
|
|
protected |
◆ charge()
double MdcHitOnTrack::charge |
( |
| ) |
const |
◆ dcaToWire()
double MdcHitOnTrack::dcaToWire |
( |
| ) |
const |
◆ dipAngle()
double MdcHitOnTrack::dipAngle |
( |
| ) |
const |
Definition at line 227 of file MdcHitOnTrack.cxx.
228{
230}
virtual Hep3Vector direction(double) const =0
virtual const TrkDifTraj & traj() const =0
◆ drift() [1/2]
double MdcHitOnTrack::drift |
( |
| ) |
const |
|
inline |
◆ drift() [2/2]
double MdcHitOnTrack::drift |
( |
double | dca | ) |
const |
|
inline |
◆ entranceAngle() [1/2]
double MdcHitOnTrack::entranceAngle |
( |
| ) |
const |
◆ entranceAngle() [2/2]
double MdcHitOnTrack::entranceAngle |
( |
const HepPoint3D | pos, |
|
|
const Hep3Vector | dir ) const |
Definition at line 183 of file MdcHitOnTrack.cxx.
184{
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217 return angle;
218}
◆ entranceAngleHit()
double MdcHitOnTrack::entranceAngleHit |
( |
| ) |
const |
◆ fitTime()
double MdcHitOnTrack::fitTime |
( |
| ) |
const |
|
inline |
◆ hitTraj()
const Trajectory * MdcHitOnTrack::hitTraj |
( |
| ) |
const |
|
virtual |
◆ isBeyondEndflange()
bool MdcHitOnTrack::isBeyondEndflange |
( |
| ) |
const |
|
inlineprotected |
◆ layer()
const MdcLayer * MdcHitOnTrack::layer |
( |
| ) |
const |
◆ layerNumber()
unsigned MdcHitOnTrack::layerNumber |
( |
| ) |
const |
|
virtual |
◆ layernumber()
int MdcHitOnTrack::layernumber |
( |
| ) |
const |
◆ mdcHit()
const MdcHit * MdcHitOnTrack::mdcHit |
( |
| ) |
const |
|
virtual |
◆ mdcHitOnTrack()
◆ rawTime()
double MdcHitOnTrack::rawTime |
( |
| ) |
const |
◆ setAmbig()
void MdcHitOnTrack::setAmbig |
( |
int | a | ) |
|
|
inlinevirtual |
◆ setT0()
void MdcHitOnTrack::setT0 |
( |
double | t0 | ) |
|
◆ status()
virtual unsigned MdcHitOnTrack::status |
( |
| ) |
const |
|
pure virtual |
◆ tdcIndex()
virtual unsigned MdcHitOnTrack::tdcIndex |
( |
| ) |
const |
|
pure virtual |
◆ timeAbsolute()
bool MdcHitOnTrack::timeAbsolute |
( |
double & | t, |
|
|
double & | tErr ) const |
|
virtual |
Implements TrkHitOnTrk.
Definition at line 330 of file MdcHitOnTrack.cxx.
331{
332 double tresid(-1.0);
334
336 return true;
337 } else
338 return false;
339}
virtual bool timeResid(double &t, double &tErr) const
TrkRecoTrk * parentTrack()
◆ timeResid()
bool MdcHitOnTrack::timeResid |
( |
double & | t, |
|
|
double & | tErr ) const |
|
virtual |
Implements TrkHitOnTrk.
Definition at line 320 of file MdcHitOnTrack.cxx.
321{
322 double v = driftVelocity();
323 if (
v <= 0)
return false;
326 return true;
327}
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
Referenced by timeAbsolute().
◆ updateAmbiguity()
bool MdcHitOnTrack::updateAmbiguity |
( |
double | dca | ) |
|
|
protected |
◆ updateMeasurement()
Implements TrkHitOnTrk.
Definition at line 233 of file MdcHitOnTrack.cxx.
234{
237#ifdef MDCPATREC_DEBUG
238 std::cout<<
" ErrMsg(warning) " <<
"MdcHitOnTrack::updateMeasurement failed " <<
status << std::endl;
239#endif
241 }
245
246
247
249
251 if (forceIteration || !driftCurrent() ) {
252 updateCorrections();
253 forceIteration=true;
254 }
256 return !forceIteration?
status:
258}
bool isBeyondEndflange() const
bool updateAmbiguity(double dca)
virtual unsigned status() const =0
TrkErrCode updatePoca(const TrkDifTraj *trkTraj, bool maintainAmbiguity)
void setUsability(int usability)
◆ whatView()
◆ whichView()
int MdcHitOnTrack::whichView |
( |
| ) |
const |
◆ wire()
int MdcHitOnTrack::wire |
( |
| ) |
const |
◆ wireAmbig()
int MdcHitOnTrack::wireAmbig |
( |
| ) |
const |
The documentation for this class was generated from the following files: