From 296d389fc48b4fbab8868f057f82d5e401416341 Mon Sep 17 00:00:00 2001 From: Salavat Date: Fri, 3 Feb 2023 18:09:51 +0100 Subject: [PATCH] HB 2023 customisation --- .../python/particleFlow_HB2023.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 RecoParticleFlow/PFClusterProducer/python/particleFlow_HB2023.py diff --git a/RecoParticleFlow/PFClusterProducer/python/particleFlow_HB2023.py b/RecoParticleFlow/PFClusterProducer/python/particleFlow_HB2023.py new file mode 100644 index 0000000000000..c5eeab38e56b7 --- /dev/null +++ b/RecoParticleFlow/PFClusterProducer/python/particleFlow_HB2023.py @@ -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)