Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:34

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 
0007 process.maxEvents = cms.untracked.PSet(
0008     input = cms.untracked.int32(1)
0009 )
0010 
0011 process.source = cms.Source("EmptySource")
0012 
0013 process.demo = cms.EDAnalyzer('TestPSetAnalyzer',
0014     testLumi = cms.LuminosityBlockID("1:2"),
0015     testVLumi = cms.VLuminosityBlockID("1:2","2:2","3:3"),
0016     testRange = cms.LuminosityBlockRange("1:2-4:MAX"),
0017     testVRange = cms.VLuminosityBlockRange("1:2-4:MAX","99:99","3:4-5:9"),
0018     testERange = cms.EventRange("1:2-4:MAX"),
0019     testVERange = cms.VEventRange("1:2-4:MAX","99:99","3:4-5:9","9:9-11:MIN"),
0020     testEvent = cms.LuminosityBlockID("1:2"),
0021     testEventID1 = cms.EventID(1, 1, 1000123456789),
0022     testEventID2 = cms.EventID(2, 1000123456790),
0023     testEventID3 = cms.EventID('3:3:1000123456791'),
0024     testEventID4 = cms.EventID('4:1000123456792'),
0025     testVEventID = cms.VEventID('1:1:1000123456789', '2:1000123456790', cms.EventID(3, 3, 1000123456791)),
0026     testERange1 = cms.EventRange("1:2:1000123456789-2:3:1000123456790"),
0027     testERange2 = cms.EventRange("3:1000123456791-4:1000123456792"),
0028     testERange3 = cms.EventRange("5:6:1000123456793"),
0029     testERange4 = cms.EventRange(7,8,1000123456794,9,10, 1000123456795),
0030     testERange5 = cms.EventRange(11, 1000123456796, 12, 1000123456797),
0031     testVERange2 = cms.VEventRange("1:2:1000123456789-2:3:1000123456790", "1:2-4:1000123456789",cms.EventRange("3:1000123456791-4:1000123456792"),cms.EventRange(11, 1000123456796, 12, 1000123456797))
0032 )
0033 
0034 process.p = cms.Path(process.demo)