CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
clusteranalyzer_cfg.py
Go to the documentation of this file.
2 
3 process = cms.Process("Demo")
4 
5 process.load("FWCore.MessageService.MessageLogger_cfi")
6 
7 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
8 
9 process.source = cms.Source("PoolSource",
10 
11  fileNames = cms.untracked.vstring(
12  #'file:/uscms_data/d2/mike1886/ClusterSummary/CMSSW_5_3_3/src/tracks_and_vertices.root'
13  'file:/uscms_data/d2/mike1886/ClusterSummary/CMSSW_5_3_3/src/RecoLocalTracker/SubCollectionProducers/myOutputFile.root'
14  )
15 )
16 
17 
18 #name of the output file containing the tree
19 process.TFileService = cms.Service("TFileService", fileName = cms.string("summaryTree.root") )
20 
21 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1000)
22 
23 process.demo = cms.EDAnalyzer('ClusterAnalyzer',
24  clusterSum = cms.InputTag('clusterSummaryProducer')
25 )
26 
27 
28 process.p = cms.Path(process.demo)