CMS 3D CMS Logo

HiCentrality_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 hiCentrality = cms.EDProducer("CentralityProducer",
4 
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),
15 
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"),
27 
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), #hf above the absolute value of this cut is used
34  midRapidityRange = cms.double(1),
35  lowGainZDC = cms.bool(True),
36 
37  )
38 
39 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
40 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
41 from Configuration.Eras.Modifier_run3_upc_cff import run3_upc
42 (pp_on_XeXe_2017 | pp_on_AA | run3_upc).toModify(hiCentrality,
43  producePixelTracks = True,
44  srcPixelTracks = "hiConformalPixelTracks",
45  srcTracks = "generalTracks",
46  srcVertex = "offlinePrimaryVertices"
47 )
48