Skip to content

Remove additional modules from trackingNtuple sequence, to avoid crash#173

Open
mmasciov wants to merge 1 commit intomasterfrom
fixTrackingNtuple
Open

Remove additional modules from trackingNtuple sequence, to avoid crash#173
mmasciov wants to merge 1 commit intomasterfrom
fixTrackingNtuple

Conversation

@mmasciov
Copy link

PR description:

Bug-fix, to avoid that tracking ntuple for phase-2 HLT crashes, due to the missed removal of two additional modules.

PR validation:

Tested in 16_0_0_pre4, where the issue shows up.

FYI @bdanzi

@slava77
Copy link

slava77 commented Jan 16, 2026

perhaps make this upstream for both master and 16.0.X

Comment on lines 35 to 39
process.trackingNtupleSequence = process.hltMultiTrackValidation.copy()
process.trackingNtupleSequence.insert(0,process.trackingParticlesIntime+process.simHitTPAssocProducer)
process.trackingNtupleSequence.remove(process.hltPixelLessTracks)
process.trackingNtupleSequence.remove(process.hltWithPixelTracks)
process.trackingNtupleSequence.remove(process.hltTrackValidator)
Copy link

@slava77 slava77 Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
process.trackingNtupleSequence = process.hltMultiTrackValidation.copy()
process.trackingNtupleSequence.insert(0,process.trackingParticlesIntime+process.simHitTPAssocProducer)
process.trackingNtupleSequence.remove(process.hltPixelLessTracks)
process.trackingNtupleSequence.remove(process.hltWithPixelTracks)
process.trackingNtupleSequence.remove(process.hltTrackValidator)
process.trackingNtupleSequence = cms.Sequence(process.hltMultiTrackValidationTask)
process.trackingNtupleSequence.insert(0,process.trackingParticlesIntime+process.simHitTPAssocProducer)

seems like a more maintainable solution

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the "suggestion" indentation seems off; L36 should be unchanged

…flow for phase-2 HLT menu with tracking ntuple
Comment on lines +1996 to +1999
upgradeWFs['HLTTrackingNtuple75e33'].step2 = {
'-s':'DIGI:pdigi_valid,DIGI2RAW,L1TrackTrigger,L1,L1P2GT,HLT:75e33,VALIDATION:@hltValidation',
'--datatier':'GEN-SIM-DIGI-RAW,DQMIO',
'--eventcontent':'FEVTDEBUGHLT,DQMIO',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you copy this from a reference workflow?

Did you try adding elif 'HARVEST' in step and self.step3 = None: in UpgradeWorkflow_HLT75e33Timing to bypass this step?
That way the full .7502 could fit into 2-3 lines, a deepcopy from a reference and .step3=None and `.step2['--customise'] += ",Validation/RecoTrack/cust..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants