Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-08 02:27:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Era_Run3_cff import Run3
0004 process = cms.Process("DQMLumi", Run3)
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0007 
0008 #----------------------------
0009 # Event Source
0010 #----------------------------
0011 process.load("DQM.Integration.config.inputsource_cfi")
0012 from DQM.Integration.config.inputsource_cfi import options
0013 #process.DQMEventStreamHttpReader.consumerName = 'DQM Luminosity Consumer'
0014 #process.DQMEventStreamHttpReader.SelectHLTOutput = cms.untracked.string('hltOutputALCALUMIPIXELS')
0015 
0016 #----------------------------
0017 # DQM Environment
0018 #----------------------------
0019 process.load("DQM.Integration.config.environment_cfi")
0020 process.dqmEnv.subSystemFolder    = "Info/Lumi"
0021 process.dqmSaver.tag = "Lumi"
0022 process.dqmSaver.runNumber = options.runNumber
0023 process.dqmSaverPB.tag = "Lumi"
0024 process.dqmSaverPB.runNumber = options.runNumber
0025 
0026 #---------------------------------------------
0027 # Global Tag
0028 #---------------------------------------------
0029 
0030 #--------------------------
0031 #  Lumi Producer and DB access
0032 #-------------------------
0033 process.DBService=cms.Service('DBService',
0034                               authPath= cms.untracked.string('/nfshome0/popcondev/conddb')
0035                               )
0036 process.expressLumiProducer=cms.EDProducer("ExpressLumiProducer",
0037                       connect=cms.string('oracle://cms_omds_lb/CMS_RUNTIME_LOGGER')
0038                                           )
0039 #---------------------------
0040 #----------------------------
0041 # Sub-system Configuration
0042 #----------------------------
0043 ### @@@@@@ Comment when running locally @@@@@@ ###
0044 process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
0045 ### @@@@@@ Comment when running locally @@@@@@ ###
0046 process.load("Configuration.StandardSequences.Services_cff")
0047 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0048 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0049 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0050 process.load("Configuration.StandardSequences.EndOfProcess_cff")
0051 process.load("Configuration.EventContent.EventContent_cff")
0052 process.load("Configuration.StandardSequences.Reconstruction_cff")
0053 process.siPixelDigis.cpu.InputLabel = cms.InputTag("hltFEDSelectorLumiPixels")
0054 
0055 process.reconstruction_step = cms.Sequence(
0056     process.siPixelDigis +
0057     process.siPixelClusters
0058 )
0059 
0060 
0061 #---------------------------
0062 # Lumi Monitor
0063 #---------------------------
0064 process.load("DQMServices/Components/DQMLumiMonitor_cfi")
0065 #----------------------------
0066 # Define Sequence
0067 #----------------------------
0068 process.dqmmodules = cms.Sequence(process.dqmEnv
0069                                   + process.expressLumiProducer
0070                                   + process.dqmLumiMonitor    
0071                                   + process.dqmSaver
0072                                   + process.dqmSaverPB)
0073 #----------------------------
0074 # Proton-Proton Running Stuff
0075 #----------------------------
0076 process.p = cms.Path(process.reconstruction_step *
0077                      process.dqmmodules)
0078 
0079 
0080 ### process customizations included here
0081 from DQM.Integration.config.online_customizations_cfi import *
0082 process = customise(process)