Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 l1tPFClustersFromL1EGClusters = cms.EDProducer("PFClusterProducerFromL1EGClusters",
0004     src = cms.InputTag("l1tEGammaClusterEmuProducer",),
0005     etMin = cms.double(0.5),
0006     etaBounds = cms.vdouble(-1.5,0.,1.5),
0007     phiBounds = cms.vdouble([3.14159265359*(float(x)/9.) for x in range(-9,10)]),
0008     maxClustersEtaPhi = cms.vuint32([8] * 36),
0009     corrector  = cms.string("L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel.root"),
0010     resol = cms.PSet(
0011             etaBins = cms.vdouble( 0.700,  1.200,  1.600),
0012             offset  = cms.vdouble( 0.873,  1.081,  1.563),
0013             scale   = cms.vdouble( 0.011,  0.015,  0.012),
0014             kind    = cms.string('calo'),
0015     )
0016 )
0017 
0018 # use phase2_hgcalV10 to customize for 106X L1TDR MC even in the barrel, since there's no other modifier for it
0019 from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10
0020 from Configuration.Eras.Modifier_phase2_hgcalV11_cff import phase2_hgcalV11
0021 phase2_hgcalV10.toModify(l1tPFClustersFromL1EGClusters,
0022     corrector  = "", # In this setup, TP's are already calibrated correctly :-) 
0023                      # L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel_106X.root",
0024     resol = cms.PSet(
0025         etaBins = cms.vdouble( 0.700,  1.200,  1.600),
0026         offset  = cms.vdouble( 0.946,  0.948,  1.171),
0027         scale   = cms.vdouble( 0.011,  0.018,  0.019),
0028         kind    = cms.string('calo')
0029     )
0030 )
0031 phase2_hgcalV11.toModify(l1tPFClustersFromL1EGClusters,
0032     corrector  = "", # In this setup, TP's are already calibrated correctly :-) 
0033                      # L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel_110X.root",
0034     resol = cms.PSet(
0035         etaBins = cms.vdouble( 0.700,  1.200,  1.600),
0036         offset  = cms.vdouble( 0.838,  0.924,  1.101),
0037         scale   = cms.vdouble( 0.012,  0.017,  0.018),
0038         kind    = cms.string('calo')
0039     )
0040 )