Skip to content

Commit 694c71e

Browse files
committed
GPU: Remove obsolete code to use AliRoot offline errors
1 parent 5710bec commit 694c71e

5 files changed

Lines changed: 0 additions & 116 deletions

File tree

GPU/GPUTracking/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ set(HDRS_INSTALL
128128
SliceTracker/GPUTPCSliceOutCluster.h
129129
SliceTracker/GPUTPCTrackLinearisation.h
130130
Merger/GPUTPCGMBorderTrack.h
131-
Merger/GPUTPCGMOfflineStatisticalErrors.h
132131
Merger/GPUTPCGMMergedTrack.h
133132
DataTypes/GPUTPCGMMergedTrackHit.h
134133
DataTypes/GPUTRDDef.h

GPU/GPUTracking/Merger/GPUTPCGMOfflineStatisticalErrors.h

Lines changed: 0 additions & 109 deletions
This file was deleted.

GPU/GPUTracking/Merger/GPUTPCGMPropagator.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,6 @@ GPUd() int GPUTPCGMPropagator::GetPropagatedYZ(float x, float& GPUrestrict() pro
600600
GPUd() void GPUTPCGMPropagator::GetErr2(float& GPUrestrict() err2Y, float& GPUrestrict() err2Z, const GPUParam& GPUrestrict() param, float posZ, int iRow, short clusterState, bool sideC) const
601601
{
602602
GetErr2(err2Y, err2Z, param, mT0.GetSinPhi(), mT0.DzDs(), posZ, mT->GetX(), iRow, clusterState, sideC);
603-
mStatErrors.GetOfflineStatisticalErrors(err2Y, err2Z, mT0.GetSinPhi(), mT0.DzDs(), clusterState);
604603
}
605604

606605
GPUd() void GPUTPCGMPropagator::GetErr2(float& GPUrestrict() err2Y, float& GPUrestrict() err2Z, const GPUParam& GPUrestrict() param, float snp, float tgl, float posZ, float x, int iRow, short clusterState, bool sideC)

GPU/GPUTracking/Merger/GPUTPCGMPropagator.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#define GPUTPCGMPROPAGATOR_H
1717

1818
#include "GPUCommonDef.h"
19-
#include "GPUTPCGMOfflineStatisticalErrors.h"
2019
#include "GPUTPCGMPhysicalTrackModel.h"
2120
#include "GPUTPCGMPolynomialField.h"
2221
#include "GPUCommonMath.h"
@@ -149,7 +148,6 @@ class GPUTPCGMPropagator
149148
return mT0;
150149
}
151150
GPUd() void CalculateMaterialCorrection();
152-
GPUd() void SetStatErrorCurCluster(GPUTPCGMMergedTrackHit* c) { mStatErrors.SetCurCluster(c); }
153151

154152
private:
155153
GPUd() static float ApproximateBetheBloch(float beta2);
@@ -182,8 +180,6 @@ class GPUTPCGMPropagator
182180
bool mFitInProjections = 1; // fit (Y,SinPhi,QPt) and (Z,DzDs) paramteres separatelly
183181
bool mPropagateBzOnly = 0; // Use Bz only in propagation
184182
bool mToyMCEvents = 0; // events are simulated with simple home-made simulation
185-
186-
GPUTPCGMOfflineStatisticalErrors mStatErrors;
187183
};
188184

189185
GPUdi() void GPUTPCGMPropagator::GetBxByBz(float Alpha, float X, float Y, float Z, float B[3]) const

GPU/GPUTracking/Merger/GPUTPCGMTrackParam.cxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ GPUd() bool GPUTPCGMTrackParam::Fit(GPUTPCGMMerger* GPUrestrict() merger, int iT
152152

153153
const bool allowModification = refit && (iWay == 0 || (((nWays - iWay) & 1) ? (ihit >= CAMath::Min(maxN / 2, 30)) : (ihit <= CAMath::Max(maxN / 2, maxN - 30))));
154154
int ihitMergeFirst = ihit;
155-
prop.SetStatErrorCurCluster(&clusters[ihit]);
156155

157156
float xx, yy, zz;
158157
if (merger->Param().par.earlyTpcTransform) {

0 commit comments

Comments
 (0)