#include <TrkHitUse.h>
Inheritance diagram for TrkHitUse:
Public Member Functions | |
TrkHitUse (const TrkFundHit &, double fltLen, bool active=true, int usable=1) | |
virtual | ~TrkHitUse () |
bool | isActive () const |
int | isUsable () const |
double | fltLen () const |
const TrkFundHit & | hit () const |
virtual const MdcHit * | mdcHit () const |
virtual TrkHitOnTrk * | createHitOnTrk (const TrkRep &) const =0 |
void | setFltLen (double flt) |
virtual bool | operator== (const TrkHitUse &) const =0 |
Private Member Functions | |
TrkHitUse & | operator= (const TrkHitUse &) |
TrkHitUse (const TrkHitUse &) | |
Private Attributes | |
const TrkFundHit & | _hit |
bool | _isActive |
int | _isUsable |
double | _fltLen |
Definition at line 25 of file TrkHitUse.h.
TrkHitUse::TrkHitUse | ( | const TrkFundHit & | , | |
double | fltLen, | |||
bool | active = true , |
|||
int | usable = 1 | |||
) |
TrkHitUse::~TrkHitUse | ( | ) | [virtual] |
TrkHitUse::TrkHitUse | ( | const TrkHitUse & | ) | [private] |
virtual TrkHitOnTrk* TrkHitUse::createHitOnTrk | ( | const TrkRep & | ) | const [pure virtual] |
double TrkHitUse::fltLen | ( | ) | const [inline] |
const TrkFundHit& TrkHitUse::hit | ( | ) | const [inline] |
Definition at line 35 of file TrkHitUse.h.
References _hit.
Referenced by TrkHitList::appendHit(), MdcHitUse::mdcHit(), and operator==().
00035 {return _hit;}
bool TrkHitUse::isActive | ( | ) | const [inline] |
int TrkHitUse::isUsable | ( | ) | const [inline] |
const MdcHit * TrkHitUse::mdcHit | ( | ) | const [virtual] |
Reimplemented in MdcHitUse.
Definition at line 33 of file TrkHitUse.cxx.
Referenced by MdcHitUse::operator==().
00033 { 00034 //------------------------------------------------------------------------ 00035 return 0; 00036 }
Implemented in MdcHitUse.
Definition at line 47 of file TrkHitUse.cxx.
References hit().
Referenced by MdcHitUse::operator==().
00047 { 00048 //------------------------------------------------------------------------ 00049 return ( &(hit()) == &(rhs.hit()) ); 00050 }
void TrkHitUse::setFltLen | ( | double | flt | ) | [inline] |
double TrkHitUse::_fltLen [private] |
const TrkFundHit& TrkHitUse::_hit [private] |
bool TrkHitUse::_isActive [private] |
int TrkHitUse::_isUsable [private] |