ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/System8/EDModule/Analyzer/test/S8TreeMaker_cfg.py
Revision: 1.1
Committed: Fri May 6 13:51:09 2011 UTC (13 years, 11 months ago) by samvel
Content type: text/x-python
Branch: MAIN
CVS Tags: V00-00-04, V00-00-03, V00-00-02, V00-00-01, HEAD
Log Message:
Add Analyzer code

File Contents

# User Rev Content
1 samvel 1.1 import FWCore.ParameterSet.Config as cms
2    
3     process = cms.Process("S8TreeMaker")
4    
5     process.load("FWCore.MessageService.MessageLogger_cfi")
6     process.MessageLogger.cerr.FwkReport.reportEvery = 1000
7    
8     process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000))
9    
10     process.source = cms.Source("PoolSource",
11     fileNames = cms.untracked.vstring()
12     )
13    
14     for file in open("input.txt").readlines():
15     process.source.fileNames.append(file.strip())
16    
17     process.options = cms.untracked.PSet(
18     wantSummary = cms.untracked.bool(True)
19     )
20    
21     process.TFileService = cms.Service(
22     "TFileService",
23    
24     fileName = cms.string("s8_tree.root")
25     )
26    
27     process.load("EDModule.Analyzer.S8TreeMaker_cfi")
28    
29     process.p = cms.Path(
30     process.S8TreeMaker
31     )
32    
33     import FWCore.ParameterSet.printPaths as pp
34     pp.printPaths(process)