Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-10-16 01:19:29

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Eras.Era_Run2_2018_cff import Run2_2018
0003 
0004 process = cms.Process('RECODQM', Run2_2018)
0005 
0006 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0007 process.verbosity = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0008 
0009 # minimum of logs
0010 process.MessageLogger = cms.Service("MessageLogger",
0011     cerr = cms.untracked.PSet(
0012         threshold = cms.untracked.string('WARNING')
0013     )
0014 )
0015 
0016 # import of standard configurations
0017 process.load('Configuration.StandardSequences.Services_cff')
0018 process.load('FWCore.MessageService.MessageLogger_cfi')
0019 process.load('Configuration.EventContent.EventContent_cff')
0020 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0021 
0022 # load DQM framework
0023 process.load("DQM.Integration.config.environment_cfi")
0024 process.dqmEnv.subSystemFolder = "CTPPS"
0025 process.dqmEnv.eventInfoFolder = "EventInfo"
0026 process.dqmSaver.path = ""
0027 process.dqmSaver.tag = "CTPPS"
0028 
0029 # raw data source
0030 process.source = cms.Source("PoolSource",
0031     fileNames = cms.untracked.vstring(
0032 '/store/data/Run2018D/ZeroBias/AOD/12Nov2019_UL2018_rsb-v1/280000/FE61A0D8-CEDC-2142-81AA-06301F452792.root',
0033     ),
0034 )
0035 
0036 from Configuration.AlCa.GlobalTag import GlobalTag
0037 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_hlt_relval', '')
0038 process.GlobalTag = GlobalTag(process.GlobalTag, '120X_dataRun2_v2', '')
0039 
0040 # raw-to-digi conversion
0041 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0042 
0043 # local RP reconstruction chain with standard settings
0044 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0045 process.load('Geometry.VeryForwardGeometry.geometryRPFromDD_2021_cfi')
0046 # CTPPS DQM modules
0047 process.load("DQM.CTPPS.ctppsDQM_cff")
0048 process.ctppsDiamondDQMSource.excludeMultipleHits = cms.bool(True)
0049 process.ctppsDiamondDQMSource.plotOnline = cms.untracked.bool(True)
0050 process.ctppsDiamondDQMSource.plotOffline = cms.untracked.bool(False)
0051 process.path = cms.Path(
0052     process.recoCTPPS*
0053     process.ctppsDQMOnlineSource*
0054     process.ctppsDQMOnlineHarvest
0055 )
0056 
0057 process.end_path = cms.EndPath(
0058     process.dqmEnv +
0059     process.dqmSaver
0060 )
0061 
0062 process.schedule = cms.Schedule(
0063     process.path,
0064     process.end_path
0065 )