1 |
auterman |
1.1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
|
|
3 |
|
|
process = cms.Process("Demo")
|
4 |
|
|
|
5 |
|
|
process.load("FWCore.MessageService.MessageLogger_cfi")
|
6 |
|
|
|
7 |
|
|
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
|
8 |
|
|
|
9 |
|
|
process.TFileService = cms.Service("TFileService",
|
10 |
|
|
fileName = cms.string("histo.root") )
|
11 |
|
|
|
12 |
|
|
process.source = cms.Source("PoolSource",
|
13 |
|
|
# replace 'myfile.root' with the source file you want to use
|
14 |
|
|
fileNames = cms.untracked.vstring(
|
15 |
|
|
'file:myfile.root'
|
16 |
|
|
)
|
17 |
|
|
)
|
18 |
|
|
|
19 |
|
|
process.finalPlot = cms.EDAnalyzer('FinalPlots'
|
20 |
|
|
)
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
process.p = cms.Path(process.finalPlot)
|