Skip to content

Commit 8548e53

Browse files
mfagginMattia Faggin
andauthored
Fix type cast introducing an unwanted cut in ITSchi2. (#2079)
Co-authored-by: Mattia Faggin <mfaggin@cern.ch>
1 parent 650bc5d commit 8548e53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/GLO/src/ITSTPCMatchingTask.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ void ITSTPCMatchingTask::initialize(o2::framework::InitContext& /*ctx*/)
6262
}
6363
if (auto param = mCustomParameters.find("maxChi2PerClusterITS"); param != mCustomParameters.end()) {
6464
ILOG(Debug, Devel) << "Custom parameter - maxChi2PerClusterITS (for track selection): " << param->second << ENDM;
65-
mMatchITSTPCQC.setMaxChi2PerClusterITS(atoi(param->second.c_str()));
65+
mMatchITSTPCQC.setMaxChi2PerClusterITS(atof(param->second.c_str()));
6666
}
6767
// TO DO: define an agreed way to implement the setter for ITS matching (min. # layers, which layers)
6868
// [...] --> exploit the method TrackCuts::setRequireHitsInITSLayers(...)

0 commit comments

Comments
 (0)