ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/python/MitTreeFiller_Example.py
Revision: 1.2
Committed: Wed Sep 10 17:15:40 2008 UTC (16 years, 7 months ago) by ksung
Content type: text/x-python
Branch: MAIN
Changes since 1.1: +5 -1 lines
Log Message:
Added Met correction producer

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 ksung 1.2 #produce MET objects
28     process.load("JetMETCorrections.Configuration.MCJetCorrections152_cff")
29     process.load("JetMETCorrections.Type1MET.MetType1Corrections_cff")
30    
31 sixie 1.1 process.load("MitProd.TreeFiller.MitTreeFiller_cfi")
32    
33 ksung 1.2 process.p1 = cms.Path(process.corMetType1Icone5*process.MitTreeFiller)