Skip to content

Commit 49b2cd3

Browse files
committed
Only tracklets pT cut-off should not be touched for B=0
1 parent cc47576 commit 49b2cd3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ void ITSTrackingInterface::initialise()
3838
std::vector<TrackingParameters> trackParams;
3939
const auto& trackConf = o2::its::TrackerParamConfig::Instance();
4040
float bFactor = std::abs(o2::base::Propagator::Instance()->getNominalBz()) / 5.0066791;
41-
if (bFactor < 0.01) {
42-
bFactor = 1.;
43-
}
41+
float bFactorTracklets = bFactor < 0.01 ? 1. : bFactor; // for tracklets only
4442
if (mMode == TrackingMode::Unset) {
4543
mMode = (TrackingMode)(trackConf.trackingMode);
4644
LOGP(info, "Tracking mode not set, trying to fetch it from configurable params to: {}", asString(mMode));
@@ -129,7 +127,7 @@ void ITSTrackingInterface::initialise()
129127
// adjust pT settings to actual mag. field
130128
for (size_t ip = 0; ip < trackParams.size(); ip++) {
131129
auto& param = trackParams[ip];
132-
param.TrackletMinPt *= bFactor;
130+
param.TrackletMinPt *= bFactorTracklets;
133131
for (int ilg = trackConf.MaxTrackLength; ilg >= trackConf.MinTrackLength; ilg--) {
134132
int lslot = trackConf.MaxTrackLength - ilg;
135133
param.MinPt[lslot] *= bFactor;

0 commit comments

Comments
 (0)