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_cff 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 ############################################################
91 # Stage1 Layer1 unpacker
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 l1ExtraDqmSeq = cms.Sequence(
133  dqmGctDigis *
134  dqmGtDigis *
135  dqmL1ExtraParticles *
136  l1ExtraDQM
137  )
138 
139 l1ExtraStage1DqmSeq = cms.Sequence(
140  dqmGtDigis *
141  dqmL1ExtraParticlesStage1 *
142  l1ExtraDQMStage1
143  )
144 
145 
146 # L1T monitor sequence
147 # modules are independent, so the order is irrelevant
148 
149 l1tMonitorOnline = cms.Sequence(
150  l1GtUnpack*
151  bxTiming +
152  l1tDttf +
153  l1tCsctf +
154  l1tRpctf +
155  l1tGmt +
156  l1tGt +
157  l1ExtraDqmSeq +
158  l1tBPTX +
159  l1tRate +
160  l1tRctRun1 +
161  l1tGctSeq
162  )
163 
164 l1tMonitorStage1Online = cms.Sequence(
165  l1GtUnpack*
166  bxTiming +
167  l1tDttf +
168  l1tCsctf +
169  l1tRpctf +
170  l1tGmt +
171  l1tGt +
172  rctDigis *
173  caloStage1Digis *
174  caloStage1LegacyFormatDigis*
175  l1ExtraStage1DqmSeq +
176  #l1tBPTX +
177  #l1tRate +
178  l1tStage1Layer2Seq +
179  #l1tRctRun1 +
180  l1tRctSeq
181  )
182 
183 
184 # sequence for L1 Trigger DQM modules on EndPath
185 # FIXME clarify why needed on EndPath
186 
187 l1tMonitorEndPathSeq = cms.Sequence(
188  l1s +
189  l1tscalers
190  )
191 
192 
Stage1 Layer1 unpacker.