Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:38

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("getLumiRaw")
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 #
0012 #keep maxEvents equal to numberEventsInRun so that we augment LS
0013 #
0014 process.maxEvents=cms.untracked.PSet(
0015     input=cms.untracked.int32(100)
0016 )
0017 process.maxLuminosityBlocks=cms.untracked.PSet(
0018     input=cms.untracked.int32(10)
0019 )
0020 
0021 process.source = cms.Source("EmptySource",                            
0022      numberEventsInRun = cms.untracked.uint32(100),
0023      firstRun = cms.untracked.uint32(122314),
0024      numberEventsInLuminosityBlock = cms.untracked.uint32(10),
0025      firstLuminosityBlock = cms.untracked.uint32(1)
0026 )
0027 
0028 process.genlumiraw = cms.EDAnalyzer("genLumiRaw")
0029 
0030 process.p1 = cms.Path( process.genlumiraw )
0031