test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
clustersummaryproducer_cfg.py
Go to the documentation of this file.
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  #Module=cms.string('TOB, TIB, TID, TEC, TIB_1, TOB_4, TECM, TECP, TIDM, TIDP, TECM_1, TECP_2, TIDM_3, TIDP_1'),
21  #Module=cms.string( TOB, TIB, TID, TEC, TRACKER')
22  stripModule=cms.string('TOB,TIB,TID,TEC,TRACKER'),
23  #Module=cms.string('TECP,TECP_1,TECP_2,TECP_3,TECP_4,TECP_5,TECP_6,TECP_7,TECP_8,TECP_9'),
24  #Module=cms.string('TOB, TECPR_2, TIDMR_2'),
25  stripVariables=cms.string('cHits,cSize,cCharge'),
26  #pixelModule=cms.string('BPIX,FPIX,FPIXM,FPIXP,PIXEL'),
27  pixelModule=cms.string('BPIX,FPIX,PIXEL'),
28  #pixelModule=cms.string('BPIX,BPIX_1,BPIX_2,BPIX_3'),
29  #pixelModule=cms.string('FPIX,FPIX_1,FPIXM_1,FPIXP_1,FPIX_2,FPIXM_2,FPIXP_2,FPIX_3,FPIXM_3,FPIXP_3'),
30  pixelVariables=cms.string('pHits,pSize,pCharge'),
31  #pixelModule=cms.string('FPIXM,FPIXM_1,FPIXM_2,FPIXM_3,FPIXP,FPIXP_1,FPIXP_2,FPIXP_3'),
32  #pixelModule=cms.string('FPIX,FPIX_1,FPIXM_1,FPIXP_1,FPIX_2,FPIXM_2,FPIXP_2,FPIX_3,FPIXM_3,FPIXP_3'),
33  doStrips=cms.bool(True),
34  doPixels=cms.bool(True),
35  verbose=cms.bool(False)
36  )
37 
38 process.out = cms.OutputModule("PoolOutputModule",
39  fileName = cms.untracked.string('myOutputFile.root')
40  ,outputCommands = cms.untracked.vstring('drop *',
41  'keep *_clusterSummaryProducer_*_*',
42  )
43  )
44 
45 
46 process.p = cms.Path(process.clusterSummaryProducer)
47 
48 process.e = cms.EndPath(process.out)
49