Skip to content

Commit

Permalink
in pp_on_AA eras use triggerResultsFilterFromDB instead of HLTHighLev…
Browse files Browse the repository at this point in the history
…el, in order to allow prescales
  • Loading branch information
mmusich committed Oct 7, 2023
1 parent 47bfc84 commit 70d8a19
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,24 @@
## customizations for the pp_on_AA eras
from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
(pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlMinBiasHLT,
eventSetupPathsKey='TkAlMinBiasHI'
)

(pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOTkAlMinBias,
trackQualities = cms.vstring("highPurity")
)

pp_on_XeXe_2017.toModify(ALCARECOTkAlMinBiasHLT,
eventSetupPathsKey='TkAlMinBiasHI')

import HLTrigger.HLTfilters.triggerResultsFilterFromDB_cfi
ALCARECOTkAlMinBiasTriggerResultsHI = HLTrigger.HLTfilters.triggerResultsFilterFromDB_cfi.triggerResultsFilterFromDB.clone(
eventSetupPathsKey = 'TkAlMinBiasHI',
usePathStatus = False,
hltResults = 'TriggerResults::HLT',
l1tResults = '', # leaving empty (not interested in L1T results)
throw = False # tolerate triggers stated above, but not available
)

seqALCARECOTkAlMinBiasHI = cms.Sequence(ALCARECOTkAlMinBiasTriggerResultsHI*~ALCARECOTkAlMinBiasNOTHLT+ALCARECOTkAlMinBiasDCSFilter+ALCARECOTkAlMinBias)
pp_on_AA.toReplaceWith(seqALCARECOTkAlMinBias,seqALCARECOTkAlMinBiasHI)

from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
phase2_tracker.toModify(ALCARECOTkAlMinBias, etaMin = -4, etaMax = 4)
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,18 @@

## customizations for the pp_on_AA eras
from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
pp_on_XeXe_2017.toModify(ALCARECOSiStripCalMinBiasHLT,
eventSetupPathsKey='SiStripCalMinBiasHI')

from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
(pp_on_XeXe_2017 | pp_on_AA).toModify(ALCARECOSiStripCalMinBiasHLT,
eventSetupPathsKey='SiStripCalMinBiasHI'
import HLTrigger.HLTfilters.triggerResultsFilterFromDB_cfi
ALCARECOSiStripCalMinBiasTriggerResultsHI = HLTrigger.HLTfilters.triggerResultsFilterFromDB_cfi.triggerResultsFilterFromDB.clone(
eventSetupPathsKey = 'SiStripCalMinBiasHI',
usePathStatus = False,
hltResults = 'TriggerResults::HLT',
l1tResults = '', # leaving empty (not interested in L1T results)
throw = False # tolerate triggers stated above, but not available
)

seqALCARECOSiStripCalMinBiasHI = cms.Sequence(ALCARECOSiStripCalMinBiasTriggerResultsHI*DCSStatusForSiStripCalMinBias*ALCARECOSiStripCalMinBias)
pp_on_AA.toReplaceWith(seqALCARECOSiStripCalMinBias,seqALCARECOSiStripCalMinBiasHI)

0 comments on commit 70d8a19

Please sign in to comment.