File indexing completed on 2025-04-29 02:40:53
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def DaqFakeReader(*args, **kwargs):
0004 mod = cms.EDProducer('DaqFakeReader',
0005 emptyEvents = cms.untracked.bool(False),
0006 fillRandom = cms.untracked.bool(False),
0007 meanSize = cms.untracked.uint32(1024),
0008 width = cms.untracked.uint32(1024),
0009 injectErrPpm = cms.untracked.uint32(1024),
0010 tcdsFEDID = cms.untracked.uint32(1024),
0011 subsystems = cms.untracked.vstring(
0012 'TCDS',
0013 'SiPixel',
0014 'SiStrip',
0015 'ECAL',
0016 'HCAL',
0017 'DT',
0018 'CSC',
0019 'RPC'
0020 ),
0021 mightGet = cms.optional.untracked.vstring
0022 )
0023 for a in args:
0024 mod.update_(a)
0025 mod.update_(kwargs)
0026 return mod