Skip to content

Commit bc50877

Browse files
committed
Add usePCACleaning to CLUE3DHighStep_cff and fix HFNose seeded region
1 parent 8b38fe2 commit bc50877

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RecoHGCal/TICL/plugins/PatternRecognitionbyCA.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ void PatternRecognitionbyCA<TILES>::filter(std::vector<Trackster> &output,
204204
}
205205
}
206206
output.reserve(selectedTrackstersIds.size());
207-
bool isRegionalIter = (input.regions[0].index != -1);
207+
bool isRegionalIter = !input.regions.empty() && (input.regions[0].index != -1);
208208
for (unsigned i = 0; i < selectedTrackstersIds.size(); ++i) {
209209
const auto &t = inTracksters[selectedTrackstersIds[i]];
210210
if (isRegionalIter) {

RecoHGCal/TICL/python/CLUE3DHighStep_cff.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565

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

7071
ticlCLUE3DHighStepTask = cms.Task(ticlSeedingGlobal

0 commit comments

Comments
 (0)