1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ClusterSummaryProducer")
5 process.load(
"FWCore.MessageService.MessageLogger_cfi")
7 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
9 process.source = cms.Source(
"PoolSource",
10 fileNames = cms.untracked.vstring(
11 '/store/data/Run2011A/MinimumBias/ALCARECO/SiStripCalMinBias-v4/000/165/548/8449E5BF-8C87-E011-9F5D-003048F118C2.root' 15 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(100)
17 process.clusterSummaryProducer = cms.EDProducer(
'ClusterSummaryProducer',
18 stripClusters=cms.InputTag(
"siStripClusters"),
19 pixelClusters=cms.InputTag(
"siPixelClusters"),
20 doStrips=cms.bool(
True),
21 doPixels=cms.bool(
True),
22 verbose=cms.bool(
False),
23 wantedSubDets = cms.vstring(
"TOB",
"TIB",
"TID",
"TEC",
"STRIP",
"BPIX",
"FPIX",
"PIXEL"),
24 wantedUserSubDets = cms.VPSet()
27 process.out = cms.OutputModule(
"PoolOutputModule",
28 fileName = cms.untracked.string(
'myOutputFile.root')
29 ,outputCommands = cms.untracked.vstring(
'drop *',
30 'keep *_clusterSummaryProducer_*_*',
35 process.p = cms.Path(process.clusterSummaryProducer)
37 process.e = cms.EndPath(process.out)