1 import FWCore.ParameterSet.Config
as cms
3 pfClustersFromHGC3DClusters = cms.EDProducer(
"PFClusterProducerFromHGC3DClusters",
4 src = cms.InputTag(
"hgcalBackEndLayer2Producer",
"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(
"coreShowerLength"), value = cms.string(
"coreShowerLength()")),
15 cms.PSet(name = cms.string(
"maxLayer"), value = cms.string(
"maxLayer()")),
16 cms.PSet(name = cms.string(
"hOverE"), value = cms.string(
"hOverE()")),
17 cms.PSet(name = cms.string(
"sigmaZZ"), value = cms.string(
"sigmaZZ()")),
19 weightsFile = cms.string(
"L1Trigger/Phase2L1ParticleFlow/data/hgcal_egID/Photon_vs_Pion_BDTweights.xml.gz"),
20 wp = cms.string(
"0.01")
23 isPUFilter = cms.bool(
True),
24 preselection = cms.string(
""),
25 method = cms.string(
"BDT"),
26 variables = cms.VPSet(
27 cms.PSet(name = cms.string(
"fabs(eta)"), value = cms.string(
"abs(eta())")),
28 cms.PSet(name = cms.string(
"coreShowerLength"), value = cms.string(
"coreShowerLength()")),
29 cms.PSet(name = cms.string(
"maxLayer"), value = cms.string(
"maxLayer()")),
30 cms.PSet(name = cms.string(
"sigmaPhiPhiTot"), value = cms.string(
"sigmaPhiPhiTot()")),
32 weightsFile = cms.string(
"L1Trigger/Phase2L1ParticleFlow/data/hgcal_egID/Photon_Pion_vs_Neutrino_BDTweights.xml.gz"),
33 wp = cms.string(
"-0.02")
35 emOnly = cms.bool(
False),
36 etMin = cms.double(1.0),
38 etaBins = cms.vdouble( 1.900, 2.200, 2.500, 2.800, 2.950),
39 offset = cms.vdouble( 2.593, 3.089, 2.879, 2.664, 2.947),
40 scale = cms.vdouble( 0.120, 0.098, 0.099, 0.098, 0.124),
41 kind = cms.string(
'calo')
46 from Configuration.Eras.Modifier_phase2_hgcalV10_cff
import phase2_hgcalV10
47 from Configuration.Eras.Modifier_phase2_hgcalV11_cff
import phase2_hgcalV11
48 phase2_hgcalV10.toModify(pfClustersFromHGC3DClusters,
49 corrector =
"L1Trigger/Phase2L1ParticleFlow/data/hadcorr_HGCal3D_TC_106X.root",
51 etaBins = cms.vdouble( 1.700, 1.900, 2.200, 2.500, 2.800, 2.900),
52 offset = cms.vdouble(-0.819, 0.900, 2.032, 2.841, 2.865, 1.237),
53 scale = cms.vdouble( 0.320, 0.225, 0.156, 0.108, 0.119, 0.338),
54 kind = cms.string(
'calo')
57 phase2_hgcalV11.toModify(pfClustersFromHGC3DClusters,
58 corrector =
"L1Trigger/Phase2L1ParticleFlow/data/hadcorr_HGCal3D_TC_110X.root",
60 etaBins = cms.vdouble( 1.700, 1.900, 2.200, 2.500, 2.800, 2.900),
61 offset = cms.vdouble( 1.793, 1.827, 2.363, 2.538, 2.812, 2.642),
62 scale = cms.vdouble( 0.138, 0.137, 0.124, 0.115, 0.106, 0.121),
63 kind = cms.string(
'calo'),