File indexing completed on 2024-09-26 05:06:15
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def CentralityProducer(*args, **kwargs):
0004 mod = cms.EDProducer('CentralityProducer',
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 srcHFhits = cms.InputTag('hfreco'),
0016 srcTowers = cms.InputTag('towerMaker'),
0017 srcEBhits = cms.InputTag('ecalRecHit', 'EcalRecHitsEB'),
0018 srcEEhits = cms.InputTag('ecalRecHit', 'EcalRecHitsEE'),
0019 srcZDChits = cms.InputTag('zdcreco'),
0020 srcPixelhits = cms.InputTag('siPixelRecHits'),
0021 srcTracks = cms.InputTag('hiGeneralTracks'),
0022 srcVertex = cms.InputTag('hiSelectedVertex'),
0023 srcReUse = cms.InputTag('hiCentrality'),
0024 srcPixelTracks = cms.InputTag('hiPixel3PrimTracks'),
0025 srcPF = cms.InputTag('particleFlow'),
0026 doPixelCut = cms.bool(True),
0027 useQuality = cms.bool(True),
0028 trackQuality = cms.string('highPurity'),
0029 trackEtaCut = cms.double(2),
0030 trackPtCut = cms.double(1),
0031 hfEtaCut = cms.double(4),
0032 midRapidityRange = cms.double(1),
0033 lowGainZDC = cms.bool(True),
0034 isPhase2 = cms.bool(False),
0035 mightGet = cms.optional.untracked.vstring
0036 )
0037 for a in args:
0038 mod.update_(a)
0039 mod.update_(kwargs)
0040 return mod