BOSS 7.0.6
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
 

Protected Member Functions

bool useHot (const TrkHitOnTrk &x) const
 

Detailed Description

Definition at line 25 of file TrkTimeCalculator.h.

Constructor & Destructor Documentation

◆ TrkTimeCalculator()

TrkTimeCalculator::TrkTimeCalculator ( const TrkHotSelector selector)
inline

Definition at line 28 of file TrkTimeCalculator.h.

28 :
29 _selector(selector){};

◆ ~TrkTimeCalculator()

virtual TrkTimeCalculator::~TrkTimeCalculator ( )
inlinevirtual

Definition at line 30 of file TrkTimeCalculator.h.

30{};

Member Function Documentation

◆ trackTime() [1/2]

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

Definition at line 35 of file TrkTimeCalculator.h.

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

◆ trackTime() [2/2]

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

Implemented in TrkOutAvgTimeCalculator.

Referenced by trackTime().

◆ useHot()

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

Definition at line 39 of file TrkTimeCalculator.h.

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

Referenced by TrkOutAvgTimeCalculator::trackTime().


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