ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/QCDPATExample/test/qcdpatexample_cfg.py
Revision: 1.2
Committed: Thu Sep 3 23:38:47 2009 UTC (15 years, 8 months ago) by vchetlur
Content type: text/x-python
Branch: MAIN
Changes since 1.1: +1 -1 lines
Log Message:
*** empty log message ***

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     # replace 'myfile.root' with the source file you want to use
11     fileNames = cms.untracked.vstring(
12     '/castor/cern.ch/user/v/vchetlur/PATTutorial.root'
13     )
14     )
15    
16 vchetlur 1.2 process.demo = cms.EDAnalyzer('QCDPATExample',
17 vchetlur 1.1 jetCollection = cms.untracked.InputTag("allLayer1Jets")
18     )
19    
20     process.TFileService = cms.Service("TFileService",
21     fileName = cms.string('PATTutorial.root')
22     )
23    
24    
25     process.p = cms.Path(process.demo)