Skip to content

Commit

Permalink
Replaced the contents of the fed config by fedtest
Browse files Browse the repository at this point in the history
More than 6 years ago the work was started to replace FED by something
new. This was done by placing a second configuration next to FED, called
FEDTest and instruction the shifters (already in 2009) to look at
FEDTest instead of FED. In the meanwhile FED was completely broken and
FEDTest was partly broken. FEDTest was now fixed in #12240.
We placed the contents of FEDTest into FED so that this can be the main
default plot to look at again. We should stop running FEDTest in the
near future and adapt the instructions at that moment.
  • Loading branch information
vanbesien committed Nov 10, 2015
1 parent 0ef7e04 commit 69dd17e
Showing 1 changed file with 139 additions and 28 deletions.
167 changes: 139 additions & 28 deletions DQM/Integration/python/clients/fed_dqm_sourceclient-live_cfg.py
Original file line number Diff line number Diff line change
@@ -1,42 +1,153 @@
import FWCore.ParameterSet.Config as cms
import socket
process = cms.Process("PROD")

process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(-1)
)
# Process initialization
process = cms.Process('FED')

# Logging:
process.MessageLogger = cms.Service(
'MessageLogger',
destinations = cms.untracked.vstring('cout'),
cout = cms.untracked.PSet(threshold = cms.untracked.string('ERROR'))
)

# for live online DQM in P5
process.load("DQM.Integration.config.inputsource_cfi")
# Global configuration

# for testing in lxplus
#process.load("DQM.Integration.config.fileinputsource_cfi")

#process.load("DQMServices.Core.DQM_cfg")

#----------------------------
#### DQM Live Environment
#----------------------------
process.load("DQM.Integration.config.environment_cfi")
# DQM Environment:
process.load('DQMServices.Core.DQM_cfg')
process.load('DQM.Integration.config.environment_cfi')
# Global tag:
process.load('DQM.Integration.config.FrontierCondition_GT_cfi')
# Input:
process.load('DQM.Integration.config.inputsource_cfi')
# Output:
process.dqmEnv.subSystemFolder = 'FED'
process.dqmSaver.tag = 'FED'
# process.dqmSaver.path= '.'

process.load("DQM.TrigXMonitorClient.HLTScalersClient_cfi")
process.load("DQM.TrigXMonitorClient.L1TScalersClient_cfi")
# Subsystem sequences

# We will reuse the same foldername for all subsystems:
folder_name = 'FEDIntegrity_EvF'

# L1T sequence:
process.load('DQM.L1TMonitor.L1TFED_cfi')
path = 'L1T/%s/' % folder_name
process.l1tfed.FEDDirName = cms.untracked.string(path)
# Pixel sequence:
process.load('Configuration.StandardSequences.MagneticField_cff')
process.load('EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi')
process.siPixelDigis.Timing = False
process.siPixelDigis.IncludeErrors = True
process.load('DQM.SiPixelMonitorRawData.SiPixelMonitorHLT_cfi')
process.SiPixelHLTSource.saveFile = False
process.SiPixelHLTSource.slowDown = False
path = 'Pixel/%s/' % folder_name
process.SiPixelHLTSource.DirName = cms.untracked.string(path)
process.load('Configuration.StandardSequences.GeometryRecoDB_cff') # ???
# SiStrip sequence:
process.load('DQM.SiStripMonitorHardware.siStripFEDCheck_cfi')
path = 'SiStrip/%s/' % folder_name
process.siStripFEDCheck.DirName = cms.untracked.string(path)
# ECAL Preshower sequence:
process.load('EventFilter.ESRawToDigi.esRawToDigi_cfi')
process.load('DQM.EcalPreshowerMonitorModule.ESFEDIntegrityTask_cfi')
process.ecalPreshowerFEDIntegrityTask.FEDDirName = cms.untracked.string(folder_name)
# ECAL sequence --> Both ECAL Barrel and ECAL Endcap:
process.load('Geometry.EcalMapping.EcalMapping_cfi')
process.load('Geometry.EcalMapping.EcalMappingRecord_cfi')
from EventFilter.EcalRawToDigi.EcalUnpackerData_cfi import ecalEBunpacker
process.ecalDigis = ecalEBunpacker.clone()
process.load('DQM.EcalMonitorTasks.EcalFEDMonitor_cfi')
process.ecalFEDMonitor.folderName = cms.untracked.string(folder_name)
# HCAL sequence:
process.load('EventFilter.HcalRawToDigi.HcalRawToDigi_cfi')
process.load('DQM.HcalMonitorTasks.HcalDataIntegrityTask_cfi')
process.hcalDataIntegrityMonitor.TaskFolder = folder_name
# DT sequence:
process.load('DQM.DTMonitorModule.dtDataIntegrityTask_EvF_cff')
process.DTDataIntegrityTask.processingMode = 'SM'
path = 'DT/%s/' % folder_name
process.DTDataIntegrityTask.fedIntegrityFolder = path
process.dtunpacker.fedbyType = cms.bool(True)
process.dtunpacker.useStandardFEDid = cms.bool(True)
process.dtunpacker.dqmOnly = cms.bool(True)
# RPC sequence:
process.load('EventFilter.RPCRawToDigi.rpcUnpacker_cfi')
process.load('DQM.RPCMonitorClient.RPCFEDIntegrity_cfi')
path = 'RPC/%s/' % folder_name
process.rpcFEDIntegrity.RPCPrefixDir = cms.untracked.string(path)
# CSC sequence:
process.load('DQM.CSCMonitorModule.csc_hlt_dqm_sourceclient_cfi')
path = 'CSC/%s/' % folder_name
process.cscDQMEvF.EventProcessor.FOLDER_EMU = cms.untracked.string(path)

# Setting raw data collection label for all subsytem modules, depending on run type:
if (process.runType.getRunType() == process.runType.hi_run):
process.l1tfed.rawTag = cms.InputTag('rawDataRepacker')
process.siPixelDigis.InputLabel = cms.InputTag('rawDataRepacker')
process.SiPixelHLTSource.RawInput = cms.InputTag('rawDataRepacker')
process.siStripFEDCheck.RawDataTag = cms.InputTag('rawDataRepacker')
process.esRawToDigi.sourceTag = cms.InputTag('rawDataRepacker')
process.ecalPreshowerFEDIntegrityTask.FEDRawDataCollection = cms.InputTag('rawDataRepacker')
process.ecalDigis.InputLabel = cms.InputTag('rawDataRepacker')
process.ecalFEDMonitor.FEDRawDataCollection = cms.InputTag('rawDataRepacker')
process.hcalDigis.InputLabel = cms.InputTag('rawDataRepacker')
process.hcalDataIntegrityMonitor.RawDataLabel = cms.untracked.InputTag('rawDataRepacker')
process.dtunpacker.inputLabel = cms.InputTag('rawDataRepacker')
process.rpcunpacker.InputLabel = cms.InputTag('rawDataRepacker')
process.cscDQMEvF.InputObjects = cms.untracked.InputTag('rawDataRepacker')
else:
process.l1tfed.rawTag = cms.InputTag('rawDataCollector')
process.siPixelDigis.InputLabel = cms.InputTag('rawDataCollector')
process.SiPixelHLTSource.RawInput = cms.InputTag('rawDataCollector')
process.siStripFEDCheck.RawDataTag = cms.InputTag('rawDataCollector')
process.esRawToDigi.sourceTag = cms.InputTag('rawDataCollector')
process.ecalPreshowerFEDIntegrityTask.FEDRawDataCollection = cms.InputTag('rawDataCollector')
process.ecalDigis.InputLabel = cms.InputTag('rawDataCollector')
process.ecalFEDMonitor.FEDRawDataCollection = cms.InputTag('rawDataCollector')
process.hcalDigis.InputLabel = cms.InputTag('rawDataCollector')
process.hcalDataIntegrityMonitor.RawDataLabel = cms.untracked.InputTag('rawDataCollector')
process.dtunpacker.inputLabel = cms.InputTag('rawDataCollector')
process.rpcunpacker.InputLabel = cms.InputTag('rawDataCollector')
process.cscDQMEvF.InputObjects = cms.untracked.InputTag('rawDataCollector')

# Finaly the DQM FED sequence itself
process.load('DQMServices.Components.DQMFEDIntegrityClient_cff')
process.dqmFEDIntegrity.fedFolderName = cms.untracked.string(folder_name)

# Sequences, paths and schedules:

# Modules for the FED
process.FEDModulesPath = cms.Path(
process.l1tfed
+ process.siPixelDigis
+ process.SiPixelHLTSource
+ process.siStripFEDCheck
+ process.esRawToDigi
+ process.ecalPreshowerFEDIntegrityTask
+ process.ecalDigis
+ process.ecalFEDMonitor
+ process.hcalDigis
+ process.hcalDataIntegrityMonitor
+ process.cscDQMEvF
+ process.dtunpacker
+ process.DTDataIntegrityTask
+ process.rpcunpacker
+ process.rpcFEDIntegrity

# FED Integrity Client
process.load("DQMServices.Components.DQMFEDIntegrityClient_cff")
process.dqmFEDIntegrity.fedFolderName = cms.untracked.string("FEDIntegrity_EvF")
+ process.dqmFEDIntegrityClient
)

process.pDQM = cms.Path(process.l1tsClient+
process.hltsClient+
process.dqmFEDIntegrityClient+
process.dqmEnv+
process.dqmSaver)
# Standard DQM modules
process.DQMmodulesPath = cms.Path(
process.dqmEnv
+ process.dqmSaver
)

process.schedule = cms.Schedule(
process.FEDModulesPath,
process.DQMmodulesPath,
)

### process customizations included here
# Finaly: DQM process customizations
from DQM.Integration.config.online_customizations_cfi import *
process = customise(process)

0 comments on commit 69dd17e

Please sign in to comment.