CMS 3D CMS Logo

pfClustersFromCombinedCalo_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from L1Trigger.Phase2L1ParticleFlow.l1tPFClustersFromCombinedCalo_cfi import l1tPFClustersFromCombinedCalo
4 
5 # Using phase2_hgcalV10 to customize the config for all 106X samples, since there's no other modifier for it
6 from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10
7 from Configuration.Eras.Modifier_phase2_hgcalV11_cff import phase2_hgcalV11
8 
9 # Calorimeter part: ecal + hcal + hf only
10 l1tPFClustersFromCombinedCaloHCal = l1tPFClustersFromCombinedCalo.clone(
11  hcalHGCTowers = [], hcalDigis = [],
12  hcalDigisBarrel = True, hcalDigisHF = False,
13  hadCorrector = cms.string("L1Trigger/Phase2L1ParticleFlow/data/hadcorr_barrel.root"),
14  resol = cms.PSet(
15  etaBins = cms.vdouble( 0.700, 1.200, 1.600),
16  offset = cms.vdouble( 2.582, 2.191, -0.077),
17  scale = cms.vdouble( 0.122, 0.143, 0.465),
18  kind = cms.string('calo'),
19  ))
20 phase2_hgcalV10.toModify(l1tPFClustersFromCombinedCaloHCal,
21  hadCorrector = "L1Trigger/Phase2L1ParticleFlow/data/hadcorr_barrel_106X.root",
22  resol = cms.PSet(
23  etaBins = cms.vdouble( 0.700, 1.200, 1.600),
24  offset = cms.vdouble( 3.084, 2.715, 0.107),
25  scale = cms.vdouble( 0.118, 0.130, 0.442),
26  kind = cms.string('calo'),
27  )
28 )
29 phase2_hgcalV11.toModify(l1tPFClustersFromCombinedCaloHCal,
30  hadCorrector = "L1Trigger/Phase2L1ParticleFlow/data/hadcorr_barrel_110X.root",
31  resol = cms.PSet(
32  etaBins = cms.vdouble( 0.700, 1.200, 1.600),
33  offset = cms.vdouble( 2.909, 2.864, 0.294),
34  scale = cms.vdouble( 0.119, 0.127, 0.442),
35  kind = cms.string('calo'),
36  )
37 )
38 
39 l1tPFClustersFromCombinedCaloHF = l1tPFClustersFromCombinedCalo.clone(
40  ecalCandidates = [], hcalHGCTowers = [],
41  phase2barrelCaloTowers = [],
42  hadCorrector = cms.string("L1Trigger/Phase2L1ParticleFlow/data/hfcorr.root"),
43  resol = cms.PSet(
44  etaBins = cms.vdouble( 3.500, 4.000, 4.500, 5.000),
45  offset = cms.vdouble( 1.099, 0.930, 1.009, 1.369),
46  scale = cms.vdouble( 0.152, 0.151, 0.144, 0.179),
47  kind = cms.string('calo'),
48  ))
49 phase2_hgcalV10.toModify(l1tPFClustersFromCombinedCaloHF,
50  hcalCandidates = cms.VInputTag(cms.InputTag("l1tHGCalBackEndLayer2Producer","HGCalBackendLayer2Processor3DClustering")),
51  hadCorrector = "L1Trigger/Phase2L1ParticleFlow/data/hfcorr_106X.root",
52  resol = cms.PSet(
53  etaBins = cms.vdouble( 3.500, 4.000, 4.500, 5.000),
54  offset = cms.vdouble(-0.846, 0.696, 1.313, 1.044),
55  scale = cms.vdouble( 0.815, 0.164, 0.146, 0.192),
56  kind = cms.string('calo'),
57  )
58 )
59 phase2_hgcalV11.toModify(l1tPFClustersFromCombinedCaloHF,
60  hcalCandidates = cms.VInputTag(cms.InputTag("l1tHGCalBackEndLayer2Producer","HGCalBackendLayer2Processor3DClustering")),
61  hadCorrector = "L1Trigger/Phase2L1ParticleFlow/data/hfcorr_110X.root",
62  resol = cms.PSet(
63  etaBins = cms.vdouble( 3.500, 4.000, 4.500, 5.000),
64  offset = cms.vdouble(-1.125, 1.220, 1.514, 1.414),
65  scale = cms.vdouble( 0.868, 0.159, 0.148, 0.194),
66  kind = cms.string('calo'),
67  )
68 )