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
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
00022
00023 stripModule=cms.string('TOB,TIB'),
00024
00025
00026 stripVariables=cms.string('cHits,cSize,cCharge'),
00027
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)