CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkHitUse Class Referenceabstract

#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 TrkFundHithit () const
 
virtual const MdcHitmdcHit () const
 
virtual TrkHitOnTrkcreateHitOnTrk (const TrkRep &) const =0
 
void setFltLen (double flt)
 
virtual bool operator== (const TrkHitUse &) const =0
 
 TrkHitUse (const TrkFundHit &, double fltLen, bool active=true, int usable=1)
 
virtual ~TrkHitUse ()
 
bool isActive () const
 
int isUsable () const
 
double fltLen () const
 
const TrkFundHithit () const
 
virtual const MdcHitmdcHit () const
 
virtual TrkHitOnTrkcreateHitOnTrk (const TrkRep &) const =0
 
void setFltLen (double flt)
 
virtual bool operator== (const TrkHitUse &) const =0
 

Detailed Description

Constructor & Destructor Documentation

◆ TrkHitUse() [1/2]

TrkHitUse::TrkHitUse ( const TrkFundHit theHit,
double  fltLen,
bool  active = true,
int  usable = 1 
)

Definition at line 18 of file TrkHitUse.cxx.

19 : _hit(theHit) {
20//------------------------------------------------------------------------
21 _fltLen = flt;
22 _isActive = active;
23 _isUsable = usable;
24}

◆ ~TrkHitUse() [1/2]

TrkHitUse::~TrkHitUse ( )
virtual

Definition at line 27 of file TrkHitUse.cxx.

27 {
28//------------------------------------------------------------------------
29}

◆ TrkHitUse() [2/2]

TrkHitUse::TrkHitUse ( const TrkFundHit ,
double  fltLen,
bool  active = true,
int  usable = 1 
)

◆ ~TrkHitUse() [2/2]

virtual TrkHitUse::~TrkHitUse ( )
virtual

Member Function Documentation

◆ createHitOnTrk() [1/2]

virtual TrkHitOnTrk * TrkHitUse::createHitOnTrk ( const TrkRep ) const
pure virtual

Implemented in MdcHitUse, and MdcHitUse.

Referenced by TrkHitList::appendHit().

◆ createHitOnTrk() [2/2]

virtual TrkHitOnTrk * TrkHitUse::createHitOnTrk ( const TrkRep ) const
pure virtual

Implemented in MdcHitUse, and MdcHitUse.

◆ fltLen() [1/2]

double TrkHitUse::fltLen ( ) const
inline

Definition at line 34 of file InstallArea/include/TrkBase/TrkBase/TrkHitUse.h.

34{return _fltLen;}

◆ fltLen() [2/2]

double TrkHitUse::fltLen ( ) const
inline

Definition at line 34 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitUse.h.

34{return _fltLen;}

◆ hit() [1/2]

const TrkFundHit & TrkHitUse::hit ( ) const
inline

Definition at line 35 of file InstallArea/include/TrkBase/TrkBase/TrkHitUse.h.

35{return _hit;}

Referenced by TrkHitList::appendHit(), MdcHitUse::mdcHit(), and operator==().

◆ hit() [2/2]

const TrkFundHit & TrkHitUse::hit ( ) const
inline

Definition at line 35 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitUse.h.

35{return _hit;}

◆ isActive() [1/2]

bool TrkHitUse::isActive ( ) const
inline

Definition at line 32 of file InstallArea/include/TrkBase/TrkBase/TrkHitUse.h.

32{return _isActive;}

◆ isActive() [2/2]

bool TrkHitUse::isActive ( ) const
inline

Definition at line 32 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitUse.h.

32{return _isActive;}

◆ isUsable() [1/2]

int TrkHitUse::isUsable ( ) const
inline

Definition at line 33 of file InstallArea/include/TrkBase/TrkBase/TrkHitUse.h.

33{return _isUsable;}

◆ isUsable() [2/2]

int TrkHitUse::isUsable ( ) const
inline

Definition at line 33 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitUse.h.

33{return _isUsable;}

◆ mdcHit() [1/2]

const MdcHit * TrkHitUse::mdcHit ( ) const
virtual

Reimplemented in MdcHitUse, and MdcHitUse.

Definition at line 33 of file TrkHitUse.cxx.

33 {
34//------------------------------------------------------------------------
35 return 0;
36}

Referenced by MdcHitUse::operator==().

◆ mdcHit() [2/2]

virtual const MdcHit * TrkHitUse::mdcHit ( ) const
virtual

Reimplemented in MdcHitUse, and MdcHitUse.

◆ operator==() [1/2]

bool TrkHitUse::operator== ( const TrkHitUse rhs) const
pure virtual

Implemented in MdcHitUse, and MdcHitUse.

Definition at line 47 of file TrkHitUse.cxx.

47 {
48//------------------------------------------------------------------------
49 return ( &(hit()) == &(rhs.hit()) );
50}

Referenced by MdcHitUse::operator==().

◆ operator==() [2/2]

virtual bool TrkHitUse::operator== ( const TrkHitUse ) const
pure virtual

Implemented in MdcHitUse, and MdcHitUse.

◆ setFltLen() [1/2]

void TrkHitUse::setFltLen ( double  flt)
inline

Definition at line 40 of file InstallArea/include/TrkBase/TrkBase/TrkHitUse.h.

40{_fltLen = flt;}

Referenced by MdcSegGrouper::transferHits().

◆ setFltLen() [2/2]

void TrkHitUse::setFltLen ( double  flt)
inline

Definition at line 40 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkHitUse.h.

40{_fltLen = flt;}

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