CMS 3D CMS Logo

L1TMonitor_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # L1 Trigger DQM sequence
4 #
5 # used by DQM GUI: DQM/Integration/python/test/l1t_dqm_sourceclient-*_cfg.py
6 #
7 # standard RawToDigi sequence must be run before the L1T module, labels
8 # from the standard sequence are used as default for the L1 DQM modules
9 # any configuration change in the unpacking must be done in l1t_dqm_sourceclient-*_cfg.py
10 #
11 # see CVS for previous authors
12 #
13 # V.M. Ghete 2011-05-25 revised version of L1 Trigger DQM
14 #
15 
16 #
17 # DQM modules
18 #
19 
20 # Bx Timing DQM module
21 from DQM.L1TMonitor.BxTiming_cfi import *
22 
23 # ECAL TPG DQM module
24 # not run in L1T - do we need it? FIXME
25 
26 # HCAL TPG DQM module
27 # not run in L1T - do we need it? FIXME
28 
29 # RCT DQM module
30 from DQM.L1TMonitor.L1TRCT_cfi import *
31 l1tRctRun1 = l1tRct.clone()
32 l1tRct.rctSource = 'caloStage1Digis'
33 #l1tRct.gctSource = 'caloStage1Digis'
34 
35 l1tRctfromRCT = l1tRct.clone()
36 l1tRctfromRCT.rctSource = 'rctDigis'
37 l1tRctfromRCT.HistFolder = cms.untracked.string('L1T/L1TRCT_FromRCT')
38 
39 # RCT PUM DQM
40 from DQM.L1TMonitor.L1TPUM_cfi import *
41 
42 # GCT DQM module
43 from DQM.L1TMonitor.L1TGCT_cfi import *
45 
46 # DTTPG DQM module
47 # not run in L1T - do we need it? FIXME
48 
49 # DTTF DQM module
50 from DQM.L1TMonitor.L1TDTTF_cfi import *
51 
52 # CSCTPG DQM module
53 # not run in L1T - do we need it? FIXME
54 
55 # CSCTF DQM module
56 from DQM.L1TMonitor.L1TCSCTF_cfi import *
57 
58 # RPC DQM module - non-standard name of the module
59 from DQM.L1TMonitor.L1TRPCTF_cfi import *
60 
61 # GMT DQM module
62 from DQM.L1TMonitor.L1TGMT_cfi import *
63 
64 # GT DQM module
65 from DQM.L1TMonitor.L1TGT_cfi import *
66 
67 # L1Extra DQM module
69 
70 # L1 rates DQM module
71 from DQM.L1TMonitor.L1TRate_cfi import *
72 
73 # L1 BPTX DQM module
74 from DQM.L1TMonitor.L1TBPTX_cfi import *
75 
76 #
77 # other, non pure-L1 stuff
78 #
79 
80 # scaler modules (SM and SCAL) - it uses DQM.TrigXMonitor
81 #
82 # SCAL scalers
84 #
85 # SM scalers
87 l1s.l1GtData = cms.InputTag("gtDigis")
88 l1s.dqmFolder = cms.untracked.string("L1T/L1Scalers_SM")
89 
90 
93 
94 # Stage1 unpacker
96 #caloStage1Digis.FedId = cms.int32(809)
97 
98 # transfer stage1 format digis to legacy format digis
99 
101 #caloStage1LegacyFormatDigis.bxMin = cms.int32(-2)
102 #caloStage1LegacyFormatDigis.bxMax = cms.int32(2)
103 
104 
105 
106 # GMT digis in parallel running
108 l1GtUnpack.DaqGtInputTag = 'rawDataCollector'
109 
110 
111 
112 #
113 # define sequences
114 #
115 
116 
117 l1tRctSeq = cms.Sequence(
118  l1tRct + l1tRctfromRCT + l1tPUM
119  )
120 
121 l1tGctSeq = cms.Sequence(
122  l1tGct
123  )
124 
125 l1tStage1Layer2Seq = cms.Sequence(
126  l1tStage1Layer2
127  )
128 
129 # for L1ExtraDQM, one must run GGT and GMT/GT unpacker and L1Extra producer
130 # with special configurations
131 
132 l1ExtraDqmTask = cms.Task(
133  dqmGctDigis,
134  dqmGtDigis,
135  dqmL1ExtraParticles
136 )
137 l1ExtraDqmSeq = cms.Sequence(
138  l1ExtraDQM,
139  l1ExtraDqmTask
140  )
141 
142 l1ExtraStage1DqmTask = cms.Task(
143  dqmGtDigis,
144  dqmL1ExtraParticlesStage1
145 )
146 l1ExtraStage1DqmSeq = cms.Sequence(
147  l1ExtraDQMStage1,
148  l1ExtraStage1DqmTask
149  )
150 
151 
152 # L1T monitor sequence
153 # modules are independent, so the order is irrelevant
154 
155 l1tMonitorOnlineTask = cms.Task(
156  l1GtUnpack
157 
158 )
159 l1tMonitorOnline = cms.Sequence(
160  bxTiming +
161  l1tDttf +
162  l1tCsctf +
163  l1tRpctf +
164  l1tGmt +
165  l1tGt +
166  l1ExtraDqmSeq +
167  l1tBPTX +
168  l1tRate +
169  l1tRctRun1 +
170  l1tGctSeq,
171  l1tMonitorOnlineTask
172  )
173 
174 l1tMonitorStage1OnlineTask = cms.Task(
175  l1GtUnpack,
176  rctDigis,
177  caloStage1Digis,
178  caloStage1LegacyFormatDigis
179 )
180 l1tMonitorStage1Online = cms.Sequence(
181  bxTiming +
182  l1tDttf +
183  l1tCsctf +
184  l1tRpctf +
185  l1tGmt +
186  l1tGt +
187  l1ExtraStage1DqmSeq +
188  #l1tBPTX +
189  #l1tRate +
190  l1tStage1Layer2Seq +
191  #l1tRctRun1 +
192  l1tRctSeq,
193  l1tMonitorStage1OnlineTask
194  )
195 
196 
197 # sequence for L1 Trigger DQM modules on EndPath
198 # FIXME clarify why needed on EndPath
199 
200 l1tMonitorEndPathSeq = cms.Sequence(
201  l1s +
202  l1tscalers
203  )
204 
205 
L1TCSCTF_cfi
L1TGT_cfi
L1TBPTX_cfi
L1ExtraDQM_cff
L1TScalersSCAL_cfi
L1TRate_cfi
L1TStage1Layer2_cfi
BxTiming_cfi
L1TPUM_cfi
l1GtUnpack_cfi
l1tRawToDigi_cfi
L1TGMT_cfi
caloStage1LegacyFormatDigis_cfi
L1TDTTF_cfi
L1Scalers_cfi
L1TGCT_cfi
L1TRCT_cfi
L1TRPCTF_cfi
l1RctHwDigis_cfi
Stage1 Layer1 unpacker.