CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/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/Run2011A/MinimumBias/ALCARECO/SiStripCalMinBias-v4/000/165/548/8449E5BF-8C87-E011-9F5D-003048F118C2.root'
00012                             )
00013                             )
00014 
00015 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(100)
00016 
00017 process.ClusterSummaryProducer = cms.EDProducer('ClusterSummaryProducer',
00018                                         stripClusters=cms.InputTag("siStripClusters"),
00019                                         pixelClusters=cms.InputTag("siPixelClusters"),
00020                                         #Module=cms.string('TOB, TIB, TID, TEC, TIB_1, TOB_4, TECM, TECP, TIDM, TIDP, TECM_1, TECP_2, TIDM_3, TIDP_1'),
00021                                         #Module=cms.string( TOB, TIB, TID, TEC, TRACKER')
00022                                         stripModule=cms.string('TOB,TIB'),        
00023                                         #Module=cms.string('TECP,TECP_1,TECP_2,TECP_3,TECP_4,TECP_5,TECP_6,TECP_7,TECP_8,TECP_9'),
00024                                         #Module=cms.string('TOB, TECPR_2, TIDMR_2'),
00025                                         stripVariables=cms.string('cHits,cSize,cCharge'),
00026                                         #pixelModule=cms.string('BPIX,FPIX,FPIXM,FPIXP,PIXEL'),        
00027                                         #pixelModule=cms.string('BPIX,FPIX'),        
00028                                         #pixelModule=cms.string('BPIX,BPIX_1,BPIX_2,BPIX_3'),        
00029                                         pixelModule=cms.string('FPIX,FPIX_1,FPIXM_1,FPIXP_1,FPIX_2,FPIXM_2,FPIXP_2,FPIX_3,FPIXM_3,FPIXP_3'),        
00030                                         pixelVariables=cms.string('pHits,pSize,pCharge'),
00031                                         #pixelModule=cms.string('FPIXM,FPIXM_1,FPIXM_2,FPIXM_3,FPIXP,FPIXP_1,FPIXP_2,FPIXP_3'),        
00032                                         #pixelModule=cms.string('FPIX,FPIX_1,FPIXM_1,FPIXP_1,FPIX_2,FPIXM_2,FPIXP_2,FPIX_3,FPIXM_3,FPIXP_3'),        
00033                                         doStrips=cms.bool(False),
00034                                         doPixels=cms.bool(True),
00035                                         verbose=cms.bool(True)
00036                                         )
00037 
00038 process.out = cms.OutputModule("PoolOutputModule",
00039                                fileName = cms.untracked.string('myOutputFile.root')
00040                                ,outputCommands = cms.untracked.vstring('drop *',
00041                                                                        'keep *_clusterSummaryProducer_*_*',
00042                                                                        )
00043                                )
00044 
00045 
00046 process.p = cms.Path(process.ClusterSummaryProducer)
00047 
00048 process.e = cms.EndPath(process.out)
00049