CMS 3D CMS Logo

pfClustersFromHGC3DClustersEM_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 import L1Trigger.Phase2L1ParticleFlow.pfClustersFromHGC3DClusters_cfi
4 
5 pfClustersFromHGC3DClustersEM = L1Trigger.Phase2L1ParticleFlow.pfClustersFromHGC3DClusters_cfi.pfClustersFromHGC3DClusters.clone(
6  emOnly = cms.bool(True),
7  etMin = cms.double(0.0),
8  corrector = cms.string("L1Trigger/Phase2L1ParticleFlow/data/emcorr_hgc.root"),
9  preEmId = cms.string(""),
10  resol = cms.PSet(
11  etaBins = cms.vdouble( 1.900, 2.200, 2.500, 2.800, 2.950),
12  offset = cms.vdouble( 0.566, 0.557, 0.456, 0.470, 0.324),
13  scale = cms.vdouble( 0.030, 0.024, 0.024, 0.023, 0.042),
14  kind = cms.string('calo'),
15  )
16 )
17 
18 
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(pfClustersFromHGC3DClustersEM,
22  corrector = "L1Trigger/Phase2L1ParticleFlow/data/emcorr_hgc_106X.root",
23  resol = cms.PSet(
24  etaBins = cms.vdouble( 1.700, 1.900, 2.200, 2.500, 2.800, 2.900),
25  offset = cms.vdouble( 2.579, 2.176, 1.678, 0.911, 0.672, -2.292),
26  scale = cms.vdouble( 0.048, 0.026, 0.012, 0.016, 0.022, 0.538),
27  kind = cms.string('calo')
28  ),
29 )
30 phase2_hgcalV11.toModify(pfClustersFromHGC3DClustersEM,
31  corrector = "L1Trigger/Phase2L1ParticleFlow/data/emcorr_hgc_110X.root",
32  resol = cms.PSet(
33  etaBins = cms.vdouble( 1.700, 1.900, 2.200, 2.500, 2.800, 2.900),
34  offset = cms.vdouble( 2.581, 2.289, 1.674, 0.927, 0.604, -2.377),
35  scale = cms.vdouble( 0.046, 0.025, 0.016, 0.017, 0.023, 0.500),
36  kind = cms.string('calo')
37  ),
38 )