Skip to content

Commit cefb1d6

Browse files
committed
clang format
1 parent 984060e commit cefb1d6

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

GPU/GPUTracking/DataTypes/GPUTRDRecoParam.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void GPUTRDRecoParam::init(float bz, const GPUSettingsRec* rec)
4444
} else {
4545
LOGP(warning, "No error parameterization available for Bz= {}. Keeping default value (sigma_y = const. = 1cm)", bz);
4646
}
47-
47+
4848
mRPhiA2 = resRPhiIdeal2;
4949
mLorentzAngle = -0.02f + 0.13f * bz / 5.f;
5050

@@ -67,5 +67,3 @@ void GPUTRDRecoParam::recalcTrkltCov(const float tilt, const float snp, const fl
6767
cov[1] = c2 * tilt * (sz2 - sy2);
6868
cov[2] = c2 * (t2 * sy2 + sz2);
6969
}
70-
71-

GPU/GPUTracking/DataTypes/GPUTRDRecoParam.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ class GPUTRDRecoParam
5353
/// \param phi angle of related track
5454
/// \return sigma_y^2 of tracklet
5555
GPUd() float getRPhiRes(float snp) const { return (mRPhiA2 + mRPhiC2 * (snp - mLorentzAngle) * (snp - mLorentzAngle)); }
56-
GPUd() float getDyRes(float snp) const { return mDyA2 + mDyC2 * (snp - mLorentzAngle) * (snp - mLorentzAngle); } // a^2 + c^2 * (snp - b)^2
57-
GPUd() float convertAngleToDy(float snp) const { return 3.f * snp / CAMath::Sqrt(1 - snp * snp); } // when calibrated, sin(phi) = (dy / xDrift) / sqrt(1+(dy/xDrift)^2) works well
58-
GPUd() float getCorrYDy(float snp) const { return mCorrYDyA + mCorrYDyC * (snp - mLorentzAngle) * (snp - mLorentzAngle); } // a + c * (snp - b)^2
56+
GPUd() float getDyRes(float snp) const { return mDyA2 + mDyC2 * (snp - mLorentzAngle) * (snp - mLorentzAngle); } // a^2 + c^2 * (snp - b)^2
57+
GPUd() float convertAngleToDy(float snp) const { return 3.f * snp / CAMath::Sqrt(1 - snp * snp); } // when calibrated, sin(phi) = (dy / xDrift) / sqrt(1+(dy/xDrift)^2) works well
58+
GPUd() float getCorrYDy(float snp) const { return mCorrYDyA + mCorrYDyC * (snp - mLorentzAngle) * (snp - mLorentzAngle); } // a + c * (snp - b)^2
5959

6060
/// Get tracklet z correction coefficient for track-eta based corraction
6161
GPUd() float getZCorrCoeffNRC() const { return mZCorrCoefNRC; }

0 commit comments

Comments
 (0)