Skip to content

Commit b983216

Browse files
committed
Use value_t instead of double
1 parent 3390cb7 commit b983216

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

DataFormats/Reconstruction/src/TrackParametrization.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ bool TrackParametrization<value_T>::propagateParamToDCA(const math_utils::Point3
369369
x -= xv;
370370
y -= yv;
371371
//Estimate the impact parameter neglecting the track curvature
372-
Double_t d = std::abs(x * snp - y * csp);
372+
value_t d = std::abs(x * snp - y * csp);
373373
if (d > maxD) {
374374
return false;
375375
}

DataFormats/Reconstruction/src/TrackParametrizationWithError.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ bool TrackParametrizationWithError<value_T>::propagateToDCA(const o2::dataformat
229229
x -= xv;
230230
y -= yv;
231231
//Estimate the impact parameter neglecting the track curvature
232-
Double_t d = std::abs(x * snp - y * csp);
232+
value_t d = std::abs(x * snp - y * csp);
233233
if (d > maxD) {
234234
return false;
235235
}

0 commit comments

Comments
 (0)