File indexing completed on 2024-08-25 23:07:21
0001 import FWCore.ParameterSet.Config as cms
0002
0003 hiCentrality = cms.EDProducer("CentralityProducer",
0004
0005 produceHFhits = cms.bool(True),
0006 produceHFtowers = cms.bool(True),
0007 produceEcalhits = cms.bool(True),
0008 produceZDChits = cms.bool(True),
0009 produceETmidRapidity = cms.bool(True),
0010 producePixelhits = cms.bool(True),
0011 produceTracks = cms.bool(True),
0012 producePixelTracks = cms.bool(True),
0013 producePF = cms.bool(True),
0014 reUseCentrality = cms.bool(False),
0015
0016 srcHFhits = cms.InputTag("hfreco"),
0017 srcTowers = cms.InputTag("towerMaker"),
0018 srcEBhits = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
0019 srcEEhits = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
0020 srcZDChits = cms.InputTag("zdcreco"),
0021 srcPixelhits = cms.InputTag("siPixelRecHits"),
0022 srcTracks = cms.InputTag("hiGeneralTracks"),
0023 srcVertex= cms.InputTag("hiSelectedVertex"),
0024 srcReUse = cms.InputTag("hiCentrality"),
0025 srcPixelTracks = cms.InputTag("hiPixel3PrimTracks"),
0026 srcPF = cms.InputTag("particleFlow"),
0027
0028 doPixelCut = cms.bool(True),
0029 useQuality = cms.bool(True),
0030 trackQuality = cms.string('highPurity'),
0031 trackEtaCut = cms.double(2),
0032 trackPtCut = cms.double(1),
0033 hfEtaCut = cms.double(4),
0034 midRapidityRange = cms.double(1),
0035 lowGainZDC = cms.bool(True),
0036 isPhase2 = cms.bool(False),
0037
0038 )
0039
0040 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0041 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0042 from Configuration.Eras.Modifier_run3_upc_cff import run3_upc
0043 (pp_on_XeXe_2017 | pp_on_AA | run3_upc).toModify(hiCentrality,
0044 producePixelTracks = True,
0045 srcPixelTracks = "hiConformalPixelTracks",
0046 srcTracks = "generalTracks",
0047 srcVertex = "offlinePrimaryVertices"
0048 )
0049
0050 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0051 run3_common.toModify(hiCentrality, srcZDChits = "zdcrecoRun3",lowGainZDC = False)
0052
0053 from Configuration.ProcessModifiers.phase2_pp_on_AA_cff import phase2_pp_on_AA
0054 phase2_pp_on_AA.toModify(hiCentrality,
0055 isPhase2 = True,
0056 producePixelTracks = False,
0057 srcTracks = "generalTracks",
0058 srcVertex = "offlinePrimaryVertices"
0059 )