5#ifndef DCMATH_MATCHDCWITHLINE_H
6#define DCMATH_MATCHDCWITHLINE_H
43 bool usePreciseErrors =
false);
59 void matchDC(
DCOnTrack& dc,
double&
res,
double& dline,
bool forceOnTrack =
false,
bool forceOffTrack =
false,
60 bool usePreciseErrors =
false);
std::pair< std::vector< unsigned int >, bool > res
class representing a drift circle meaurement on segment
ResidualWithLine m_resWithLine
unsigned int deltas() const
unsigned int showerHits() const
unsigned int m_outOfTimes
void matchDC(DCOnTrack &dc, double &res, double &dline, bool forceOnTrack=false, bool forceOffTrack=false, bool usePreciseErrors=false)
unsigned int hitsMl1() const
unsigned int hitsMl2() const
unsigned int m_showerHits
MatchDCWithLine(const Line &l, double deltaCut, MatchStrategy strategy, double tubeRadius)
unsigned int hitsOnTrack() const
void setTubeRadius(double radius)
const DCOnTrackVec & match(const DCVec &dcs)
bool select(double residual, double error) const
unsigned int matchDifference() const
returns the number of DCOnTrack that have a different status after the match, returns 0 if used with ...
MatchDCWithLine()=default
unsigned int closeHits() const
unsigned int m_matchDifference
unsigned int m_passedTubes
DCOnTrackVec m_dcOnTrackVec
unsigned int passedTubes() const
void set(const Line &l, double deltaCut, MatchStrategy strategy, double tubeRadius)
unsigned int hitsOutOfTime() const
const std::string selection
Function object to check whether two Segments are sub/super sets or different.
std::vector< bool > HitSelection
std::vector< DriftCircle > DCVec
std::vector< DCOnTrack > DCOnTrackVec