Skip to content

Commit

Permalink
Merge pull request #46152 from Moanwar/from-CMSSW_14_2_X_2024-09-29-0000
Browse files Browse the repository at this point in the history
Add usePCACleaning to CLUE3DHighStep_cff and fix HFNose seeded region
  • Loading branch information
cmsbuild authored Oct 2, 2024
2 parents b70e7f6 + bc50877 commit ca7a9e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion RecoHGCal/TICL/plugins/PatternRecognitionbyCA.cc
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void PatternRecognitionbyCA<TILES>::filter(std::vector<Trackster> &output,
}
}
output.reserve(selectedTrackstersIds.size());
bool isRegionalIter = (input.regions[0].index != -1);
bool isRegionalIter = !input.regions.empty() && (input.regions[0].index != -1);
for (unsigned i = 0; i < selectedTrackstersIds.size(); ++i) {
const auto &t = inTracksters[selectedTrackstersIds[i]];
if (isRegionalIter) {
Expand Down
1 change: 1 addition & 0 deletions RecoHGCal/TICL/python/CLUE3DHighStep_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@

from Configuration.ProcessModifiers.ticl_v5_cff import ticl_v5
ticl_v5.toModify(ticlTrackstersCLUE3DHigh.pluginPatternRecognitionByCLUE3D, computeLocalTime = cms.bool(True))
ticl_v5.toModify(ticlTrackstersCLUE3DHigh.pluginPatternRecognitionByCLUE3D, usePCACleaning = cms.bool(True))
ticl_v5.toModify(ticlTrackstersCLUE3DHigh.inferenceAlgo, type = cms.string('TracksterInferenceByDNN'))

ticlCLUE3DHighStepTask = cms.Task(ticlSeedingGlobal
Expand Down

0 comments on commit ca7a9e9

Please sign in to comment.