CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
34 l1tRctfromRCT = l1tRct.clone()
35 l1tRctfromRCT.rctSource = 'rctDigis'
36 l1tRctfromRCT.HistFolder = cms.untracked.string('L1T/L1TRCT_FromRCT')
37 
38 # RCT PUM DQM
39 from DQM.L1TMonitor.L1TPUM_cfi import *
40 
41 # GCT DQM module
42 from DQM.L1TMonitor.L1TGCT_cfi import *
44 
45 # DTTPG DQM module
46 # not run in L1T - do we need it? FIXME
47 
48 # DTTF DQM module
49 from DQM.L1TMonitor.L1TDTTF_cfi import *
50 
51 # CSCTPG DQM module
52 # not run in L1T - do we need it? FIXME
53 
54 # CSCTF DQM module
55 from DQM.L1TMonitor.L1TCSCTF_cff import *
56 
57 # RPC DQM module - non-standard name of the module
58 from DQM.L1TMonitor.L1TRPCTF_cfi import *
59 
60 # GMT DQM module
61 from DQM.L1TMonitor.L1TGMT_cfi import *
62 
63 # GT DQM module
64 from DQM.L1TMonitor.L1TGT_cfi import *
65 
66 # L1Extra DQM module
68 
69 # L1 rates DQM module
70 from DQM.L1TMonitor.L1TRate_cfi import *
71 
72 # L1 BPTX DQM module
73 from DQM.L1TMonitor.L1TBPTX_cfi import *
74 
75 #
76 # other, non pure-L1 stuff
77 #
78 
79 # scaler modules (SM and SCAL) - it uses DQM.TrigXMonitor
80 #
81 # SCAL scalers
83 #
84 # SM scalers
86 l1s.l1GtData = cms.InputTag("gtDigis")
87 l1s.dqmFolder = cms.untracked.string("L1T/L1Scalers_SM")
88 
89 ############################################################
90 # Stage1 Layer1 unpacker
92 
93 # Stage1 unpacker
95 #caloStage1Digis.FedId = cms.int32(809)
96 
97 # transfer stage1 format digis to legacy format digis
98 
100 
101 #################################################################
102 
103 
104 #
105 # define sequences
106 #
107 
108 
109 l1tRctSeq = cms.Sequence(
110  l1tRct + l1tRctfromRCT + l1tPUM
111  )
112 
113 l1tGctSeq = cms.Sequence(
114  l1tGct
115  )
116 
117 l1tStage1Layer2Seq = cms.Sequence(
118  l1tStage1Layer2
119  )
120 
121 # for L1ExtraDQM, one must run GGT and GMT/GT unpacker and L1Extra producer
122 # with special configurations
123 
124 l1ExtraDqmSeq = cms.Sequence(
125  dqmGctDigis *
126  dqmGtDigis *
127  dqmL1ExtraParticles *
128  l1ExtraDQM
129  )
130 
131 l1ExtraStage1DqmSeq = cms.Sequence(
132  dqmGtDigis *
133  dqmL1ExtraParticlesStage1 *
134  l1ExtraDQMStage1
135  )
136 
137 
138 # L1T monitor sequence
139 # modules are independent, so the order is irrelevant
140 
141 l1tMonitorOnline = cms.Sequence(
142  bxTiming +
143  l1tDttf +
144  l1tCsctf +
145  l1tRpctf +
146  l1tGmt +
147  l1tGt +
148  l1ExtraDqmSeq +
149  l1tBPTX +
150  l1tRate +
151  l1tRctRun1 +
152  l1tGctSeq
153  )
154 
155 l1tMonitorStage1Online = cms.Sequence(
156  bxTiming +
157  l1tDttf +
158  l1tCsctf +
159  l1tRpctf +
160  l1tGmt +
161  l1tGt +
162  rctDigis *
163  caloStage1Digis *
164  caloStage1LegacyFormatDigis*
165  l1ExtraStage1DqmSeq +
166  #l1tBPTX +
167  #l1tRate +
168  l1tStage1Layer2Seq +
169  l1tRctSeq
170  )
171 
172 
173 # sequence for L1 Trigger DQM modules on EndPath
174 # FIXME clarify why needed on EndPath
175 
176 l1tMonitorEndPathSeq = cms.Sequence(
177  l1s +
178  l1tscalers
179  )
180 
181 
Stage1 Layer1 unpacker.