ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/QCDPATExample/test/qcdpatexample_cfg.py
Revision: 1.6
Committed: Thu Dec 3 21:13:44 2009 UTC (15 years, 5 months ago) by vchetlur
Content type: text/x-python
Branch: MAIN
Changes since 1.5: +1 -2 lines
Log Message:
Changed the location of the input file

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 vchetlur 1.6 'rfio:////castor/cern.ch/user/v/vchetlur/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)