Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:14:47

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("CTPPSRawToDigiTestStandardSequence")
0004 
0005 # minimum of logs
0006 process.MessageLogger = cms.Service("MessageLogger",
0007     cerr = cms.untracked.PSet(
0008         threshold = cms.untracked.string('WARNING')
0009     )
0010 )
0011 
0012 # raw data source
0013 process.source = cms.Source("NewEventStreamFileReader",
0014     fileNames = cms.untracked.vstring(
0015 #        '/store/express/Run2016H/ExpressPhysics/FEVT/Express-v2/000/283/877/00000/4EE44B0E-2499-E611-A155-02163E011938.root'
0016         'file:/eos/cms/store/group/dpg_ctpps/comm_ctpps/TotemTiming/Minidaq/519/run312519_ls0002_streamA_StorageManager.dat'
0017     )
0018 )
0019 
0020 process.maxEvents = cms.untracked.PSet(
0021     input = cms.untracked.int32(10)
0022 )
0023 
0024 process.verbosity = cms.untracked.PSet(
0025     input = cms.untracked.int32(10)
0026 )
0027 
0028 # raw-to-digi conversion
0029 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0030 
0031 # execution configuration
0032 process.p = cms.Path(
0033     process.ctppsRawToDigi
0034 )
0035 
0036 # output configuration
0037 process.output = cms.OutputModule("PoolOutputModule",
0038     fileName = cms.untracked.string("file:./totemTiming_digi.root"),
0039     outputCommands = cms.untracked.vstring(
0040       'drop *',
0041       'keep *_*totemTimingRawToDigi_*_*',
0042     )
0043 )
0044 
0045 process.outpath = cms.EndPath(process.output)
0046