Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:13:15

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     corrector  = cms.string("L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel.root"),
0007     resol = cms.PSet(
0008             etaBins = cms.vdouble( 0.700,  1.200,  1.600),
0009             offset  = cms.vdouble( 0.873,  1.081,  1.563),
0010             scale   = cms.vdouble( 0.011,  0.015,  0.012),
0011             kind    = cms.string('calo'),
0012     )
0013 )
0014 
0015 # use phase2_hgcalV10 to customize for 106X L1TDR MC even in the barrel, since there's no other modifier for it
0016 from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10
0017 from Configuration.Eras.Modifier_phase2_hgcalV11_cff import phase2_hgcalV11
0018 phase2_hgcalV10.toModify(l1tPFClustersFromL1EGClusters,
0019     corrector  = "", # In this setup, TP's are already calibrated correctly :-) 
0020                      # L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel_106X.root",
0021     resol = cms.PSet(
0022         etaBins = cms.vdouble( 0.700,  1.200,  1.600),
0023         offset  = cms.vdouble( 0.946,  0.948,  1.171),
0024         scale   = cms.vdouble( 0.011,  0.018,  0.019),
0025         kind    = cms.string('calo')
0026     )
0027 )
0028 phase2_hgcalV11.toModify(l1tPFClustersFromL1EGClusters,
0029     corrector  = "", # In this setup, TP's are already calibrated correctly :-) 
0030                      # L1Trigger/Phase2L1ParticleFlow/data/emcorr_barrel_110X.root",
0031     resol = cms.PSet(
0032         etaBins = cms.vdouble( 0.700,  1.200,  1.600),
0033         offset  = cms.vdouble( 0.838,  0.924,  1.101),
0034         scale   = cms.vdouble( 0.012,  0.017,  0.018),
0035         kind    = cms.string('calo')
0036     )
0037 )