Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:53

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_run_only.root"))
0009 
0010 #NOTE: even though we only store histograms on runs, we still record the lumis that were seen
0011 seq = cms.untracked.VEventID()
0012 for r in range(1,11):
0013     #begin run
0014     seq.append(cms.EventID(r,0,0))
0015     for l in range(1,2):
0016         #begin lumi
0017         seq.append(cms.EventID(r,l,0))
0018         #end lumi
0019         seq.append(cms.EventID(r,l,0))
0020     #end run
0021     seq.append(cms.EventID(r,0,0))
0022 
0023 
0024 process.check = cms.EDAnalyzer("RunLumiEventChecker",
0025                                eventSequence = seq)
0026 
0027 process.e = cms.EndPath(process.check)
0028 
0029 process.add_(cms.Service("DQMStore"))
0030 #process.add_(cms.Service("Tracer"))
0031