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"),
22 stripModule=cms.string(
'TOB,TIB,TID,TEC,TRACKER'),
25 stripVariables=cms.string(
'cHits,cSize,cCharge'),
27 pixelModule=cms.string(
'BPIX,FPIX,PIXEL'),
30 pixelVariables=cms.string(
'pHits,pSize,pCharge'),
33 doStrips=cms.bool(
True),
34 doPixels=cms.bool(
True),
35 verbose=cms.bool(
False)
38 process.out = cms.OutputModule(
"PoolOutputModule",
39 fileName = cms.untracked.string(
'myOutputFile.root')
40 ,outputCommands = cms.untracked.vstring(
'drop *',
41 'keep *_clusterSummaryProducer_*_*',
46 process.p = cms.Path(process.clusterSummaryProducer)
48 process.e = cms.EndPath(process.out)