File indexing completed on 2024-11-23 03:28:29
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def CtfSpecialSeedGenerator(*args, **kwargs):
0004 mod = cms.EDProducer('CtfSpecialSeedGenerator',
0005 SeedMomentum = cms.double(5),
0006 ErrorRescaling = cms.double(50),
0007 UseScintillatorsConstraint = cms.bool(True),
0008 TTRHBuilder = cms.string('WithTrackAngle'),
0009 SeedsFromPositiveY = cms.bool(True),
0010 SeedsFromNegativeY = cms.bool(False),
0011 CheckHitsAreOnDifferentLayers = cms.bool(False),
0012 SetMomentum = cms.bool(True),
0013 requireBOFF = cms.bool(False),
0014 maxSeeds = cms.int32(10000),
0015 doClusterCheck = cms.bool(True),
0016 MaxNumberOfStripClusters = cms.uint32(400000),
0017 ClusterCollectionLabel = cms.InputTag('siStripClusters'),
0018 MaxNumberOfPixelClusters = cms.uint32(40000),
0019 PixelClusterCollectionLabel = cms.InputTag('siPixelClusters'),
0020 cut = cms.string('strip < 400000 && pixel < 40000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + 0.1*strip)'),
0021 DontCountDetsAboveNClusters = cms.uint32(0),
0022 Charges = cms.vint32(-1),
0023 RegionFactoryPSet = cms.PSet(
0024 ComponentName = cms.string('GlobalRegionProducer'),
0025 RegionPSet = cms.PSet()
0026 ),
0027 UpperScintillatorParameters = cms.PSet(
0028 LenghtInZ = cms.double(100),
0029 GlobalX = cms.double(0),
0030 GlobalY = cms.double(300),
0031 GlobalZ = cms.double(50),
0032 WidthInX = cms.double(100)
0033 ),
0034 LowerScintillatorParameters = cms.PSet(
0035 LenghtInZ = cms.double(100),
0036 GlobalX = cms.double(0),
0037 GlobalY = cms.double(-100),
0038 GlobalZ = cms.double(50),
0039 WidthInX = cms.double(100)
0040 ),
0041 OrderedHitsFactoryPSets = cms.VPSet(
0042 cms.PSet()
0043 ),
0044 mightGet = cms.optional.untracked.vstring
0045 )
0046 for a in args:
0047 mod.update_(a)
0048 mod.update_(kwargs)
0049 return mod