BOSS 7.0.3
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
 
 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)
 
 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
 
 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)
 
 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)
 
 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)
 
 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
 
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

Constructor & Destructor Documentation

◆ MdcRecoHitOnTrack() [1/4]

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

◆ ~MdcRecoHitOnTrack() [1/2]

MdcRecoHitOnTrack::~MdcRecoHitOnTrack ( )
virtual

Definition at line 28 of file MdcRecoHitOnTrack.cxx.

29{ ; }

◆ MdcRecoHitOnTrack() [2/4]

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

◆ MdcRecoHitOnTrack() [3/4]

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

◆ ~MdcRecoHitOnTrack() [2/2]

virtual MdcRecoHitOnTrack::~MdcRecoHitOnTrack ( )
virtual

◆ MdcRecoHitOnTrack() [4/4]

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

Member Function Documentation

◆ clone() [1/2]

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

Implements TrkHitOnTrk.

Definition at line 32 of file MdcRecoHitOnTrack.cxx.

Referenced by MdcHitUse::createHitOnTrk().

◆ clone() [2/2]

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

Implements TrkHitOnTrk.

◆ mdcHit() [1/2]

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}

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

◆ mdcHit() [2/2]

const MdcHit * MdcRecoHitOnTrack::mdcHit ( ) const
virtual

Reimplemented from MdcHitOnTrack.

◆ status() [1/2]

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}
const MdcHit * mdcHit() const

◆ status() [2/2]

unsigned MdcRecoHitOnTrack::status ( ) const
virtual

Implements MdcHitOnTrack.

◆ tdcIndex() [1/2]

unsigned MdcRecoHitOnTrack::tdcIndex ( ) const
virtual

Implements MdcHitOnTrack.

Definition at line 51 of file MdcRecoHitOnTrack.cxx.

52{
53 return mdcHit()->tdcIndex();
54}

◆ tdcIndex() [2/2]

unsigned MdcRecoHitOnTrack::tdcIndex ( ) const
virtual

Implements MdcHitOnTrack.

◆ whichView() [1/2]

int MdcRecoHitOnTrack::whichView ( ) const

◆ whichView() [2/2]

int MdcRecoHitOnTrack::whichView ( ) const

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