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
27
28
29
30
31
|
# Configuration file for PartialEventTest_cfg.py
import FWCore.ParameterSet.Config as cms
process = cms.Process("TEST")
process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(2)
)
process.source = cms.Source("EmptySource")
process.Thing = cms.EDProducer("ThingProducer",
offsetDelta = cms.int32(1)
)
process.filter = cms.EDFilter("TestFilterModule",
onlyOne = cms.untracked.bool(True),
acceptValue = cms.untracked.int32(2)
)
process.OtherThing = cms.EDProducer("OtherThingProducer")
process.out = cms.OutputModule("PoolOutputModule",
fileName = cms.untracked.string('partialEventDataFormatsFWLite.root')
)
process.p = cms.Path( (process.Thing+process.filter)*process.OtherThing)
process.outp = cms.EndPath(process.out)
|