Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:25:24

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("testevtloop")
0004 process.load("FWCore.MessageService.MessageLogger_cfi")
0005 
0006 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0007 process.options = cms.untracked.PSet(
0008   wantSummary = cms.untracked.bool(True),
0009   Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0010 )
0011 process.maxLuminosityBlocks=cms.untracked.PSet(
0012     input=cms.untracked.int32(-1)
0013 )
0014 
0015 #process.source = cms.Source("EmptySource",
0016 #     numberEventsInRun = cms.untracked.uint32(45),
0017 #     firstRun = cms.untracked.uint32(122314),
0018 #     numberEventsInLuminosityBlock = cms.untracked.uint32(1),
0019 #     firstLuminosityBlock = cms.untracked.uint32(1)
0020 #)
0021 
0022 process.source= cms.Source("PoolSource",
0023               processingMode=cms.untracked.string('RunsAndLumis'),
0024               fileNames=cms.untracked.vstring(
0025                     'file:simSample122314-2.root',
0026                     'file:simSample122314-1.root',
0027                     'file:simSample122314-3.root',
0028                     ),             
0029               firstRun=cms.untracked.uint32(122314),
0030               #firstLuminosityBlock = cms.untracked.uint32(1),        
0031               #firstEvent=cms.untracked.uint32(1)
0032              )
0033 process.test = cms.EDAnalyzer("testEvtLoop")
0034 
0035 process.p1 = cms.Path( process.test)
0036