ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/QCDPATExample/test/qcdpatexample_cfg.py
Revision: 1.8
Committed: Thu Sep 23 13:25:19 2010 UTC (14 years, 7 months ago) by krose
Content type: text/x-python
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +3 -3 lines
Log Message:
updating for 3_8_2

File Contents

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