Skip to content

Commit

Permalink
Merge pull request #25435 from clelange/HGCal_v9_geometry_PFCluster_c…
Browse files Browse the repository at this point in the history
…alibration

update PFCluster calibration for HGCal v9 geometry
  • Loading branch information
cmsbuild committed Dec 12, 2018
2 parents cb25113 + 402f170 commit 2ddb85e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
Expand Up @@ -27,8 +27,8 @@
useMCFractionsForExclEnergy = cms.bool(False),
thresholdsByDetector = cms.VPSet(
),
hadronCalib = hadronCorrections,
egammaCalib = egammaCorrections,
hadronCalib = hadronCorrections.value,
egammaCalib = egammaCorrections.value,
calibMinEta = minEtaCorrection,
calibMaxEta = maxEtaCorrection,
simClusterSrc = cms.InputTag("mix:MergedCaloTruth")
Expand Down
Expand Up @@ -2,5 +2,12 @@

minEtaCorrection = cms.double(1.4)
maxEtaCorrection = cms.double(3.0)
hadronCorrections = cms.vdouble(1.24, 1.24, 1.24, 1.23, 1.24, 1.25, 1.29, 1.29)
egammaCorrections = cms.vdouble(1.00, 1.00, 1.01, 1.01, 1.02, 1.03, 1.04, 1.04)
hadronCorrections = cms.PSet(value = cms.vdouble(1.24, 1.24, 1.24, 1.23, 1.24, 1.25, 1.29, 1.29))
egammaCorrections = cms.PSet(value = cms.vdouble(1.00, 1.00, 1.01, 1.01, 1.02, 1.03, 1.04, 1.04))

hadronCorrections_hgcalV9 = cms.vdouble(1.28, 1.28, 1.24, 1.19, 1.17, 1.17, 1.17, 1.17)
egammaCorrections_hgcalV9 = cms.vdouble(1.00, 1.00, 1.01, 1.01, 1.02, 1.01, 1.01, 1.01)

from Configuration.Eras.Modifier_phase2_hgcalV9_cff import phase2_hgcalV9
phase2_hgcalV9.toModify(hadronCorrections, value = hadronCorrections_hgcalV9)
phase2_hgcalV9.toModify(egammaCorrections, value = egammaCorrections_hgcalV9)

0 comments on commit 2ddb85e

Please sign in to comment.