File indexing completed on 2024-08-27 22:59:27
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def MTDClusterProducer(**kwargs):
0004 mod = cms.EDProducer('MTDClusterProducer',
0005 srcBarrel = cms.InputTag('mtdRecHits', 'FTLBarrel'),
0006 srcEndcap = cms.InputTag('mtdRecHits', 'FTLEndcap'),
0007 BarrelClusterName = cms.string('FTLBarrel'),
0008 EndcapClusterName = cms.string('FTLEndcap'),
0009 ClusterMode = cms.string('MTDThresholdClusterizer'),
0010 HitThreshold = cms.double(0),
0011 SeedThreshold = cms.double(0),
0012 ClusterThreshold = cms.double(0),
0013 TimeThreshold = cms.double(10),
0014 PositionThreshold = cms.double(-1),
0015 mightGet = cms.optional.untracked.vstring
0016 )
0017 for k,v in kwargs.items():
0018 setattr(mod, k, v)
0019 return mod