Skip to content

Commit

Permalink
Merge pull request #35566 from fwyzard/fix_Patatrack_customisation_fo…
Browse files Browse the repository at this point in the history
…r_AlCa_121x

Add a workaround for AlCa paths to the Patatrack customisation
  • Loading branch information
cmsbuild authored Oct 8, 2021
2 parents 32f3aad + e9ee084 commit 9736afc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions HLTrigger/Configuration/python/customizeHLTforPatatrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,32 @@ def customisePixelLocalReconstruction(process):
process.HLTDoLocalPixelSequence = cms.Sequence(process.HLTDoLocalPixelTask)


# workaround for AlCa paths

if 'AlCa_LumiPixelsCounts_Random_v1' in process.__dict__:
# redefine the path to use the HLTDoLocalPixelSequence
process.AlCa_LumiPixelsCounts_Random_v1 = cms.Path(
process.HLTBeginSequenceRandom +
process.hltScalersRawToDigi +
process.hltPreAlCaLumiPixelsCountsRandom +
process.hltPixelTrackerHVOn +
process.HLTDoLocalPixelSequence +
process.hltAlcaPixelClusterCounts +
process.HLTEndSequence )

if 'AlCa_LumiPixelsCounts_ZeroBias_v1' in process.__dict__:
# redefine the path to use the HLTDoLocalPixelSequence
process.AlCa_LumiPixelsCounts_ZeroBias_v1 = cms.Path(
process.HLTBeginSequence +
process.hltScalersRawToDigi +
process.hltL1sZeroBias +
process.hltPreAlCaLumiPixelsCountsZeroBias +
process.hltPixelTrackerHVOn +
process.HLTDoLocalPixelSequence +
process.hltAlcaPixelClusterCounts +
process.HLTEndSequence )


# done
return process

Expand Down

0 comments on commit 9736afc

Please sign in to comment.