Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def RunInfoTestESProducer(*args, **kwargs):
0004   mod = cms.ESProducer('RunInfoTestESProducer',
0005     runInfos = cms.VPSet(
0006       template = cms.PSetTemplate(
0007         run = cms.required.int32,
0008         start_time = cms.int64(0),
0009         start_time_str = cms.string(''),
0010         stop_time = cms.int64(0),
0011         stop_time_str = cms.string(''),
0012         fed_in = cms.vint32(),
0013         start_current = cms.double(0),
0014         stop_current = cms.double(0),
0015         avg_current = cms.double(0),
0016         min_current = cms.double(0),
0017         max_current = cms.double(0),
0018         run_intervall_micros = cms.double(0),
0019         current = cms.vdouble(),
0020         times_of_currents = cms.vdouble()
0021       )
0022     ),
0023     appendToDataLabel = cms.string('')
0024   )
0025   for a in args:
0026     mod.update_(a)
0027   mod.update_(kwargs)
0028   return mod