Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PrescaleService(*args, **kwargs):
0004   mod = cms.Service('PrescaleService',
0005     lvl1Labels = cms.vstring('default'),
0006     prescaleTable = cms.VPSet(
0007       cms.PSet(
0008         pathName = cms.string('HLTPath'),
0009         prescales = cms.vuint32(1)
0010       ),
0011       template = cms.PSetTemplate(
0012         pathName = cms.required.string,
0013         prescales = cms.required.vuint32
0014       )
0015     ),
0016     lvl1DefaultLabel = cms.string('default'),
0017     forceDefault = cms.bool(False)
0018   )
0019   for a in args:
0020     mod.update_(a)
0021   mod.update_(kwargs)
0022   return mod