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(100) )
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
00021
00022 stripModule=cms.string('TOB,TIB,TID,TEC,TRACKER'),
00023
00024
00025 stripVariables=cms.string('cHits,cSize,cCharge'),
00026
00027 pixelModule=cms.string('BPIX,FPIX,PIXEL'),
00028
00029
00030 pixelVariables=cms.string('pHits,pSize,pCharge'),
00031
00032
00033 doStrips=cms.bool(True),
00034 doPixels=cms.bool(True),
00035 verbose=cms.bool(False)
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