1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
3 |
process = cms.Process("OWNPARTICLES")
|
4 |
|
5 |
process.load("FWCore.MessageService.MessageLogger_cfi")
|
6 |
|
7 |
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
|
8 |
|
9 |
process.source = cms.Source("PoolSource",
|
10 |
# replace 'myfile.root' with the source file you want to use
|
11 |
fileNames = cms.untracked.vstring(
|
12 |
'file:myfile.root'
|
13 |
)
|
14 |
)
|
15 |
|
16 |
process.myProducerLabel = cms.EDProducer('RPCPlusHOLayer'
|
17 |
)
|
18 |
|
19 |
process.out = cms.OutputModule("PoolOutputModule",
|
20 |
fileName = cms.untracked.string('myOutputFile.root')
|
21 |
)
|
22 |
|
23 |
|
24 |
process.p = cms.Path(process.myProducerLabel)
|
25 |
|
26 |
process.e = cms.EndPath(process.out)
|