BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcRecoHitOnTrack Class Reference

#include <MdcRecoHitOnTrack.h>

+ Inheritance diagram for MdcRecoHitOnTrack:

Public Member Functions

 MdcRecoHitOnTrack (const MdcHit &baseHit, int ambig, double bunchTime)
 
virtual ~MdcRecoHitOnTrack ()
 
virtual TrkHitOnTrkclone (TrkRep *, const TrkDifTraj *trkTraj=0) const
 
unsigned status () const
 
const MdcHitmdcHit () const
 
unsigned tdcIndex () const
 
int whichView () const
 
- Public Member Functions inherited from MdcHitOnTrack
 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 TrajectoryhitTraj () const
 
virtual const MdcHitOnTrackmdcHitOnTrack () const
 
virtual bool timeResid (double &t, double &tErr) const
 
virtual bool timeAbsolute (double &t, double &tErr) const
 
virtual const MdcHitmdcHit () const
 
virtual unsigned tdcIndex () const =0
 
virtual unsigned status () const =0
 
int wire () const
 
const MdcLayerlayer () 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)
 
- Public Member Functions inherited from TrkHitOnTrk
 TrkHitOnTrk (const TrkFundHit *, double tolerance)
 
virtual ~TrkHitOnTrk ()
 
virtual TrkHitOnTrkclone (TrkRep *parentRep, const TrkDifTraj *trkTraj=0) const =0
 
const TrkRecoTrkgetParentTrack () const
 
const TrkRepgetParentRep () const
 
PdtPid::PidType particleType () const
 
const TrkFundHithit () const
 
TrkFundHithit ()
 
const TrkDifTrajtrkTraj () const
 
virtual const MdcHitOnTrackmdcHitOnTrack () const
 
virtual const SvtHitOnTrack * svtHitOnTrack () const
 
bool isActive () const
 
bool isUsable () const
 
bool mustUse () const
 
virtual TrkEnums::TrkViewInfo whatView () const =0
 
virtual unsigned layerNumber () const =0
 
double hitRms () const
 
double weight () const
 
double fltLen () const
 
double hitLen () const
 
virtual int ambig () const
 
virtual void setAmbig (int newambig)
 
bool operator== (const TrkHitOnTrk &) const
 
bool operator< (const TrkHitOnTrk &rhs) const
 
virtual const TrajectoryhitTraj () const =0
 
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
 
virtual bool timeResid (double &resid, double &error) const =0
 
virtual bool timeAbsolute (double &time, double &error) const =0
 
TrkRecoTrkparentTrack () 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
 

Protected Member Functions

 MdcRecoHitOnTrack (const MdcRecoHitOnTrack &hitToBeCopied, TrkRep *newRep, const TrkDifTraj *trkTraj=0)
 
- Protected Member Functions inherited from MdcHitOnTrack
 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 MdcHitbaseHit () const
 
void changeBase (MdcHit *newBase)
 
- Protected Member Functions inherited from TrkHitOnTrk
 TrkHitOnTrk (const TrkHitOnTrk &hitToBeCopied, TrkRep *newRep, const TrkDifTraj *trkTraj=0)
 
void setHitResid (double newResid)
 
TrkRepparentRep () const
 
void setHitLen (double h)
 
void setUsedHit ()
 
void setUnusedHit ()
 
virtual TrkErrCode updateMeasurement (const TrkDifTraj *traj, bool maintainAmbiguity)=0
 
TrkErrCode updatePoca (const TrkDifTraj *trkTraj, bool maintainAmbiguity)
 

Additional Inherited Members

- Public Types inherited from TrkHitOnTrk
typedef std::unary_function< TrkHitOnTrk, boolpredicate_type
 
- Protected Attributes inherited from TrkHitOnTrk
TrkRep_parentRep
 
TrkFundHit_theHit
 
bool _isActive
 
int _isUsable
 
double _hitRms
 
double _trkLen
 
double _hitLen
 
double _resid
 
const TrkDifTraj_trkTraj
 
TrkPoca_poca
 
double _tolerance
 

Detailed Description

Definition at line 27 of file MdcRecoHitOnTrack.h.

Constructor & Destructor Documentation

◆ MdcRecoHitOnTrack() [1/2]

MdcRecoHitOnTrack::MdcRecoHitOnTrack ( const MdcHit baseHit,
int  ambig,
double  bunchTime 
)

Definition at line 17 of file MdcRecoHitOnTrack.cxx.

18 : MdcHitOnTrack(baseHit,baseHit, ambig, bunchTime)
19{ }
int ambig() const
Definition: MdcHitOnTrack.h:67
const MdcHit * baseHit() const

◆ ~MdcRecoHitOnTrack()

MdcRecoHitOnTrack::~MdcRecoHitOnTrack ( )
virtual

Definition at line 28 of file MdcRecoHitOnTrack.cxx.

29{ ; }

◆ MdcRecoHitOnTrack() [2/2]

MdcRecoHitOnTrack::MdcRecoHitOnTrack ( const MdcRecoHitOnTrack hitToBeCopied,
TrkRep newRep,
const TrkDifTraj trkTraj = 0 
)
protected

Definition at line 22 of file MdcRecoHitOnTrack.cxx.

25 : MdcHitOnTrack(hot,newRep,trkTraj)
26{ }
const TrkDifTraj * trkTraj() const
Definition: TrkHitOnTrk.h:77

Member Function Documentation

◆ clone()

TrkHitOnTrk * MdcRecoHitOnTrack::clone ( TrkRep rep,
const TrkDifTraj trkTraj = 0 
) const
virtual

Implements TrkHitOnTrk.

Definition at line 32 of file MdcRecoHitOnTrack.cxx.

33{
34 return new MdcRecoHitOnTrack(*this,rep,trkTraj);
35}

Referenced by MdcHitUse::createHitOnTrk().

◆ mdcHit()

const MdcHit * MdcRecoHitOnTrack::mdcHit ( ) const
virtual

Reimplemented from MdcHitOnTrack.

Definition at line 38 of file MdcRecoHitOnTrack.cxx.

39{
40 return static_cast<const MdcHit*>(hit());
41}
Definition: MdcHit.h:44
const TrkFundHit * hit() const
Definition: TrkHitOnTrk.h:75

Referenced by MdcTrkRecon::fillTrackList(), status(), MdcTrack::storeTrack(), and tdcIndex().

◆ status()

unsigned MdcRecoHitOnTrack::status ( ) const
virtual

Implements MdcHitOnTrack.

Definition at line 44 of file MdcRecoHitOnTrack.cxx.

45{
46// return mdcHit()->digi()->status();
47 return mdcHit()->status();
48}
unsigned status() const
Definition: MdcHit.h:83
const MdcHit * mdcHit() const

◆ tdcIndex()

unsigned MdcRecoHitOnTrack::tdcIndex ( ) const
virtual

Implements MdcHitOnTrack.

Definition at line 51 of file MdcRecoHitOnTrack.cxx.

52{
53 return mdcHit()->tdcIndex();
54}
unsigned tdcIndex() const
Definition: MdcHit.h:63

◆ whichView()

int MdcRecoHitOnTrack::whichView ( ) const

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