File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7128,7 +7128,7 @@ o2::aod::dqmlcuts::BdtScoreConfig o2::aod::dqmlcuts::GetBdtScoreCutsAndConfigFro
71287128
71297129 std::vector<std::string> namesInputFeatures;
71307130 if (obj.HasMember (" inputFeatures" ) && obj[" inputFeatures" ].IsArray ()) {
7131- for (auto & feature : obj[" inputFeatures" ].GetArray ()) {
7131+ for (const auto & feature : obj[" inputFeatures" ].GetArray ()) {
71327132 namesInputFeatures.emplace_back (feature.GetString ());
71337133 }
71347134 }
@@ -7165,7 +7165,7 @@ o2::aod::dqmlcuts::BdtScoreConfig o2::aod::dqmlcuts::GetBdtScoreCutsAndConfigFro
71657165 std::vector<double > binCuts;
71667166 bool exclude = false ;
71677167
7168- for (auto & sub : cut.GetObject ()) {
7168+ for (const auto & sub : cut.GetObject ()) {
71697169 TString subKey = sub.name .GetString ();
71707170 if (!subKey.Contains (" AddMLCut" ))
71717171 continue ;
@@ -7190,7 +7190,7 @@ o2::aod::dqmlcuts::BdtScoreConfig o2::aod::dqmlcuts::GetBdtScoreCutsAndConfigFro
71907190 std::vector<double > binsPt;
71917191 if (!ptBins.empty ()) {
71927192 std::set<double > binEdges;
7193- for (auto & b : ptBins)
7193+ for (const auto & b : ptBins)
71947194 binEdges.insert (b.first );
71957195 binEdges.insert (ptBins.back ().second );
71967196 binsPt = std::vector<double >(binEdges.begin (), binEdges.end ());
You can’t perform that action at this time.
0 commit comments