1 import FWCore.ParameterSet.Config
as cms
3 hiCentrality = cms.EDProducer(
"CentralityProducer",
5 produceHFhits = cms.bool(
True),
6 produceHFtowers = cms.bool(
True),
7 produceEcalhits = cms.bool(
True),
8 produceZDChits = cms.bool(
True),
9 produceETmidRapidity = cms.bool(
True),
10 producePixelhits = cms.bool(
True),
11 produceTracks = cms.bool(
True),
12 producePixelTracks = cms.bool(
True),
13 producePF = cms.bool(
True),
14 reUseCentrality = cms.bool(
False),
16 srcHFhits = cms.InputTag(
"hfreco"),
17 srcTowers = cms.InputTag(
"towerMaker"),
18 srcEBhits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
19 srcEEhits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
20 srcZDChits = cms.InputTag(
"zdcreco"),
21 srcPixelhits = cms.InputTag(
"siPixelRecHits"),
22 srcTracks = cms.InputTag(
"hiGeneralTracks"),
23 srcVertex= cms.InputTag(
"hiSelectedVertex"),
24 srcReUse = cms.InputTag(
"hiCentrality"),
25 srcPixelTracks = cms.InputTag(
"hiPixel3PrimTracks"),
26 srcPF = cms.InputTag(
"particleFlow"),
28 doPixelCut = cms.bool(
True),
29 useQuality = cms.bool(
True),
30 trackQuality = cms.string(
'highPurity'),
31 trackEtaCut = cms.double(2),
32 trackPtCut = cms.double(1),
33 hfEtaCut = cms.double(4),
34 midRapidityRange = cms.double(1),
35 lowGainZDC = cms.bool(
True),
36 isPhase2 = cms.bool(
False),
40 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
41 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
42 from Configuration.Eras.Modifier_run3_upc_cff
import run3_upc
43 (pp_on_XeXe_2017 | pp_on_AA | run3_upc).toModify(hiCentrality,
44 producePixelTracks =
True,
45 srcPixelTracks =
"hiConformalPixelTracks",
46 srcTracks =
"generalTracks",
47 srcVertex =
"offlinePrimaryVertices" 50 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
51 run3_common.toModify(hiCentrality, srcZDChits =
"zdcrecoRun3",lowGainZDC =
False)
53 from Configuration.ProcessModifiers.phase2_pp_on_AA_cff
import phase2_pp_on_AA
54 phase2_pp_on_AA.toModify(hiCentrality,
56 producePixelTracks =
False,
57 srcTracks =
"generalTracks",
58 srcVertex =
"offlinePrimaryVertices"