Skip to content

Commit fa0ec67

Browse files
committed
Fix in VertexTrackMatcher ITS track time treatment
1 parent 91fa856 commit fa0ec67

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Detectors/Vertexing/src/VertexTrackMatcher.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,9 @@ void VertexTrackMatcher::extractTracks(const o2::globaltracking::RecoContainer&
161161
// unconstrained TPC track, with t0 = TrackTPC.getTime0+0.5*(DeltaFwd-DeltaBwd) and terr = 0.5*(DeltaFwd+DeltaBwd) in TimeBins
162162
t0 *= this->mTPCBin2MUS;
163163
terr *= this->mTPCBin2MUS;
164-
} else if (isITSTrack<decltype(_tr)>()) { // error is supplied a half-ROF duration, convert to \mus
165-
t0 += this->mITSROFrameLengthMUS; // ITS time is supplied in \mus as beginning of ROF
166-
terr *= 0.5 * this->mITSROFrameLengthMUS; // error is supplied as a half-ROF duration, convert to \mus
164+
} else if (isITSTrack<decltype(_tr)>()) {
165+
t0 += 0.5 * this->mITSROFrameLengthMUS; // ITS time is supplied in \mus as beginning of ROF
166+
terr *= this->mITSROFrameLengthMUS; // error is supplied as a half-ROF duration, convert to \mus
167167
}
168168
// for all other tracks the time is in \mus with gaussian error
169169
mTBrackets.emplace_back(TrackTBracket{{t0 - terr, t0 + terr}, _origID});

0 commit comments

Comments
 (0)