1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import FWCore.ParameterSet.Config as cms
process = cms.Process("TEST3I")
process.maxEvents.input = 3
process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring('file:testSlimmingTest2I.root')
)
process.testB = cms.EDAnalyzer("ThinningTestAnalyzer",
parentTag = cms.InputTag('thingProducer'),
thinnedTag = cms.InputTag('thinningThingProducerB'),
associationTag = cms.InputTag('thinningThingProducerB'),
trackTag = cms.InputTag('trackOfThingsProducerB'),
parentWasDropped = cms.bool(True),
thinnedSlimmedCount = cms.int32(1),
refSlimmedCount = cms.int32(1),
expectedThinnedContent = cms.vint32(range(0,11)),
expectedIndexesIntoParent = cms.vuint32(range(0,11)),
expectedValues = cms.vint32(range(0,11)),
)
process.p = cms.Path(
process.testB
)
|