Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("CTPPSRawToDigiTestDiamondsOnly")
0004 
0005 # minimum of logs
0006 process.MessageLogger = cms.Service("MessageLogger",
0007     cerr = cms.untracked.PSet(
0008         threshold = cms.untracked.string('DEBUG')
0009     )
0010 )
0011 
0012 # raw data source
0013 process.source = cms.Source("NewEventStreamFileReader",
0014   fileNames = cms.untracked.vstring(
0015         '/store/t0streamer/Minidaq/A/000/298/442/run298442_ls0001_streamA_StorageManager.dat'
0016   )
0017 )
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020   input = cms.untracked.int32(20)
0021 )
0022 
0023 # raw-to-digi conversion
0024 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0025  
0026 process.p = cms.Path(
0027   process.ctppsDiamondRawToDigi
0028 )
0029 
0030 # output configuration
0031 process.output = cms.OutputModule("PoolOutputModule",
0032   fileName = cms.untracked.string("file:./reco_diamond_digi.root"),
0033   outputCommands = cms.untracked.vstring(
0034     'drop *',
0035     'keep *_ctppsDiamondRawToDigi_*_*',
0036  )
0037 )
0038 
0039 process.outpath = cms.EndPath(process.output)