CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoLocalTracker/SubCollectionProducers/python/clusteranalyzer_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("Demo")
00004 
00005 process.load("FWCore.MessageService.MessageLogger_cfi")
00006 
00007 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
00008 
00009 process.source = cms.Source("PoolSource",
00010 
00011     fileNames = cms.untracked.vstring(
00012         'file:myOutputFile.root'
00013         )
00014 )
00015 
00016 
00017 #name of the output file containing the tree
00018 process.TFileService = cms.Service("TFileService", fileName = cms.string("summaryTree.root") )
00019 
00020 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1000)
00021 
00022 process.demo = cms.EDAnalyzer('ClusterAnalyzer',
00023                               clusterSum    = cms.InputTag('ClusterSummaryProducer')
00024 )
00025 
00026 
00027 process.p = cms.Path(process.demo)