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("TEST4F")
0004 
0005 process.maxEvents.input = 3
0006 
0007 process.source = cms.Source("PoolSource",
0008   fileNames = cms.untracked.vstring('file:testSlimmingTest3F.root'),
0009   secondaryFileNames = cms.untracked.vstring('file:testSlimmingTest3B.root')
0010 )
0011 
0012 process.testABEF = cms.EDAnalyzer("ThinningTestAnalyzer",
0013     parentTag = cms.InputTag('thinningThingProducerABE'),
0014     thinnedTag = cms.InputTag('thinningThingProducerABEF'),
0015     associationTag = cms.InputTag('thinningThingProducerABEF'),
0016     trackTag = cms.InputTag('trackOfThingsProducerF'),
0017     parentWasDropped = cms.bool(True),
0018     thinnedSlimmedCount = cms.int32(1),
0019     refSlimmedCount = cms.int32(1),
0020     expectedParentContent = cms.vint32(range(6,11)),
0021     expectedThinnedContent = cms.vint32(range(6,9)),
0022     expectedIndexesIntoParent = cms.vuint32(range(0,3)),
0023     expectedValues = cms.vint32(range(6,9)),
0024 )
0025 
0026 process.p = cms.Path(
0027     process.testABEF
0028 )