Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:46

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # L1 Emulator DQM sequence
0004 #
0005 # used by DQM GUI: DQM/Integration/python/test/l1temulator_dqm_sourceclient-*_cfg.py
0006 #
0007 # N. Leonardo 2008-02-XX initial version
0008 #
0009 # V.M. Ghete 2010-10-22 revised version of L1 emulator DQM
0010 #                       proper definition of sequences
0011 
0012 # hardware validation sequence - it runs also the L1 emulator
0013 from L1Trigger.HardwareValidation.L1HardwareValidation_cff import *
0014 
0015 # temporary fix for L1 GT emulator configuration in hardware validation
0016 valGtDigis.RecordLength = cms.vint32(3, 5)
0017 valGtDigis.AlternativeNrBxBoardDaq = 0x101
0018 valGtDigis.AlternativeNrBxBoardEvm = 0x2
0019 valGtDigis.AlgorithmTriggersUnprescaled = True
0020 valGtDigis.TechnicalTriggersUnprescaled = True
0021 valGtDigis.TechnicalTriggersVetoUnmasked = True
0022 
0023 valStage1GtDigis.RecordLength = cms.vint32(3, 5)
0024 valStage1GtDigis.AlternativeNrBxBoardDaq = 0x101
0025 valStage1GtDigis.AlternativeNrBxBoardEvm = 0x2
0026 valStage1GtDigis.AlgorithmTriggersUnprescaled = True
0027 valStage1GtDigis.TechnicalTriggersUnprescaled = True
0028 valStage1GtDigis.TechnicalTriggersVetoUnmasked = True
0029 
0030 # DQM modules
0031 from DQM.L1TMonitor.L1TDEMON_cfi import *
0032 
0033 from DQM.L1TMonitor.L1TDEMONStage1_cfi import *
0034 
0035 from DQM.L1TMonitor.L1TdeGCT_cfi import *
0036 
0037 from DQM.L1TMonitor.L1TdeStage1Layer2_cfi import *
0038 
0039 from DQM.L1TMonitor.L1TdeRCT_cfi import *
0040 #Check if perLSsaving is enabled to mask MEs vs LS
0041 from Configuration.ProcessModifiers.dqmPerLSsaving_cff import dqmPerLSsaving
0042 dqmPerLSsaving.toModify(l1TdeRCT, perLSsaving=True)
0043 
0044 l1TdeRCTRun1 = l1TdeRCT.clone()
0045 l1TdeRCT.rctSourceData = 'caloStage1Digis'
0046 #l1TdeRCT.gctSourceData = 'caloStage1Digis'
0047 l1TdeRCT.rctSourceEmul = 'valRctDigis'
0048 
0049 l1TdeRCTfromRCT = l1TdeRCT.clone(
0050 rctSourceData = 'rctDigis',
0051 HistFolder = 'L1TEMU/L1TdeRCT_FromRCT'
0052 )
0053 from DQM.L1TMonitor.L1TdeCSCTF_cfi import *
0054 
0055 from DQM.L1TMonitor.L1GtHwValidation_cff import *
0056 
0057 # sequence for expert modules for data - emulator comparison
0058 # the modules are independent, so uses "+"
0059 
0060 ############################################################
0061 # Stage1 Layer1 unpacker
0062 from EventFilter.RctRawToDigi.l1RctHwDigis_cfi import *
0063 
0064 # Stage1 unpacker
0065 
0066 from L1Trigger.L1TCommon.l1tRawToDigi_cfi import *
0067 
0068 # transfer stage1 format digis to legacy format digis
0069 
0070 from L1Trigger.L1TCalorimeter.caloStage1LegacyFormatDigis_cfi import *
0071 
0072 ############################################################
0073 
0074 # GMT unpack from Fed813 in legacy stage1 parallel running
0075 from EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi import *
0076 l1GtUnpack.DaqGtInputTag = 'rawDataCollector'
0077 
0078 #############################################################
0079 
0080 l1TdeRCTSeq = cms.Sequence(
0081                     l1TdeRCT + l1TdeRCTfromRCT
0082                     )
0083 
0084 l1ExpertDataVsEmulator = cms.Sequence(
0085     l1TdeGCT +
0086     l1TdeCSCTF +
0087     l1GtHwValidation +
0088     l1TdeRCTRun1
0089 )
0090 
0091 
0092 l1EmulatorMonitorTask = cms.Task(
0093     l1GtUnpack
0094 )
0095 l1EmulatorMonitor = cms.Sequence(
0096                             l1demon+
0097                             l1ExpertDataVsEmulator,
0098                             l1EmulatorMonitorTask
0099                             )
0100 
0101 # for use in processes where hardware validation is not run
0102 l1HwValEmulatorMonitorTask = cms.Task(
0103     l1GtUnpack
0104 )
0105 l1HwValEmulatorMonitor = cms.Sequence(
0106                                 L1HardwareValidation*
0107                                 l1EmulatorMonitor,
0108                                 l1HwValEmulatorMonitorTask
0109                                 )
0110 
0111 # for stage1
0112 l1ExpertDataVsEmulatorStage1 = cms.Sequence(
0113     #caloStage1Digis*
0114     #caloStage1LegacyFormatDigis*
0115     l1TdeStage1Layer2 +
0116     l1TdeCSCTF +
0117     l1Stage1GtHwValidation +
0118     l1TdeRCTSeq
0119     )
0120 
0121 l1EmulatorMonitorStage1 = cms.Sequence(
0122     #caloStage1Digis*
0123     #caloStage1LegacyFormatDigis*
0124     l1demonstage1+
0125     l1ExpertDataVsEmulatorStage1
0126     )
0127 
0128 l1Stage1HwValEmulatorMonitorTask = cms.Task(
0129     rctDigis,
0130     #caloStage1Digis,
0131     #caloStage1LegacyFormatDigis,
0132     l1GtUnpack
0133 )
0134 l1Stage1HwValEmulatorMonitor = cms.Sequence(
0135     L1HardwareValidationforStage1 +
0136     l1EmulatorMonitorStage1,
0137     l1Stage1HwValEmulatorMonitorTask
0138     )