CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LCToCPAssociation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 layerClusterCaloParticleAssociation = cms.EDProducer("LCToCPAssociatorEDProducer",
4  associator = cms.InputTag('lcAssocByEnergyScoreProducer'),
5  label_cp = cms.InputTag("mix","MergedCaloTruth"),
6  label_lc = cms.InputTag("hgcalLayerClusters")
7 )
8 
9 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
10 premix_stage2.toModify(layerClusterCaloParticleAssociation,
11  label_cp = "mixData:MergedCaloTruth"
12 )
13 
14 layerClusterCaloParticleAssociationHFNose = layerClusterCaloParticleAssociation.clone(
15  label_lc = "hgcalLayerClustersHFNose"
16 )