Skip to content

Commit

Permalink
GPU: Remove obsolete code to use AliRoot offline errors
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrohr committed Nov 9, 2023
1 parent 5710bec commit 694c71e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 116 deletions.
1 change: 0 additions & 1 deletion GPU/GPUTracking/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ set(HDRS_INSTALL
SliceTracker/GPUTPCSliceOutCluster.h
SliceTracker/GPUTPCTrackLinearisation.h
Merger/GPUTPCGMBorderTrack.h
Merger/GPUTPCGMOfflineStatisticalErrors.h
Merger/GPUTPCGMMergedTrack.h
DataTypes/GPUTPCGMMergedTrackHit.h
DataTypes/GPUTRDDef.h
Expand Down
109 changes: 0 additions & 109 deletions GPU/GPUTracking/Merger/GPUTPCGMOfflineStatisticalErrors.h

This file was deleted.

1 change: 0 additions & 1 deletion GPU/GPUTracking/Merger/GPUTPCGMPropagator.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,6 @@ GPUd() int GPUTPCGMPropagator::GetPropagatedYZ(float x, float& GPUrestrict() pro
GPUd() void GPUTPCGMPropagator::GetErr2(float& GPUrestrict() err2Y, float& GPUrestrict() err2Z, const GPUParam& GPUrestrict() param, float posZ, int iRow, short clusterState, bool sideC) const
{
GetErr2(err2Y, err2Z, param, mT0.GetSinPhi(), mT0.DzDs(), posZ, mT->GetX(), iRow, clusterState, sideC);
mStatErrors.GetOfflineStatisticalErrors(err2Y, err2Z, mT0.GetSinPhi(), mT0.DzDs(), clusterState);
}

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)
Expand Down
4 changes: 0 additions & 4 deletions GPU/GPUTracking/Merger/GPUTPCGMPropagator.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#define GPUTPCGMPROPAGATOR_H

#include "GPUCommonDef.h"
#include "GPUTPCGMOfflineStatisticalErrors.h"
#include "GPUTPCGMPhysicalTrackModel.h"
#include "GPUTPCGMPolynomialField.h"
#include "GPUCommonMath.h"
Expand Down Expand Up @@ -149,7 +148,6 @@ class GPUTPCGMPropagator
return mT0;
}
GPUd() void CalculateMaterialCorrection();
GPUd() void SetStatErrorCurCluster(GPUTPCGMMergedTrackHit* c) { mStatErrors.SetCurCluster(c); }

private:
GPUd() static float ApproximateBetheBloch(float beta2);
Expand Down Expand Up @@ -182,8 +180,6 @@ class GPUTPCGMPropagator
bool mFitInProjections = 1; // fit (Y,SinPhi,QPt) and (Z,DzDs) paramteres separatelly
bool mPropagateBzOnly = 0; // Use Bz only in propagation
bool mToyMCEvents = 0; // events are simulated with simple home-made simulation

GPUTPCGMOfflineStatisticalErrors mStatErrors;
};

GPUdi() void GPUTPCGMPropagator::GetBxByBz(float Alpha, float X, float Y, float Z, float B[3]) const
Expand Down
1 change: 0 additions & 1 deletion GPU/GPUTracking/Merger/GPUTPCGMTrackParam.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ GPUd() bool GPUTPCGMTrackParam::Fit(GPUTPCGMMerger* GPUrestrict() merger, int iT

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

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

0 comments on commit 694c71e

Please sign in to comment.