ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/QCDPATExample/test/qcdpatexample_cfg.py
Revision: 1.4
Committed: Thu Dec 3 14:56:35 2009 UTC (15 years, 5 months ago) by krose
Content type: text/x-python
Branch: MAIN
Changes since 1.3: +3 -2 lines
Log Message:
updating to add cosmic 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     # replace 'myfile.root' with the source file you want to use
11     fileNames = cms.untracked.vstring(
12 krose 1.4 'file:jetSkim.root'
13 vchetlur 1.1 )
14     )
15    
16 vchetlur 1.2 process.demo = cms.EDAnalyzer('QCDPATExample',
17 krose 1.4 jetCollection = cms.untracked.InputTag("selectedLayer1Jets"),
18     isMonteCarlo = cms.untracked.bool(False)
19 vchetlur 1.1 )
20    
21     process.TFileService = cms.Service("TFileService",
22     fileName = cms.string('PATTutorial.root')
23     )
24    
25    
26     process.p = cms.Path(process.demo)