Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def AlignPCLThresholdsHGWriter(*args, **kwargs):
0004   mod = cms.EDAnalyzer('AlignPCLThresholdsHGWriter',
0005     minNRecords = cms.uint32(25000),
0006     record = cms.string('AlignPCLThresholdsHGRcd'),
0007     thresholds = cms.VPSet(
0008       cms.PSet(),
0009       template = cms.PSetTemplate(
0010         alignableId = cms.required.string,
0011         DOF = cms.required.string,
0012         cut = cms.required.double,
0013         sigCut = cms.required.double,
0014         maxMoveCut = cms.required.double,
0015         maxErrorCut = cms.required.double,
0016         fractionCut = cms.optional.double
0017       )
0018     ),
0019     mightGet = cms.optional.untracked.vstring
0020   )
0021   for a in args:
0022     mod.update_(a)
0023   mod.update_(kwargs)
0024   return mod