CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/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:/uscms_data/d2/mike1886/ClusterSummary/CMSSW_5_3_3/src/tracks_and_vertices.root'
00013         'file:/uscms_data/d2/mike1886/ClusterSummary/CMSSW_5_3_3/src/RecoLocalTracker/SubCollectionProducers/myOutputFile.root'
00014         )
00015 )
00016 
00017 
00018 #name of the output file containing the tree
00019 process.TFileService = cms.Service("TFileService", fileName = cms.string("summaryTree.root") )
00020 
00021 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1000)
00022 
00023 process.demo = cms.EDAnalyzer('ClusterAnalyzer',
00024                               clusterSum    = cms.InputTag('clusterSummaryProducer')
00025 )
00026 
00027 
00028 process.p = cms.Path(process.demo)