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 
0004 process = cms.Process("READ")
0005 
0006 process.source = cms.Source("DQMRootSource",
0007                             reScope = cms.untracked.string(""),
0008                             fileNames = cms.untracked.vstring("file:dqm_lumi_only.root"))
0009 
0010 seq = cms.untracked.VEventID()
0011 for r in range(1,11):
0012     #begin run
0013     seq.append(cms.EventID(r,0,0))
0014     for l in range(1,2):
0015         #begin lumi
0016         seq.append(cms.EventID(r,l,0))
0017         #end lumi
0018         seq.append(cms.EventID(r,l,0))
0019     #end run
0020     seq.append(cms.EventID(r,0,0))
0021 
0022 process.check = cms.EDAnalyzer("RunLumiEventChecker",
0023                                eventSequence = seq)
0024 
0025 process.e = cms.EndPath(process.check)
0026 
0027 process.add_(cms.Service("DQMStore"))
0028 #process.add_(cms.Service("Tracer"))
0029