File indexing completed on 2024-08-27 22:59:25
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def TICLCandidateFromTrackstersProducer(**kwargs):
0004 mod = cms.EDProducer('TICLCandidateFromTrackstersProducer',
0005 tracksterCollections = cms.VInputTag(
0006 'trackstersTrk',
0007 'trackstersMIP',
0008 'trackstersEM',
0009 'trackstersHAD'
0010 ),
0011 minParticleProbability = cms.double(0),
0012 momentumPlugin = cms.PSet(
0013 plugin = cms.string('TracksterP4FromEnergySum'),
0014 energyFromRegression = cms.bool(False),
0015 vertices = cms.InputTag('offlinePrimaryVertices'),
0016 layerClusters = cms.InputTag('hgcalMergeLayerClusters'),
0017 tracks = cms.InputTag('generalTracks')
0018 ),
0019 trackPlugin = cms.PSet(
0020 plugin = cms.string('TracksterRecoTrackPlugin')
0021 ),
0022 mightGet = cms.optional.untracked.vstring
0023 )
0024 for k,v in kwargs.items():
0025 setattr(mod, k, v)
0026 return mod