Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ClusterSummaryProducer")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 
0007 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
0008 
0009 process.source = cms.Source("PoolSource",                            
0010                             fileNames = cms.untracked.vstring(
0011                              '/store/data/Run2011A/MinimumBias/ALCARECO/SiStripCalMinBias-v4/000/165/548/8449E5BF-8C87-E011-9F5D-003048F118C2.root'
0012                             )
0013                             )
0014 
0015 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(100)
0016 
0017 process.clusterSummaryProducer = cms.EDProducer('ClusterSummaryProducer',
0018                                         stripClusters=cms.InputTag("siStripClusters"),
0019                                         pixelClusters=cms.InputTag("siPixelClusters"),                
0020                                         doStrips=cms.bool(True),
0021                                         doPixels=cms.bool(True),
0022                                         verbose=cms.bool(False),
0023                                         wantedSubDets = cms.vstring("TOB","TIB","TID","TEC","STRIP","BPIX","FPIX","PIXEL"),
0024                                         wantedUserSubDets = cms.VPSet()
0025                                         )
0026 
0027 process.out = cms.OutputModule("PoolOutputModule",
0028                                fileName = cms.untracked.string('myOutputFile.root')
0029                                ,outputCommands = cms.untracked.vstring('drop *',
0030                                                                        'keep *_clusterSummaryProducer_*_*',
0031                                                                        )
0032                                )
0033 
0034 
0035 process.p = cms.Path(process.clusterSummaryProducer)
0036 
0037 process.e = cms.EndPath(process.out)
0038