Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12_6_X] ParticleFlow HB customisation for 2023 TSG studies #40689

Merged
merged 1 commit into from
Feb 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)