ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/QCDPATExample/test/qcdpatexample_cfg.py
Revision: 1.7
Committed: Thu Mar 11 16:06:53 2010 UTC (15 years, 1 month ago) by krose
Content type: text/x-python
Branch: MAIN
Changes since 1.6: +1 -1 lines
Log Message:
updating example

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.7 'rfio:////castor/cern.ch/user/k/krose/jetSkim.root'
12 vchetlur 1.1 )
13     )
14    
15 vchetlur 1.2 process.demo = cms.EDAnalyzer('QCDPATExample',
16 krose 1.4 jetCollection = cms.untracked.InputTag("selectedLayer1Jets"),
17 krose 1.5 isMonteCarlo = cms.untracked.bool(True)
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)