Skip to content

Commit

Permalink
Merge pull request #1 from kpedro88/HGCal_v9_geometry_PFCluster_calib…
Browse files Browse the repository at this point in the history
…ration

modifiers need to act on psets
  • Loading branch information
clelange committed Dec 7, 2018
2 parents c500c55 + f00519c commit 402f170
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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,12 +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 = hadronCorrections_hgcalV9)
phase2_hgcalV9.toModify(egammaCorrections = egammaCorrections_hgcalV9)
phase2_hgcalV9.toModify(hadronCorrections, value = hadronCorrections_hgcalV9)
phase2_hgcalV9.toModify(egammaCorrections, value = egammaCorrections_hgcalV9)

0 comments on commit 402f170

Please sign in to comment.