Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('RECODQM')
0004 
0005 # minimum of logs
0006 process.MessageLogger = cms.Service("MessageLogger",
0007   statistics = cms.untracked.vstring(),
0008   destinations = cms.untracked.vstring('cerr'),
0009   cerr = cms.untracked.PSet(
0010       threshold = cms.untracked.string('WARNING')
0011   )
0012 )
0013 
0014 # load DQM framework
0015 process.load("DQM.Integration.config.environment_cfi")
0016 process.dqmEnv.subSystemFolder = "CTPPS"
0017 process.dqmEnv.eventInfoFolder = "EventInfo"
0018 process.dqmSaver.path = ""
0019 process.dqmSaver.tag = "CTPPS"
0020 
0021 # raw data source
0022 process.source = cms.Source("PoolSource",
0023   fileNames = cms.untracked.vstring(
0024     # run 274199, fill 4961, 29 May 2016 (before TS2)
0025     #'/store/data/Run2016B/DoubleEG/RAW/v2/000/274/199/00000/04985451-9B26-E611-BEB9-02163E013859.root',
0026     #'root://eostotem.cern.ch//eos/totem/user/j/jkaspar/04C8034A-9626-E611-9B6E-02163E011F93.root'
0027 
0028     # run 283877, fill 5442, 23 Oct 2016 (after TS2)
0029     '/store/data/Run2016H/HLTPhysics/RAW/v1/000/283/877/00000/F28F8896-999B-E611-93D8-02163E013706.root',
0030 
0031     # test file for 2017 mapping (vertical RPs only)
0032     #'root://eostotem.cern.ch//eos/totem/data/ctpps/run290874.root'
0033   ),
0034   inputCommands = cms.untracked.vstring(
0035     'drop *',
0036     'keep FEDRawDataCollection_*_*_*'
0037   )
0038 )
0039 
0040 process.maxEvents = cms.untracked.PSet(
0041   input = cms.untracked.int32(8000)
0042 )
0043 
0044 # raw-to-digi conversion
0045 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0046 
0047 # local RP reconstruction chain with standard settings
0048 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0049 
0050 # CTPPS DQM modules
0051 process.load("DQM.CTPPS.ctppsDQM_cff")
0052 
0053 process.path = cms.Path(
0054   process.ctppsRawToDigi *
0055   process.recoCTPPS *
0056   process.ctppsDQM
0057 )
0058 
0059 process.end_path = cms.EndPath(
0060   process.dqmEnv +
0061   process.dqmSaver
0062 )
0063 
0064 process.schedule = cms.Schedule(
0065   process.path,
0066   process.end_path
0067 )