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 Trigger DQM sequence
0004 #
0005 # used by DQM GUI: DQM/Integration/python/test/l1t_dqm_sourceclient-*_cfg.py
0006 #
0007 # standard RawToDigi sequence must be run before the L1T module, labels 
0008 # from the standard sequence are used as default for the L1 DQM modules
0009 # any configuration change in the unpacking must be done in l1t_dqm_sourceclient-*_cfg.py
0010 #
0011 # see CVS for previous authors
0012 #
0013 # V.M. Ghete 2011-05-25 revised version of L1 Trigger DQM
0014 #                       
0015 
0016 #
0017 # DQM modules
0018 #
0019 
0020 # Bx Timing DQM module
0021 from DQM.L1TMonitor.BxTiming_cfi import *
0022 
0023 # ECAL TPG DQM module
0024 # not run in L1T - do we need it? FIXME
0025 
0026 # HCAL TPG DQM module 
0027 # not run in L1T - do we need it? FIXME
0028 
0029 # RCT DQM module 
0030 from DQM.L1TMonitor.L1TRCT_cfi import *
0031 l1tRctRun1 = l1tRct.clone()
0032 l1tRct.rctSource = 'caloStage1Digis'
0033 #l1tRct.gctSource = 'caloStage1Digis'
0034 
0035 l1tRctfromRCT = l1tRct.clone(
0036 rctSource = 'rctDigis',
0037 HistFolder = 'L1T/L1TRCT_FromRCT'
0038 )
0039 # RCT PUM DQM
0040 from DQM.L1TMonitor.L1TPUM_cfi import *
0041 
0042 # GCT DQM module 
0043 from DQM.L1TMonitor.L1TGCT_cfi import *
0044 from DQM.L1TMonitor.L1TStage1Layer2_cfi import *
0045 
0046 # DTTPG DQM module 
0047 # not run in L1T - do we need it? FIXME
0048 
0049 # DTTF DQM module 
0050 from DQM.L1TMonitor.L1TDTTF_cfi import *
0051 
0052 # CSCTPG DQM module 
0053 # not run in L1T - do we need it? FIXME
0054 
0055 # CSCTF DQM module
0056 from DQM.L1TMonitor.L1TCSCTF_cfi import *
0057 
0058 # RPC DQM module - non-standard name of the module
0059 from DQM.L1TMonitor.L1TRPCTF_cfi import *
0060 
0061 # GMT DQM module 
0062 from DQM.L1TMonitor.L1TGMT_cfi import *
0063 
0064 # GT DQM module 
0065 from DQM.L1TMonitor.L1TGT_cfi import *
0066 
0067 # L1Extra DQM module
0068 from DQM.L1TMonitor.L1ExtraDQM_cff import *
0069 
0070 # L1 rates DQM module
0071 from DQM.L1TMonitor.L1TRate_cfi import *
0072 
0073 # L1 BPTX DQM module
0074 from DQM.L1TMonitor.L1TBPTX_cfi import *
0075 
0076 #
0077 # other, non pure-L1 stuff
0078 #
0079 
0080 # scaler modules (SM and SCAL) - it uses DQM.TrigXMonitor
0081 #
0082 # SCAL scalers
0083 from DQM.TrigXMonitor.L1TScalersSCAL_cfi import *
0084 #
0085 # SM scalers
0086 from DQM.TrigXMonitor.L1Scalers_cfi import *
0087 l1s.l1GtData = cms.InputTag("gtDigis")
0088 l1s.dqmFolder = cms.untracked.string("L1T/L1Scalers_SM") 
0089 
0090 ############################################################
0091 # Stage1 Layer1 unpacker
0092 from EventFilter.RctRawToDigi.l1RctHwDigis_cfi import *
0093 
0094 # Stage1 unpacker
0095 from L1Trigger.L1TCommon.l1tRawToDigi_cfi import *
0096 #caloStage1Digis.FedId = cms.int32(809)
0097 
0098 # transfer stage1 format digis to legacy format digis
0099 
0100 from L1Trigger.L1TCalorimeter.caloStage1LegacyFormatDigis_cfi import *
0101 #caloStage1LegacyFormatDigis.bxMin = cms.int32(-2)
0102 #caloStage1LegacyFormatDigis.bxMax = cms.int32(2)
0103 
0104 #################################################################
0105 
0106 # GMT digis in parallel running
0107 from EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi import *
0108 l1GtUnpack.DaqGtInputTag = 'rawDataCollector'
0109 
0110 #############################################################
0111 
0112 #
0113 # define sequences 
0114 #
0115 
0116 
0117 l1tRctSeq = cms.Sequence(
0118                     l1tRct + l1tRctfromRCT + l1tPUM 
0119                     )
0120 
0121 l1tGctSeq = cms.Sequence(
0122                     l1tGct
0123                     )
0124 
0125 l1tStage1Layer2Seq = cms.Sequence(
0126                     l1tStage1Layer2
0127                     )
0128     
0129 # for L1ExtraDQM, one must run GGT and GMT/GT unpacker and L1Extra producer 
0130 # with special configurations
0131 
0132 l1ExtraDqmTask = cms.Task(
0133     dqmGctDigis,
0134     dqmGtDigis,
0135     dqmL1ExtraParticles
0136 )
0137 l1ExtraDqmSeq = cms.Sequence(
0138                         l1ExtraDQM,
0139                         l1ExtraDqmTask
0140                         )
0141 
0142 l1ExtraStage1DqmTask = cms.Task(
0143     dqmGtDigis,
0144     dqmL1ExtraParticlesStage1
0145 )
0146 l1ExtraStage1DqmSeq = cms.Sequence(
0147     l1ExtraDQMStage1,
0148     l1ExtraStage1DqmTask
0149     )
0150 
0151 
0152 # L1T monitor sequence 
0153 #     modules are independent, so the order is irrelevant 
0154 
0155 l1tMonitorOnlineTask = cms.Task(
0156     l1GtUnpack
0157 
0158 )
0159 l1tMonitorOnline = cms.Sequence(
0160                           bxTiming +
0161                           l1tDttf +
0162                           l1tCsctf + 
0163                           l1tRpctf +
0164                           l1tGmt +
0165                           l1tGt + 
0166                           l1ExtraDqmSeq +
0167                           l1tBPTX +
0168                           l1tRate +
0169                           l1tRctRun1 +
0170                           l1tGctSeq,
0171                           l1tMonitorOnlineTask
0172                           )
0173 
0174 l1tMonitorStage1OnlineTask = cms.Task(
0175     l1GtUnpack,
0176     rctDigis,
0177     caloStage1Digis,
0178     caloStage1LegacyFormatDigis
0179 )
0180 l1tMonitorStage1Online = cms.Sequence(
0181                           bxTiming +
0182                           l1tDttf +
0183                           l1tCsctf + 
0184                           l1tRpctf +
0185                           l1tGmt +
0186                           l1tGt +
0187                           l1ExtraStage1DqmSeq +
0188                           #l1tBPTX +
0189                           #l1tRate +
0190                           l1tStage1Layer2Seq +
0191                           #l1tRctRun1 +
0192                           l1tRctSeq,
0193                           l1tMonitorStage1OnlineTask
0194                           )
0195 
0196 
0197 # sequence for L1 Trigger DQM modules on EndPath 
0198 # FIXME clarify why needed on EndPath
0199 
0200 l1tMonitorEndPathSeq = cms.Sequence(
0201                                     l1s +
0202                                     l1tscalers
0203                                     )
0204                             
0205