CMS 3D CMS Logo

clustersummaryproducer_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("ClusterSummaryProducer")
4 
5 process.load("FWCore.MessageService.MessageLogger_cfi")
6 
7 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
8 
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'
12  )
13  )
14 
15 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(100)
16 
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()
25  )
26 
27 process.out = cms.OutputModule("PoolOutputModule",
28  fileName = cms.untracked.string('myOutputFile.root')
29  ,outputCommands = cms.untracked.vstring('drop *',
30  'keep *_clusterSummaryProducer_*_*',
31  )
32  )
33 
34 
35 process.p = cms.Path(process.clusterSummaryProducer)
36 
37 process.e = cms.EndPath(process.out)
38