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("CTPPSRawToDigiTestStripsOnly")
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("PoolSource",
0014   fileNames = cms.untracked.vstring(
0015     #'file:/afs/cern.ch/user/j/jkaspar/public/run273062_ls0001-2_stream.root'
0016     '/store/express/Run2016H/ExpressPhysics/FEVT/Express-v2/000/283/877/00000/4EE44B0E-2499-E611-A155-02163E011938.root'
0017   )
0018 )
0019 
0020 process.maxEvents = cms.untracked.PSet(
0021   input = cms.untracked.int32(100)
0022 )
0023 
0024 # raw-to-digi conversion
0025 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0026 
0027 # execution configuration
0028 process.p = cms.Path(
0029   process.totemRPRawToDigi
0030 )
0031 
0032 # output configuration
0033 process.output = cms.OutputModule("PoolOutputModule",
0034   fileName = cms.untracked.string("file:./reco_strips_digi.root"),
0035   outputCommands = cms.untracked.vstring(
0036     'drop *',
0037     'keep *_*RawToDigi_*_*',
0038   )
0039 )
0040 
0041 process.outpath = cms.EndPath(process.output)