CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch2/src/RecoLocalTracker/SubCollectionProducers/python/clustersummaryproducer_cfg.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 process = cms.Process("ClusterSummaryProducer")
00004 
00005 process.load("FWCore.MessageService.MessageLogger_cfi")
00006 
00007 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10) )
00008 
00009 process.source = cms.Source("PoolSource",                            
00010                             fileNames = cms.untracked.vstring(
00011                             #'/store/data/Run2010B/MinimumBias/ALCARECO/SiStripCalMinBias-v2/000/146/511/A87F9318-92C7-DF11-985E-001D09F27003.root'
00012                              '/store/data/Run2011A/MinimumBias/ALCARECO/SiStripCalMinBias-v4/000/165/548/8449E5BF-8C87-E011-9F5D-003048F118C2.root'
00013                             )
00014                             )
00015 
00016 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(100)
00017 
00018 process.ClusterSummaryProducer = cms.EDProducer('ClusterSummaryProducer',
00019                                         stripClusters=cms.InputTag("siStripClusters"),
00020                                         pixelClusters=cms.InputTag("siPixelClusters"),
00021                                         #Module=cms.string('TOB, TIB, TID, TEC, TIB_1, TOB_4, TECM, TECP, TIDM, TIDP, TECM_1, TECP_2, TIDM_3, TIDP_1'),
00022                                         #Module=cms.string( TOB, TIB, TID, TEC, TRACKER')
00023                                         stripModule=cms.string('TOB,TIB'),        
00024                                         #Module=cms.string('TECP,TECP_1,TECP_2,TECP_3,TECP_4,TECP_5,TECP_6,TECP_7,TECP_8,TECP_9'),
00025                                         #Module=cms.string('TOB, TECPR_2, TIDMR_2'),
00026                                         stripVariables=cms.string('cHits,cSize,cCharge'),
00027                                         #pixelModule=cms.string('BPIX,FPIX,FPIXM,FPIXP,PIXEL'),        
00028                                         pixelModule=cms.string('BPIX,FPIX'),        
00029                                         pixelVariables=cms.string('pHits,pSize,pCharge'),
00030                                         doStrips=cms.bool(True),
00031                                         doPixels=cms.bool(True),
00032                                         verbose=cms.bool(False)
00033                                         )
00034 
00035 process.out = cms.OutputModule("PoolOutputModule",
00036                                fileName = cms.untracked.string('myOutputFile.root')
00037                                ,outputCommands = cms.untracked.vstring('drop *',
00038                                                                        'keep *_ClusterSummaryProducer_*_*',
00039                                                                        )
00040                                )
00041 
00042 
00043 process.p = cms.Path(process.ClusterSummaryProducer)
00044 
00045 process.e = cms.EndPath(process.out)