Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-06-20 01:53:34

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