CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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  etaBounds = cms.vdouble(-1.5,0.,1.5),
7  phiBounds = cms.vdouble([3.14159265359*(float(x)/9.) for x in range(-9,10)]),
8  maxClustersEtaPhi = cms.vuint32([8] * 36),
9  corrector = cms.string("L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel.root"),
10  resol = cms.PSet(
11  etaBins = cms.vdouble( 0.700, 1.200, 1.600),
12  offset = cms.vdouble( 0.873, 1.081, 1.563),
13  scale = cms.vdouble( 0.011, 0.015, 0.012),
14  kind = cms.string('calo'),
15  )
16 )
17 
18 # use phase2_hgcalV10 to customize for 106X L1TDR MC even in the barrel, since there's no other modifier for it
19 from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10
20 from Configuration.Eras.Modifier_phase2_hgcalV11_cff import phase2_hgcalV11
21 phase2_hgcalV10.toModify(l1tPFClustersFromL1EGClusters,
22  corrector = "", # In this setup, TP's are already calibrated correctly :-)
23  # L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel_106X.root",
24  resol = cms.PSet(
25  etaBins = cms.vdouble( 0.700, 1.200, 1.600),
26  offset = cms.vdouble( 0.946, 0.948, 1.171),
27  scale = cms.vdouble( 0.011, 0.018, 0.019),
28  kind = cms.string('calo')
29  )
30 )
31 phase2_hgcalV11.toModify(l1tPFClustersFromL1EGClusters,
32  corrector = "", # In this setup, TP's are already calibrated correctly :-)
33  # L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel_110X.root",
34  resol = cms.PSet(
35  etaBins = cms.vdouble( 0.700, 1.200, 1.600),
36  offset = cms.vdouble( 0.838, 0.924, 1.101),
37  scale = cms.vdouble( 0.012, 0.017, 0.018),
38  kind = cms.string('calo')
39  )
40 )