1 import FWCore.ParameterSet.Config
as cms
3 l1tPFClustersFromHGC3DClusters = cms.EDProducer(
"PFClusterProducerFromHGC3DClusters",
4 src = cms.InputTag(
"l1tHGCalBackEndLayer2Producer",
"HGCalBackendLayer2Processor3DClustering"),
5 corrector = cms.string(
"L1Trigger/Phase2L1ParticleFlow/data/hadcorr_HGCal3D_TC.root"),
6 correctorEmfMax = cms.double(1.125),
7 preEmId = cms.string(
"hOverE < 0.3 && hOverE >= 0"),
9 isPUFilter = cms.bool(
False),
10 preselection = cms.string(
""),
11 method = cms.string(
"BDT"),
12 variables = cms.VPSet(
13 cms.PSet(name = cms.string(
"fabs(eta)"), value = cms.string(
"abs(eta())")),
14 cms.PSet(name = cms.string(
"eMax"), value = cms.string(
"eMax()")),
15 cms.PSet(name = cms.string(
"sigmaPhiPhiTot"), value = cms.string(
"sigmaPhiPhiTot()")),
16 cms.PSet(name = cms.string(
"sigmaZZ"), value = cms.string(
"sigmaZZ()")),
17 cms.PSet(name = cms.string(
"layer50percent"), value = cms.string(
"layer50percent()")),
18 cms.PSet(name = cms.string(
"triggerCells67percent"), value = cms.string(
"triggerCells67percent()")),
20 weightsFile = cms.string(
"L1Trigger/Phase2L1ParticleFlow/data/hgcal_egID/Photon_vs_Pion_BDTweights_1116.xml.gz"),
21 wp = cms.string(
"0.05")
24 isPUFilter = cms.bool(
True),
25 preselection = cms.string(
""),
26 method = cms.string(
"BDT"),
27 variables = cms.VPSet(
28 cms.PSet(name = cms.string(
"eMax"), value = cms.string(
"eMax()")),
29 cms.PSet(name = cms.string(
"eMaxOverE"), value = cms.string(
"eMax()/energy()")),
30 cms.PSet(name = cms.string(
"sigmaPhiPhiTot"), value = cms.string(
"sigmaPhiPhiTot()")),
31 cms.PSet(name = cms.string(
"sigmaRRTot"), value = cms.string(
"sigmaRRTot()")),
32 cms.PSet(name = cms.string(
"triggerCells90percent"), value = cms.string(
"triggerCells90percent()")),
34 weightsFile = cms.string(
"L1Trigger/Phase2L1ParticleFlow/data/hgcal_egID/Photon_Pion_vs_Neutrino_BDTweights_1116.xml.gz"),
35 wp = cms.string(
"0.15")
37 useEMInterpretation = cms.string(
"allKeepHad"),
38 emOnly = cms.bool(
False),
39 etMin = cms.double(1.0),
41 etaBins = cms.vdouble( 1.900, 2.200, 2.500, 2.800, 2.950),
42 offset = cms.vdouble( 2.593, 3.089, 2.879, 2.664, 2.947),
43 scale = cms.vdouble( 0.120, 0.098, 0.099, 0.098, 0.124),
44 kind = cms.string(
'calo')
49 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
50 from Configuration.Eras.Modifier_phase2_hgcalV11_cff
import phase2_hgcalV11
51 phase2_hgcalV10.toModify(l1tPFClustersFromHGC3DClusters,
52 corrector =
"L1Trigger/Phase2L1ParticleFlow/data/hadcorr_HGCal3D_TC_106X.root",
54 etaBins = cms.vdouble( 1.700, 1.900, 2.200, 2.500, 2.800, 2.900),
55 offset = cms.vdouble(-0.819, 0.900, 2.032, 2.841, 2.865, 1.237),
56 scale = cms.vdouble( 0.320, 0.225, 0.156, 0.108, 0.119, 0.338),
57 kind = cms.string(
'calo')
60 phase2_hgcalV11.toModify(l1tPFClustersFromHGC3DClusters,
61 corrector =
"L1Trigger/Phase2L1ParticleFlow/data/hadcorr_HGCal3D_TC_110X.root",
63 etaBins = cms.vdouble( 1.700, 1.900, 2.200, 2.500, 2.800, 2.900),
64 offset = cms.vdouble( 1.793, 1.827, 2.363, 2.538, 2.812, 2.642),
65 scale = cms.vdouble( 0.138, 0.137, 0.124, 0.115, 0.106, 0.121),
66 kind = cms.string(
'calo'),