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 reUseCentrality = cms.bool(
False),
15 srcHFhits = cms.InputTag(
"hfreco"),
16 srcTowers = cms.InputTag(
"towerMaker"),
17 srcEBhits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
18 srcEEhits = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
19 srcZDChits = cms.InputTag(
"zdcreco"),
20 srcPixelhits = cms.InputTag(
"siPixelRecHits"),
21 srcTracks = cms.InputTag(
"hiGeneralTracks"),
22 srcVertex= cms.InputTag(
"hiSelectedVertex"),
23 srcReUse = cms.InputTag(
"hiCentrality"),
24 srcPixelTracks = cms.InputTag(
"hiPixel3PrimTracks"),
26 doPixelCut = cms.bool(
True),
27 useQuality = cms.bool(
True),
28 trackQuality = cms.string(
'highPurity'),
29 trackEtaCut = cms.double(2),
30 trackPtCut = cms.double(1),
31 hfEtaCut = cms.double(4),
32 midRapidityRange = cms.double(1),
33 lowGainZDC = cms.bool(
True),
37 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
38 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
39 (pp_on_XeXe_2017 | pp_on_AA).toModify(hiCentrality,
40 producePixelTracks =
True,
41 srcPixelTracks =
"hiConformalPixelTracks",
42 srcTracks =
"generalTracks",
43 srcVertex =
"offlinePrimaryVertices"