CMS 3D CMS Logo

l1tPFClustersFromHGC3DClustersEM_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 import L1Trigger.Phase2L1ParticleFlow.l1tPFClustersFromHGC3DClusters_cfi
4 
5 l1tPFClustersFromHGC3DClustersEM = L1Trigger.Phase2L1ParticleFlow.l1tPFClustersFromHGC3DClusters_cfi.l1tPFClustersFromHGC3DClusters.clone(
6  emOnly = cms.bool(True),
7  useEMInterpretation = cms.string("emOnly"), # use EM intepretation to redefine the energy
8  etMin = cms.double(0.0),
9  corrector = cms.string("L1Trigger/Phase2L1ParticleFlow/data/emcorr_hgc.root"),
10  preEmId = cms.string(""),
11  resol = cms.PSet(
12  etaBins = cms.vdouble( 1.900, 2.200, 2.500, 2.800, 2.950),
13  offset = cms.vdouble( 0.566, 0.557, 0.456, 0.470, 0.324),
14  scale = cms.vdouble( 0.030, 0.024, 0.024, 0.023, 0.042),
15  kind = cms.string('calo'),
16  )
17 )
18 
19 
20 from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10
21 from Configuration.Eras.Modifier_phase2_hgcalV11_cff import phase2_hgcalV11
22 phase2_hgcalV10.toModify(l1tPFClustersFromHGC3DClustersEM,
23  corrector = "L1Trigger/Phase2L1ParticleFlow/data/emcorr_hgc_106X.root",
24  resol = cms.PSet(
25  etaBins = cms.vdouble( 1.700, 1.900, 2.200, 2.500, 2.800, 2.900),
26  offset = cms.vdouble( 2.579, 2.176, 1.678, 0.911, 0.672, -2.292),
27  scale = cms.vdouble( 0.048, 0.026, 0.012, 0.016, 0.022, 0.538),
28  kind = cms.string('calo')
29  ),
30 )
31 phase2_hgcalV11.toModify(l1tPFClustersFromHGC3DClustersEM,
32  corrector = "L1Trigger/Phase2L1ParticleFlow/data/emcorr_hgc_110X.root",
33  resol = cms.PSet(
34  etaBins = cms.vdouble( 1.700, 1.900, 2.200, 2.500, 2.800, 2.900),
35  offset = cms.vdouble( 2.581, 2.289, 1.674, 0.927, 0.604, -2.377),
36  scale = cms.vdouble( 0.046, 0.025, 0.016, 0.017, 0.023, 0.500),
37  kind = cms.string('calo')
38  ),
39 )