Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST3F")
0004 
0005 process.maxEvents.input = 3
0006 
0007 process.source = cms.Source("PoolSource",
0008   fileNames = cms.untracked.vstring('file:testSlimmingTest2F.root')
0009 )
0010 
0011 process.testABEF = cms.EDAnalyzer("ThinningTestAnalyzer",
0012     parentTag = cms.InputTag('thinningThingProducerABE'),
0013     thinnedTag = cms.InputTag('thinningThingProducerABEF'),
0014     associationTag = cms.InputTag('thinningThingProducerABEF'),
0015     trackTag = cms.InputTag('trackOfThingsProducerF'),
0016     parentWasDropped = cms.bool(True),
0017     thinnedSlimmedCount = cms.int32(1),
0018     refSlimmedCount = cms.int32(1),
0019     expectedParentContent = cms.vint32(range(6,11)),
0020     expectedThinnedContent = cms.vint32(range(6,9)),
0021     expectedIndexesIntoParent = cms.vuint32(range(0,3)),
0022     expectedValues = cms.vint32(range(6,9)),
0023 )
0024 
0025 process.outF = cms.OutputModule("PoolOutputModule",
0026     fileName = cms.untracked.string('testSlimmingTest3F.root'),
0027     outputCommands = cms.untracked.vstring(
0028         'keep *',
0029     )
0030 )
0031 
0032 process.p = cms.Path(
0033     process.testABEF
0034 )
0035 
0036 process.ep = cms.EndPath(
0037     process.outF
0038 )