Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-01-12 23:41:28

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def SimpleCosmicBONSeeder(*args, **kwargs):
0004   mod = cms.EDProducer('SimpleCosmicBONSeeder',
0005     TTRHBuilder = cms.string('WithTrackAngle'),
0006     ClusterCheckPSet = cms.PSet(
0007       doClusterCheck = cms.bool(True),
0008       MaxNumberOfStripClusters = cms.uint32(300),
0009       ClusterCollectionLabel = cms.InputTag('siStripClusters'),
0010       DontCountDetsAboveNClusters = cms.uint32(20),
0011       MaxNumberOfPixelClusters = cms.uint32(1000),
0012       PixelClusterCollectionLabel = cms.InputTag('siPixelClusters')
0013     ),
0014     maxTriplets = cms.int32(50000),
0015     maxSeeds = cms.int32(20000),
0016     RegionPSet = cms.PSet(
0017       originZPosition = cms.double(0),
0018       originRadius = cms.double(150),
0019       originHalfLength = cms.double(90),
0020       ptMin = cms.double(0.5),
0021       pMin = cms.double(1)
0022     ),
0023     TripletsSrc = cms.InputTag('simpleCosmicBONSeedingLayers'),
0024     TripletsDebugLevel = cms.untracked.uint32(0),
0025     seedOnMiddle = cms.bool(False),
0026     rescaleError = cms.double(1),
0027     ClusterChargeCheck = cms.PSet(
0028       checkCharge = cms.bool(False),
0029       matchedRecHitsUseAnd = cms.bool(True),
0030       Thresholds = cms.PSet(
0031         TIB = cms.int32(0),
0032         TID = cms.int32(0),
0033         TOB = cms.int32(0),
0034         TEC = cms.int32(0)
0035       )
0036     ),
0037     HitsPerModuleCheck = cms.PSet(
0038       checkHitsPerModule = cms.bool(True),
0039       Thresholds = cms.PSet(
0040         TIB = cms.int32(20),
0041         TID = cms.int32(20),
0042         TOB = cms.int32(20),
0043         TEC = cms.int32(20)
0044       )
0045     ),
0046     minimumGoodHitsInSeed = cms.int32(3),
0047     writeTriplets = cms.bool(False),
0048     helixDebugLevel = cms.untracked.uint32(0),
0049     seedDebugLevel = cms.untracked.uint32(0),
0050     PositiveYOnly = cms.bool(False),
0051     NegativeYOnly = cms.bool(False),
0052     mightGet = cms.optional.untracked.vstring
0053   )
0054   for a in args:
0055     mod.update_(a)
0056   mod.update_(kwargs)
0057   return mod