ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/python/MitTreeFiller_Example.py
Revision: 1.1
Committed: Mon Aug 18 15:02:36 2008 UTC (16 years, 8 months ago) by sixie
Content type: text/x-python
Branch: MAIN
Log Message:
Example python config file for the MitFiller

File Contents

# User Rev Content
1 sixie 1.1 import FWCore.ParameterSet.Config as cms
2    
3     process = cms.Process("MitFillerTest")
4    
5     #this is used to compute ECAL shower shape variables
6     process.load("Configuration.StandardSequences.Geometry_cff")
7     process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
8     process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
9     process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
10    
11     process.source = cms.Source("PoolSource",
12     fileNames = cms.untracked.vstring('file:testfile.root')
13     )
14    
15     process.maxEvents = cms.untracked.PSet(
16     input = cms.untracked.int32(100)
17     )
18    
19     process.load("FWCore.MessageLogger.MessageLogger_cfi")
20    
21     process.TreeService = cms.Service("TreeService",
22     fileNames = cms.untracked.vstring('mit-filler-RelVal210_Zee')
23     )
24    
25     process.add_(cms.Service("ObjectService"))
26    
27     process.load("MitProd.TreeFiller.MitTreeFiller_cfi")
28    
29     process.p1 = cms.Path(process.MitTreeFiller)