|
ATLAS Offline Software
|
Go to the documentation of this file.
13 DCCit it_end = dcs.end();
14 for (;
it != it_end; ++
it) {
16 double rhit =
it->r() < 0. ? -
it->r() :
it->r();
17 if (dline < 0.) dline *= -1.;
19 double res = dline - rhit;
52 unsigned int index = 0;
55 double rhit =
it->r() < 0. ? -
it->r() :
it->r();
56 if (dline < 0.) dline *= -1.;
58 double res = dline - rhit;
69 matchDC(dcOnTrack,
res, dline,
true,
false, usePrecise);
70 }
else if (recoverMdtHits) {
71 matchDC(dcOnTrack,
res, dline,
false,
false, usePrecise);
73 matchDC(dcOnTrack,
res, dline,
false,
true, usePrecise);
76 matchDC(dcOnTrack,
res, dline,
false,
false, usePrecise);
91 if (dcOnTrack.
id().
ml() == 0)
123 default:
return false;
const DCOnTrackVec & match(const DCVec &dcs)
DCOnTrackVec m_dcOnTrackVec
void matchDC(DCOnTrack &dc, double &res, double &dline, bool forceOnTrack=false, bool forceOffTrack=false, bool usePreciseErrors=false)
@ LateHit
drift time compatible with drift spectrum
std::vector< DCOnTrack > DCOnTrackVec
std::vector< bool > HitSelection
double residual(const LocVec2D &pos) const
Function object to check whether two Segments are sub/super sets or different.
double dr() const
access to error drift radius
unsigned int m_passedTubes
@ OutOfTime
delta electron
void state(DCOnTrackState st)
set DCOnTrack state
void errorTrack(double error)
set track error
unsigned int m_matchDifference
std::vector< DriftCircle > DCVec
unsigned int m_showerHits
const DriftState & driftState() const
access to drift state
@ OutsideRoad
inside road but too far to be on track
std::pair< std::vector< unsigned int >, bool > res
DCOnTrackVec::const_iterator DCOnTrackCit
unsigned int m_outOfTimes
DCVec::const_iterator DCCit
bool select(double residual, double error) const
class representing a drift circle meaurement on segment
ResidualWithLine m_resWithLine
const MdtId & id() const
access to identifier
double drPrecise() const
access to precise error drift radius
@ CloseDC
too large drift time
@ InTime
drift time too small to be compatible with drift spectrum