Skip to content

Commit fc1fd7b

Browse files
committed
Fix scaling ITS CA tracker params for low Bfield
1 parent cfa7b71 commit fc1fd7b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Detectors/ITSMFT/ITS/tracking/src/TrackingInterface.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,17 +120,15 @@ void ITSTrackingInterface::initialise()
120120
for (auto& params : trackParams) {
121121
params.CorrType = o2::base::PropagatorImpl<float>::MatCorrType::USEMatCorrLUT;
122122
}
123-
124123
// adjust pT settings to actual mag. field
125124
for (size_t ip = 0; ip < trackParams.size(); ip++) {
126125
auto& param = trackParams[ip];
126+
param.TrackletMinPt *= bFactor;
127127
for (int ilg = trackConf.MaxTrackLenght; ilg >= trackConf.MinTrackLenght; ilg--) {
128128
int lslot = trackConf.MaxTrackLenght - ilg;
129129
param.MinPt[lslot] *= bFactor;
130-
param.TrackletMinPt *= bFactor;
131130
}
132131
}
133-
134132
mTracker->setParameters(trackParams);
135133
mVertexer->setParameters(vertParams);
136134
}

GPU/GPUTracking/ITS/GPUITSFitterKernels.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include "ITStracking/Cell.h"
2323
#include "CommonConstants/MathConstants.h"
2424

25-
#ifdef CA_DEBUG
25+
#if defined(CA_DEBUG) && !defined(GPUCA_GPUCODE_DEVICE)
2626
#include <cstdio>
2727
#endif
2828

0 commit comments

Comments
 (0)