File indexing completed on 2024-08-27 22:59:24
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def EgammaHLTPhase2ExtraProducer(**kwargs):
0004 mod = cms.EDProducer('EgammaHLTPhase2ExtraProducer',
0005 egTrigObjs = cms.InputTag('hltEgammaHLTExtra'),
0006 l1Trks = cms.InputTag('l1tTTTracksFromTrackletEmulation', 'Level1TTTracks'),
0007 trkParts = cms.InputTag('mix', 'MergedTrackTruth'),
0008 l1TrkToTrkPartMap = cms.InputTag('TTTrackAssociatorFromPixelDigis', 'Level1TTTracks'),
0009 hgcalLayerClusters = cms.InputTag('hgcalLayerClusters'),
0010 hgcalLayerClustersTime = cms.InputTag('hgcalLayerClusters', 'timeLayerCluster'),
0011 minPtToSaveHits = cms.double(0),
0012 saveHitsPlusPi = cms.bool(True),
0013 saveHitsPlusHalfPi = cms.bool(True),
0014 recHitCountThresholds = cms.vdouble(
0015 0,
0016 0.5,
0017 1,
0018 1.5,
0019 2
0020 ),
0021 hgcal = cms.VPSet(
0022 cms.PSet(
0023 label = cms.string('HGCEERecHits'),
0024 src = cms.InputTag('HGCalRecHit', 'HGCEERecHits')
0025 ),
0026 cms.PSet(
0027 label = cms.string('HGCHEFRecHits'),
0028 src = cms.InputTag('HGCalRecHit', 'HGCHEFRecHits')
0029 ),
0030 cms.PSet(
0031 label = cms.string('HGCHEBRecHits'),
0032 src = cms.InputTag('HGCalRecHit', 'HGCHEBRecHits')
0033 )
0034 ),
0035 mightGet = cms.optional.untracked.vstring
0036 )
0037 for k,v in kwargs.items():
0038 setattr(mod, k, v)
0039 return mod