File indexing completed on 2025-02-07 14:24:08
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def MTDClusterProducer(*args, **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 a in args:
0018 mod.update_(a)
0019 mod.update_(kwargs)
0020 return mod