Skip to content

Commit cf94b28

Browse files
committed
Do not scale ITS tracking cuts for B=0
1 parent fb4de20 commit cf94b28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ 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+
}
4144
if (mMode == TrackingMode::Unset) {
4245
mMode = (TrackingMode)(trackConf.trackingMode);
4346
LOGP(info, "Tracking mode not set, trying to fetch it from configurable params to: {}", asString(mMode));

0 commit comments

Comments
 (0)