1 import FWCore.ParameterSet.Config
as cms
3 layerClusterCaloParticleAssociation = cms.EDProducer(
"LCToCPAssociatorEDProducer",
4 associator = cms.InputTag(
'lcAssocByEnergyScoreProducer'),
5 label_cp = cms.InputTag(
"mix",
"MergedCaloTruth"),
6 label_lc = cms.InputTag(
"hgcalLayerClusters")
9 from Configuration.ProcessModifiers.premix_stage2_cff
import premix_stage2
10 premix_stage2.toModify(layerClusterCaloParticleAssociation,
11 label_cp =
"mixData:MergedCaloTruth" 14 layerClusterCaloParticleAssociationHFNose = layerClusterCaloParticleAssociation.clone(
15 label_lc =
"hgcalLayerClustersHFNose"