Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST4")
0004 
0005 process.options = cms.untracked.PSet(
0006     numberOfStreams = cms.untracked.uint32(1)
0007 )
0008 
0009 process.maxEvents = cms.untracked.PSet(
0010     input = cms.untracked.int32(3)
0011 )
0012 
0013 process.source = cms.Source("PoolSource",
0014   fileNames = cms.untracked.vstring('file:testThinningTest3Slimming.root')
0015 )
0016 
0017 process.slimmingTestA = cms.EDAnalyzer("ThinningTestAnalyzer",
0018     parentTag = cms.InputTag('thingProducer', '', 'PROD'),
0019     thinnedTag = cms.InputTag('slimmingThingProducerA'),
0020     associationTag = cms.InputTag('slimmingThingProducerA'),
0021     trackTag = cms.InputTag('trackOfThingsProducerA'),
0022     parentWasDropped = cms.bool(True),
0023     thinnedSlimmedCount = cms.int32(1),
0024     refSlimmedCount = cms.int32(1),
0025     expectedParentContent = cms.vint32( 0,  1,  2,  3,  4,  5,  6,  7,  8,  9,
0026                                        10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
0027                                        20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
0028                                        30, 31, 32, 33, 34, 35, 36, 37, 38, 39,
0029                                        40, 41, 42, 43, 44, 45, 46, 47, 48, 49
0030     ),
0031     expectedThinnedContent = cms.vint32(0, 1, 2, 3, 4, 5, 6, 7, 8),
0032     expectedIndexesIntoParent = cms.vuint32(0, 1, 2, 3, 4, 5, 6, 7, 8),
0033     expectedValues = cms.vint32(0, 1, 2, 3, 4, 5, 6, 7, 8)
0034 )
0035 
0036 process.p = cms.Path(process.slimmingTestA)