File indexing completed on 2024-09-26 05:06:17
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def GEMSegmentProducer(*args, **kwargs):
0004 mod = cms.EDProducer('GEMSegmentProducer',
0005 gemRecHitLabel = cms.InputTag('gemRecHits'),
0006 enableGE0 = cms.bool(True),
0007 enableGE12 = cms.bool(False),
0008 ge0_name = cms.string('GE0SegAlgoRU'),
0009 algo_name = cms.string('GEMSegmentAlgorithm'),
0010 ge0_pset = cms.PSet(
0011 allowWideSegments = cms.bool(True),
0012 doCollisions = cms.bool(True),
0013 maxChi2Additional = cms.double(100),
0014 maxChi2Prune = cms.double(50),
0015 maxChi2GoodSeg = cms.double(50),
0016 maxPhiSeeds = cms.double(0.001096605744),
0017 maxPhiAdditional = cms.double(0.001096605744),
0018 maxETASeeds = cms.double(0.1),
0019 maxTOFDiff = cms.double(25),
0020 requireCentralBX = cms.bool(True),
0021 minNumberOfHits = cms.uint32(4),
0022 maxNumberOfHits = cms.uint32(300),
0023 maxNumberOfHitsPerLayer = cms.uint32(100)
0024 ),
0025 algo_pset = cms.PSet(
0026 GEMDebug = cms.untracked.bool(False),
0027 minHitsPerSegment = cms.uint32(2),
0028 preClustering = cms.bool(True),
0029 dXclusBoxMax = cms.double(1),
0030 dYclusBoxMax = cms.double(5),
0031 preClusteringUseChaining = cms.bool(True),
0032 dPhiChainBoxMax = cms.double(0.02),
0033 dEtaChainBoxMax = cms.double(0.05),
0034 maxRecHitsInCluster = cms.int32(4),
0035 clusterOnlySameBXRecHits = cms.bool(True)
0036 ),
0037 mightGet = cms.optional.untracked.vstring
0038 )
0039 for a in args:
0040 mod.update_(a)
0041 mod.update_(kwargs)
0042 return mod