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.source = cms.Source("PoolSource",
|
10 |
fileNames = cms.untracked.vstring(
|
11 |
'file:QCD_PAT_Example_Data.root'
|
12 |
)
|
13 |
)
|
14 |
|
15 |
process.demo = cms.EDAnalyzer('QCDPATExample',
|
16 |
jetCollection = cms.untracked.InputTag("selectedPatJetsAK5PF"),
|
17 |
isMonteCarlo = cms.untracked.bool(False)
|
18 |
)
|
19 |
|
20 |
process.TFileService = cms.Service("TFileService",
|
21 |
fileName = cms.string('PATTutorial.root')
|
22 |
)
|
23 |
|
24 |
|
25 |
process.p = cms.Path(process.demo)
|