Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:14

0001 from builtins import range
0002 import FWCore.ParameterSet.Config as cms
0003 process =cms.Process("TEST")
0004 
0005 process.source = cms.Source("EmptySource", numberEventsInRun = cms.untracked.uint32(1))
0006 
0007 elements = list()
0008 for i in range(0,10):
0009     elements.append(cms.untracked.PSet(lowX=cms.untracked.double(0),
0010                                        highX=cms.untracked.double(10),
0011                                        nchX=cms.untracked.int32(10),
0012                                        name=cms.untracked.string("Foo"+str(i)),
0013                                        title=cms.untracked.string("Foo"+str(i)),
0014                                        value=cms.untracked.double(i)))
0015 
0016 process.filler = cms.EDProducer("DummyFillDQMStore",
0017                                 elements=cms.untracked.VPSet(*elements),
0018                                 fillRuns = cms.untracked.bool(True),
0019                                 fillLumis = cms.untracked.bool(False))
0020 
0021 process.out = cms.OutputModule("DQMRootOutputModule",
0022                                fileName = cms.untracked.string("dqm_one_run_one_lumi_run_only.root"))
0023 
0024 process.p = cms.Path(process.filler)
0025 
0026 process.o = cms.EndPath(process.out)
0027 
0028 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1))
0029 
0030 process.add_(cms.Service("DQMStore"))
0031