19#ifndef TRKTIMECALCULATOR_HH
20#define TRKTIMECALCULATOR_HH
29 _selector(selector){};
33 double& time,
double& timeerr,
34 int& nHotsUsed)
const = 0;
36 double& time,
double& timeerr)
const
37 {
int dummy;
return trackTime(trk,time,timeerr,dummy);}
virtual bool useHot(const TrkHitOnTrk &hot) const =0
virtual bool trackTime(const TrkRecoTrk &trk, double &time, double &timeerr, int &nHotsUsed) const =0
bool useHot(const TrkHitOnTrk &x) const
bool trackTime(const TrkRecoTrk &trk, double &time, double &timeerr) const
TrkTimeCalculator(const TrkHotSelector &selector)
virtual ~TrkTimeCalculator()