BOSS 7.1.2
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
 
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 ()
 
const TrkRecoTrkgetParentTrack () const
 
const TrkRepgetParentRep () const
 
PdtPid::PidType particleType () const
 
const TrkFundHithit () const
 
TrkFundHithit ()
 
const TrkDifTrajtrkTraj () 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
 
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 ()
 
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
const MdcHit * baseHit() const
MdcHitOnTrack(const TrkFundHit &fundHit, const MdcHit &baseHit, int ambig, double fittime)

Referenced by clone().

◆ ~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}
MdcRecoHitOnTrack(const MdcHit &baseHit, int ambig, double bunchTime)

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}
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: