BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkTimeCalculator Class Referenceabstract

#include <TrkTimeCalculator.h>

+ Inheritance diagram for TrkTimeCalculator:

Public Member Functions

 TrkTimeCalculator (const TrkHotSelector &selector)
 
virtual ~TrkTimeCalculator ()
 
virtual bool trackTime (const TrkRecoTrk &trk, double &time, double &timeerr, int &nHotsUsed) const =0
 
bool trackTime (const TrkRecoTrk &trk, double &time, double &timeerr) const
 
 TrkTimeCalculator (const TrkHotSelector &selector)
 
virtual ~TrkTimeCalculator ()
 
virtual bool trackTime (const TrkRecoTrk &trk, double &time, double &timeerr, int &nHotsUsed) const =0
 
bool trackTime (const TrkRecoTrk &trk, double &time, double &timeerr) const
 

Protected Member Functions

bool useHot (const TrkHitOnTrk &x) const
 
bool useHot (const TrkHitOnTrk &x) const
 

Detailed Description

Constructor & Destructor Documentation

◆ TrkTimeCalculator() [1/2]

TrkTimeCalculator::TrkTimeCalculator ( const TrkHotSelector selector)
inline

Definition at line 28 of file InstallArea/include/TrkBase/TrkBase/TrkTimeCalculator.h.

28 :
29 _selector(selector){};

◆ ~TrkTimeCalculator() [1/2]

virtual TrkTimeCalculator::~TrkTimeCalculator ( )
inlinevirtual

◆ TrkTimeCalculator() [2/2]

TrkTimeCalculator::TrkTimeCalculator ( const TrkHotSelector selector)
inline

Definition at line 28 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkTimeCalculator.h.

28 :
29 _selector(selector){};

◆ ~TrkTimeCalculator() [2/2]

virtual TrkTimeCalculator::~TrkTimeCalculator ( )
inlinevirtual

Member Function Documentation

◆ trackTime() [1/4]

bool TrkTimeCalculator::trackTime ( const TrkRecoTrk trk,
double &  time,
double &  timeerr 
) const
inline

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

37 { int dummy; return trackTime(trk,time,timeerr,dummy);}
Double_t time
virtual bool trackTime(const TrkRecoTrk &trk, double &time, double &timeerr, int &nHotsUsed) const =0

◆ trackTime() [2/4]

bool TrkTimeCalculator::trackTime ( const TrkRecoTrk trk,
double &  time,
double &  timeerr 
) const
inline

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

37 { int dummy; return trackTime(trk,time,timeerr,dummy);}

◆ trackTime() [3/4]

virtual bool TrkTimeCalculator::trackTime ( const TrkRecoTrk trk,
double &  time,
double &  timeerr,
int &  nHotsUsed 
) const
pure virtual

Implemented in TrkOutAvgTimeCalculator, and TrkOutAvgTimeCalculator.

Referenced by trackTime().

◆ trackTime() [4/4]

virtual bool TrkTimeCalculator::trackTime ( const TrkRecoTrk trk,
double &  time,
double &  timeerr,
int &  nHotsUsed 
) const
pure virtual

◆ useHot() [1/2]

bool TrkTimeCalculator::useHot ( const TrkHitOnTrk x) const
inlineprotected

Definition at line 39 of file InstallArea/include/TrkBase/TrkBase/TrkTimeCalculator.h.

39{ return _selector.useHot(x);}
virtual bool useHot(const TrkHitOnTrk &hot) const =0

Referenced by TrkOutAvgTimeCalculator::trackTime().

◆ useHot() [2/2]

bool TrkTimeCalculator::useHot ( const TrkHitOnTrk x) const
inlineprotected

Definition at line 39 of file Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkTimeCalculator.h.

39{ return _selector.useHot(x);}

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