Skip to content

Commit

Permalink
HB 2023 customisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Salavat committed Feb 3, 2023
1 parent f57b5f7 commit 296d389
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions RecoParticleFlow/PFClusterProducer/python/particleFlow_HB2023.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Based on the end-of-2023 assumptions for PU65 and 90/fb
# https://indico.cern.ch/event/1237252/contributions/5204534/attachments/2574097/4448011/v4_Prep_for_2023_TSG_Jan17_2023.pdf
# "mild"(medium) cuts update for HB, while keeping 2022 HE cuts intact
# To be used in cmsDriver command:
# --customise RecoParticleFlow/PFClusterProducer/particleFlow_HB2023.customiseHB2023

import FWCore.ParameterSet.Config as cms
def customiseHB2023(process):
recHB =[0.4, 0.3, 0.3, 0.3]
seedHB =[0.6, 0.5, 0.5, 0.5]
process.particleFlowClusterHBHE.seedFinder.thresholdsByDetector[0].seedingThreshold = seedHB
process.particleFlowClusterHBHE.initialClusteringStep.thresholdsByDetector[0].gatheringThreshold = recHB
process.particleFlowClusterHBHE.pfClusterBuilder.recHitEnergyNorms[0].recHitEnergyNorm = recHB
process.particleFlowClusterHBHE.pfClusterBuilder.positionCalc.logWeightDenominatorByDetector[0].logWeightDenominator = recHB
process.particleFlowClusterHBHE.pfClusterBuilder.allCellsPositionCalc.logWeightDenominatorByDetector[0].logWeightDenominator = recHB
process.particleFlowClusterHCAL.pfClusterBuilder.allCellsPositionCalc.logWeightDenominatorByDetector[0].logWeightDenominator = recHB
process.particleFlowRecHitHBHE.producers[0].qualityTests[0].cuts[0].threshold = recHB

return(process)

0 comments on commit 296d389

Please sign in to comment.