Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-20 03:45:09

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def TotemRPUVPatternFinder(*args, **kwargs):
0004   mod = cms.EDProducer('TotemRPUVPatternFinder',
0005     tagRecHit = cms.InputTag('totemRPRecHitProducer'),
0006     verbosity = cms.untracked.uint32(0),
0007     maxHitsPerPlaneToSearch = cms.uint32(5),
0008     minPlanesPerProjectionToSearch = cms.uint32(3),
0009     clusterSize_a = cms.double(0.02),
0010     clusterSize_b = cms.double(0.3),
0011     threshold = cms.double(2.99),
0012     minPlanesPerProjectionToFit = cms.uint32(3),
0013     allowAmbiguousCombination = cms.bool(False),
0014     max_a_toFit = cms.double(10),
0015     exceptionalSettings = cms.VPSet(
0016       template = cms.PSetTemplate(
0017         rpId = cms.required.uint32,
0018         minPlanesPerProjectionToFit_U = cms.required.uint32,
0019         minPlanesPerProjectionToFit_V = cms.required.uint32,
0020         threshold_U = cms.required.double,
0021         threshold_V = cms.required.double
0022       )
0023     ),
0024     mightGet = cms.optional.untracked.vstring
0025   )
0026   for a in args:
0027     mod.update_(a)
0028   mod.update_(kwargs)
0029   return mod