CMS 3D CMS Logo

pACentrality_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 pACentrality = 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("generalTracks"),
23  srcVertex= cms.InputTag("offlinePrimaryVertices"),
24  srcReUse = cms.InputTag("pACentrality"),
25  srcPixelTracks = cms.InputTag("pixelTracks"),
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_run3_common_cff import run3_common
40 run3_common.toModify(pACentrality, srcZDChits = "zdcrecoRun3",lowGainZDC =False)
41