CMS 3D CMS Logo

l1tPFClustersFromL1EGClusters_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 l1tPFClustersFromL1EGClusters = cms.EDProducer("PFClusterProducerFromL1EGClusters",
4  src = cms.InputTag("l1tEGammaClusterEmuProducer",),
5  etMin = cms.double(0.5),
6  corrector = cms.string("L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel.root"),
7  resol = cms.PSet(
8  etaBins = cms.vdouble( 0.700, 1.200, 1.600),
9  offset = cms.vdouble( 0.873, 1.081, 1.563),
10  scale = cms.vdouble( 0.011, 0.015, 0.012),
11  kind = cms.string('calo'),
12  )
13 )
14 
15 # use phase2_hgcalV10 to customize for 106X L1TDR MC even in the barrel, since there's no other modifier for it
16 from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10
17 from Configuration.Eras.Modifier_phase2_hgcalV11_cff import phase2_hgcalV11
18 phase2_hgcalV10.toModify(l1tPFClustersFromL1EGClusters,
19  corrector = "", # In this setup, TP's are already calibrated correctly :-)
20  # L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel_106X.root",
21  resol = cms.PSet(
22  etaBins = cms.vdouble( 0.700, 1.200, 1.600),
23  offset = cms.vdouble( 0.946, 0.948, 1.171),
24  scale = cms.vdouble( 0.011, 0.018, 0.019),
25  kind = cms.string('calo')
26  )
27 )
28 phase2_hgcalV11.toModify(l1tPFClustersFromL1EGClusters,
29  corrector = "", # In this setup, TP's are already calibrated correctly :-)
30  # L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel_110X.root",
31  resol = cms.PSet(
32  etaBins = cms.vdouble( 0.700, 1.200, 1.600),
33  offset = cms.vdouble( 0.838, 0.924, 1.101),
34  scale = cms.vdouble( 0.012, 0.017, 0.018),
35  kind = cms.string('calo')
36  )
37 )