Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-14 02:22:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Modifier_ctpps_cff import ctpps
0004 process = cms.Process('ctppsDQMfromRAW', ctpps)
0005 
0006 # minimum of logs
0007 process.MessageLogger = cms.Service("MessageLogger",
0008   statistics = cms.untracked.vstring(),
0009   destinations = cms.untracked.vstring('cerr'),
0010   cerr = cms.untracked.PSet(
0011       threshold = cms.untracked.string('WARNING')
0012   )
0013 )
0014 
0015 # load DQM framework
0016 process.load("DQM.Integration.config.environment_cfi")
0017 process.dqmEnv.subSystemFolder = "CTPPS"
0018 process.dqmEnv.eventInfoFolder = "EventInfo"
0019 process.dqmSaver.path = ""
0020 process.dqmSaver.tag = "CTPPS"
0021 
0022 # raw data source
0023 process.source = cms.Source("NewEventStreamFileReader",
0024   fileNames = cms.untracked.vstring(
0025          '/store/t0streamer/Data/Express/000/319/992/run319992_ls0259_streamExpress_StorageManager.dat'
0026   ),
0027 )
0028 
0029 process.maxEvents = cms.untracked.PSet(
0030   input = cms.untracked.int32(8000)
0031 )
0032 
0033 # global tag - conditions for P5 cluster
0034 process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
0035 
0036 # raw-to-digi conversion
0037 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0038 
0039 # local RP reconstruction chain with standard settings
0040 process.load("RecoPPS.Configuration.recoCTPPS_DD_cff")
0041 
0042 process.load('EventFilter.OnlineMetaDataRawToDigi.onlineMetaDataRawToDigi_cfi')
0043 process.onlineMetaDataDigis = cms.EDProducer('OnlineMetaDataRawToDigi')
0044 
0045 # CTPPS DQM modules
0046 process.load("DQM.CTPPS.ctppsDQM_cff")
0047 
0048 process.path = cms.Path(
0049   process.ctppsRawToDigi *
0050   process.onlineMetaDataDigis *
0051   process.recoCTPPS *
0052   process.ctppsDQMElastic
0053 )
0054 
0055 process.end_path = cms.EndPath(
0056   process.dqmEnv +
0057   process.dqmSaver
0058 )
0059 
0060 process.schedule = cms.Schedule(
0061   process.path,
0062   process.end_path
0063 )