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  reUseCentrality = cms.bool(False),
14 
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"),
25 
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), #hf above the absolute value of this cut is used
32  midRapidityRange = cms.double(1),
33  lowGainZDC = cms.bool(True),
34 
35  )
36 
37 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
38 pp_on_XeXe_2017.toModify(hiCentrality,
39  producePixelTracks = False,
40  srcTracks = cms.InputTag("generalTracks"),
41  srcVertex = cms.InputTag("offlinePrimaryVertices")
42  )