CMS 3D CMS Logo

Functions
customiseL1Ntuple Namespace Reference

Functions

def L1NtupleAOD (process)
 
def L1NtupleAOD_MC (process)
 
def L1NtupleAODCalo (process)
 
def L1NtupleAODEMU (process)
 
def L1NtupleAODEMU_MC (process)
 
def L1NtupleAODEMUCalo (process)
 
def L1NtupleAODEMUGEN_MC (process)
 
def L1NtupleAODRAW (process)
 
def L1NtupleAODRAWCalo (process)
 
def L1NtupleAODRAWEMU (process)
 
def L1NtupleAODRAWEMUCalo (process)
 
def L1NtupleAODRAWEMUGEN_MC (process)
 
def L1NtupleAODRAWEMULegacy (process)
 
def L1NtupleEMU (process)
 
def L1NtupleEMUCalo (process)
 
def L1NtupleEMULegacy (process)
 
def L1NtupleEMUNoEventTree (process)
 
def L1NtupleGEN (process)
 
def L1NtupleNANO (process)
 
def L1NtupleNanoDST (process)
 
def L1NtupleNANOEMU (process)
 
def L1NtupleRAW (process)
 
def L1NtupleRAWCalo (process)
 
def L1NtupleRAWEMU (process)
 
def L1NtupleRAWEMUCalo (process)
 
def L1NtupleRAWEMUGEN_MC (process)
 
def L1NtupleRAWEMULegacy (process)
 
def L1NtupleTFileOut (process)
 customisations for L1 ntuple generation More...
 
def PrefireVetoFilter (process)
 

Function Documentation

◆ L1NtupleAOD()

def customiseL1Ntuple.L1NtupleAOD (   process)

Definition at line 26 of file customiseL1Ntuple.py.

References customiseL1CustomReco.L1NtupleCustomReco(), and L1NtupleTFileOut().

Referenced by L1NtupleAOD_MC(), L1NtupleAODEMU(), L1NtupleAODRAW(), L1NtupleAODRAWEMU(), and L1NtupleAODRAWEMULegacy().

26 def L1NtupleAOD(process):
27 
28  L1NtupleTFileOut(process)
29  L1NtupleCustomReco(process)
30 
31  process.load('L1Trigger.L1TNtuples.L1NtupleAOD_cff')
32  process.l1ntupleaod = cms.Path(
33  process.L1NtupleAOD
34  )
35 
36  process.schedule.append(process.l1ntupleaod)
37 
38  return process
39 
def L1NtupleAOD(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleAOD_MC()

def customiseL1Ntuple.L1NtupleAOD_MC (   process)

Definition at line 55 of file customiseL1Ntuple.py.

References L1NtupleAOD().

Referenced by L1NtupleAODEMU_MC(), L1NtupleAODEMUGEN_MC(), and L1NtupleAODRAWEMUGEN_MC().

55 def L1NtupleAOD_MC(process):
56 
57  L1NtupleAOD(process)
58 
59  process.l1JetRecoTree.jecToken = cms.untracked.InputTag("ak4PFCHSL1FastL2L3Corrector")
60 
61  return process
62 
63 
64 
def L1NtupleAOD(process)
def L1NtupleAOD_MC(process)

◆ L1NtupleAODCalo()

def customiseL1Ntuple.L1NtupleAODCalo (   process)

Definition at line 40 of file customiseL1Ntuple.py.

References customiseL1CustomReco.L1NtupleCustomReco(), and L1NtupleTFileOut().

Referenced by L1NtupleAODEMUCalo(), L1NtupleAODRAWCalo(), and L1NtupleAODRAWEMUCalo().

40 def L1NtupleAODCalo(process):
41 
42  L1NtupleTFileOut(process)
43  L1NtupleCustomReco(process)
44 
45  process.load('L1Trigger.L1TNtuples.L1NtupleAODCalo_cff')
46  process.l1ntupleaodcalo = cms.Path(
47  process.L1NtupleAODCalo
48  )
49 
50  process.schedule.append(process.l1ntupleaodcalo)
51 
52  return process
53 
54 
def L1NtupleAODCalo(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleAODEMU()

def customiseL1Ntuple.L1NtupleAODEMU (   process)

Definition at line 260 of file customiseL1Ntuple.py.

References L1NtupleAOD(), and L1NtupleEMU().

260 def L1NtupleAODEMU(process):
261 
262  L1NtupleEMU(process)
263  L1NtupleAOD(process)
264 
265  return process
266 
def L1NtupleAOD(process)
def L1NtupleEMU(process)
def L1NtupleAODEMU(process)

◆ L1NtupleAODEMU_MC()

def customiseL1Ntuple.L1NtupleAODEMU_MC (   process)

Definition at line 275 of file customiseL1Ntuple.py.

References L1NtupleAOD_MC(), and L1NtupleEMU().

275 def L1NtupleAODEMU_MC(process):
276 
277  L1NtupleEMU(process)
278  L1NtupleAOD_MC(process)
279 
280  return process
281 
282 
def L1NtupleAODEMU_MC(process)
def L1NtupleEMU(process)
def L1NtupleAOD_MC(process)

◆ L1NtupleAODEMUCalo()

def customiseL1Ntuple.L1NtupleAODEMUCalo (   process)

Definition at line 267 of file customiseL1Ntuple.py.

References L1NtupleAODCalo(), and L1NtupleEMUCalo().

267 def L1NtupleAODEMUCalo(process):
268 
269  L1NtupleEMUCalo(process)
270  L1NtupleAODCalo(process)
271 
272  return process
273 
274 
def L1NtupleAODCalo(process)
def L1NtupleEMUCalo(process)
def L1NtupleAODEMUCalo(process)

◆ L1NtupleAODEMUGEN_MC()

def customiseL1Ntuple.L1NtupleAODEMUGEN_MC (   process)

Definition at line 291 of file customiseL1Ntuple.py.

References L1NtupleAOD_MC(), L1NtupleEMU(), and L1NtupleGEN().

291 def L1NtupleAODEMUGEN_MC(process):
292 
293  L1NtupleEMU(process)
294  L1NtupleAOD_MC(process)
295  L1NtupleGEN(process)
296 
297  return process
298 
def L1NtupleEMU(process)
def L1NtupleAODEMUGEN_MC(process)
def L1NtupleAOD_MC(process)
def L1NtupleGEN(process)

◆ L1NtupleAODRAW()

def customiseL1Ntuple.L1NtupleAODRAW (   process)

Definition at line 220 of file customiseL1Ntuple.py.

References L1NtupleAOD(), and L1NtupleRAW().

220 def L1NtupleAODRAW(process):
221 
222  L1NtupleRAW(process)
223  L1NtupleAOD(process)
224 
225  return process
226 
def L1NtupleAOD(process)
def L1NtupleAODRAW(process)
def L1NtupleRAW(process)

◆ L1NtupleAODRAWCalo()

def customiseL1Ntuple.L1NtupleAODRAWCalo (   process)

Definition at line 227 of file customiseL1Ntuple.py.

References L1NtupleAODCalo(), and L1NtupleRAWCalo().

227 def L1NtupleAODRAWCalo(process):
228 
229  L1NtupleRAWCalo(process)
230  L1NtupleAODCalo(process)
231 
232  return process
233 
def L1NtupleAODCalo(process)
def L1NtupleRAWCalo(process)
def L1NtupleAODRAWCalo(process)

◆ L1NtupleAODRAWEMU()

def customiseL1Ntuple.L1NtupleAODRAWEMU (   process)

Definition at line 244 of file customiseL1Ntuple.py.

References L1NtupleAOD(), L1NtupleEMU(), and L1NtupleRAW().

244 def L1NtupleAODRAWEMU(process):
245 
246  L1NtupleRAW(process)
247  L1NtupleEMU(process)
248  L1NtupleAOD(process)
249 
250  return process
251 
def L1NtupleAOD(process)
def L1NtupleEMU(process)
def L1NtupleAODRAWEMU(process)
def L1NtupleRAW(process)

◆ L1NtupleAODRAWEMUCalo()

def customiseL1Ntuple.L1NtupleAODRAWEMUCalo (   process)

Definition at line 252 of file customiseL1Ntuple.py.

References L1NtupleAODCalo(), L1NtupleEMUCalo(), and L1NtupleRAWCalo().

252 def L1NtupleAODRAWEMUCalo(process):
253 
254  L1NtupleRAWCalo(process)
255  L1NtupleEMUCalo(process)
256  L1NtupleAODCalo(process)
257 
258  return process
259 
def L1NtupleAODCalo(process)
def L1NtupleEMUCalo(process)
def L1NtupleRAWCalo(process)
def L1NtupleAODRAWEMUCalo(process)

◆ L1NtupleAODRAWEMUGEN_MC()

def customiseL1Ntuple.L1NtupleAODRAWEMUGEN_MC (   process)

Definition at line 299 of file customiseL1Ntuple.py.

References L1NtupleAOD_MC(), L1NtupleEMU(), L1NtupleGEN(), and L1NtupleRAW().

299 def L1NtupleAODRAWEMUGEN_MC(process):
300 
301  L1NtupleRAW(process)
302  L1NtupleEMU(process)
303  L1NtupleAOD_MC(process)
304  L1NtupleGEN(process)
305 
306  return process
307 
def L1NtupleEMU(process)
def L1NtupleAOD_MC(process)
def L1NtupleGEN(process)
def L1NtupleAODRAWEMUGEN_MC(process)
def L1NtupleRAW(process)

◆ L1NtupleAODRAWEMULegacy()

def customiseL1Ntuple.L1NtupleAODRAWEMULegacy (   process)

Definition at line 234 of file customiseL1Ntuple.py.

References L1NtupleAOD(), L1NtupleEMU(), L1NtupleEMULegacy(), and L1NtupleRAW().

234 def L1NtupleAODRAWEMULegacy(process):
235 
236  L1NtupleRAW(process)
237  L1NtupleEMU(process)
238  L1NtupleEMULegacy(process)
239  L1NtupleAOD(process)
240 
241  return process
242 
243 
def L1NtupleEMULegacy(process)
def L1NtupleAOD(process)
def L1NtupleEMU(process)
def L1NtupleAODRAWEMULegacy(process)
def L1NtupleRAW(process)

◆ L1NtupleEMU()

def customiseL1Ntuple.L1NtupleEMU (   process)

Definition at line 129 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODEMU(), L1NtupleAODEMU_MC(), L1NtupleAODEMUGEN_MC(), L1NtupleAODRAWEMU(), L1NtupleAODRAWEMUGEN_MC(), L1NtupleAODRAWEMULegacy(), L1NtupleRAWEMU(), L1NtupleRAWEMUGEN_MC(), and L1NtupleRAWEMULegacy().

129 def L1NtupleEMU(process):
130 
131  L1NtupleTFileOut(process)
132 
133  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
134  process.l1ntupleemu = cms.Path(
135  process.L1NtupleEMU
136  )
137 
138  process.schedule.append(process.l1ntupleemu)
139 
140  return process
141 
def L1NtupleEMU(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleEMUCalo()

def customiseL1Ntuple.L1NtupleEMUCalo (   process)

Definition at line 142 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODEMUCalo(), L1NtupleAODRAWEMUCalo(), and L1NtupleRAWEMUCalo().

142 def L1NtupleEMUCalo(process):
143 
144  L1NtupleTFileOut(process)
145 
146  process.load('L1Trigger.L1TNtuples.L1NtupleEMUCalo_cff')
147  process.l1ntupleemucalo = cms.Path(
148  process.L1NtupleEMUCalo
149  )
150 
151  process.schedule.append(process.l1ntupleemucalo)
152 
153  return process
154 
155 
def L1NtupleEMUCalo(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleEMULegacy()

def customiseL1Ntuple.L1NtupleEMULegacy (   process)

Definition at line 156 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODRAWEMULegacy(), and L1NtupleRAWEMULegacy().

156 def L1NtupleEMULegacy(process):
157 
158  L1NtupleTFileOut(process)
159 
160  process.load('L1Trigger.L1TNtuples.L1NtupleEMULegacy_cff')
161  process.l1ntupleemulegacy = cms.Path(
162  process.L1NtupleEMULegacy
163  )
164 
165  process.schedule.append(process.l1ntupleemulegacy)
166 
167  return process
168 
169 
def L1NtupleEMULegacy(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleEMUNoEventTree()

def customiseL1Ntuple.L1NtupleEMUNoEventTree (   process)

Definition at line 308 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

308 def L1NtupleEMUNoEventTree(process):
309 
310  L1NtupleTFileOut(process)
311 
312  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
313  process.L1NtupleEMU = cms.Sequence( process.l1CaloTowerEmuTree+process.l1UpgradeEmuTree+process.l1UpgradeTfMuonEmuTree )
314  process.l1ntuplesim = cms.Path(
315  process.L1NtupleEMU
316  )
317  process.schedule.append(process.l1ntuplesim)
318 
319  return process
320 
def L1NtupleEMUNoEventTree(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleGEN()

def customiseL1Ntuple.L1NtupleGEN (   process)

Definition at line 170 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODEMUGEN_MC(), L1NtupleAODRAWEMUGEN_MC(), and L1NtupleRAWEMUGEN_MC().

170 def L1NtupleGEN(process):
171 
172  L1NtupleTFileOut(process)
173 
174  process.load('L1Trigger.L1TNtuples.L1NtupleGEN_cff')
175  process.l1ntuplegen = cms.Path(
176  process.L1NtupleGEN
177  )
178 
179  process.schedule.append(process.l1ntuplegen)
180 
181  return process
182 
183 
def L1NtupleGEN(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleNANO()

def customiseL1Ntuple.L1NtupleNANO (   process)

Definition at line 102 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleNANOEMU().

102 def L1NtupleNANO(process):
103 
104  L1NtupleTFileOut(process)
105 
106  process.load('L1Trigger.L1TNtuples.L1NtupleNANO_cff')
107  process.l1ntuplenano = cms.Path(
108  process.L1NtupleNANO
109  )
110 
111  process.schedule.append(process.l1ntuplenano)
112 
113  return process
114 
def L1NtupleNANO(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleNanoDST()

def customiseL1Ntuple.L1NtupleNanoDST (   process)

Definition at line 85 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

85 def L1NtupleNanoDST(process):
86 
87  L1NtupleTFileOut(process)
88 
89  process.load('L1Trigger.L1TNtuples.L1NtupleNanoDST_cff')
90  process.l1ntuplenano = cms.Path(
91  process.L1NtupleNANO
92  )
93 
94  process.schedule.append(process.l1ntuplenano)
95 
96  # unpack uGT/test crate from the dedicated FED selectors post this update: https://its.cern.ch/jira/browse/CMSHLT-3172
97  process.gtStage2Digis.InputLabel = cms.InputTag("hltFEDSelectorL1")
98  process.gtTestcrateStage2Digis.InputLabel = cms.InputTag("hltFEDSelectorL1uGTTest")
99 
100  return process
101 
def L1NtupleNanoDST(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleNANOEMU()

def customiseL1Ntuple.L1NtupleNANOEMU (   process)

Definition at line 198 of file customiseL1Ntuple.py.

References L1NtupleNANO().

198 def L1NtupleNANOEMU(process):
199 
200  L1NtupleNANO(process)
201  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
202 
203  process.L1NtupleGTEMU = cms.Sequence( process.l1uGTEmuTree )
204  process.l1ntuplegtemu = cms.Path(
205  process.L1NtupleGTEMU
206  )
207  process.schedule.append(process.l1ntuplegtemu)
208 
209  return process
210 
def L1NtupleNANOEMU(process)
def L1NtupleNANO(process)

◆ L1NtupleRAW()

def customiseL1Ntuple.L1NtupleRAW (   process)

Definition at line 65 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODRAW(), L1NtupleAODRAWEMU(), L1NtupleAODRAWEMUGEN_MC(), L1NtupleAODRAWEMULegacy(), L1NtupleRAWEMU(), L1NtupleRAWEMUGEN_MC(), and L1NtupleRAWEMULegacy().

65 def L1NtupleRAW(process):
66 
67  L1NtupleTFileOut(process)
68 
69  process.load('L1Trigger.L1TNtuples.L1NtupleRAW_cff')
70  process.l1ntupleraw = cms.Path(
71  process.L1NtupleRAW
72  )
73 
74  process.schedule.append(process.l1ntupleraw)
75 
76  # for 5 BX of candidates in L1Extra
77  if "gctDigis" in process.producers:
78  process.gctDigis.numberOfGctSamplesToUnpack = cms.uint32(5)
79 
80  if "l1extraParticles" in process.producers:
81  process.l1extraParticles.centralBxOnly = cms.bool(False)
82 
83  return process
84 
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation
def L1NtupleRAW(process)

◆ L1NtupleRAWCalo()

def customiseL1Ntuple.L1NtupleRAWCalo (   process)

Definition at line 115 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODRAWCalo(), L1NtupleAODRAWEMUCalo(), and L1NtupleRAWEMUCalo().

115 def L1NtupleRAWCalo(process):
116 
117  L1NtupleTFileOut(process)
118 
119  process.load('L1Trigger.L1TNtuples.L1NtupleRAWCalo_cff')
120  process.l1ntuplerawcalo = cms.Path(
121  process.L1NtupleRAWCalo
122  )
123 
124  process.schedule.append(process.l1ntuplerawcalo)
125 
126  return process
127 
128 
def L1NtupleRAWCalo(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleRAWEMU()

def customiseL1Ntuple.L1NtupleRAWEMU (   process)

Definition at line 184 of file customiseL1Ntuple.py.

References L1NtupleEMU(), and L1NtupleRAW().

184 def L1NtupleRAWEMU(process):
185 
186  L1NtupleRAW(process)
187  L1NtupleEMU(process)
188 
189  return process
190 
def L1NtupleEMU(process)
def L1NtupleRAWEMU(process)
def L1NtupleRAW(process)

◆ L1NtupleRAWEMUCalo()

def customiseL1Ntuple.L1NtupleRAWEMUCalo (   process)

Definition at line 191 of file customiseL1Ntuple.py.

References L1NtupleEMUCalo(), and L1NtupleRAWCalo().

191 def L1NtupleRAWEMUCalo(process):
192 
193  L1NtupleRAWCalo(process)
194  L1NtupleEMUCalo(process)
195 
196  return process
197 
def L1NtupleRAWEMUCalo(process)
def L1NtupleEMUCalo(process)
def L1NtupleRAWCalo(process)

◆ L1NtupleRAWEMUGEN_MC()

def customiseL1Ntuple.L1NtupleRAWEMUGEN_MC (   process)

Definition at line 283 of file customiseL1Ntuple.py.

References L1NtupleEMU(), L1NtupleGEN(), and L1NtupleRAW().

283 def L1NtupleRAWEMUGEN_MC(process):
284 
285  L1NtupleRAW(process)
286  L1NtupleEMU(process)
287  L1NtupleGEN(process)
288 
289  return process
290 
def L1NtupleEMU(process)
def L1NtupleGEN(process)
def L1NtupleRAWEMUGEN_MC(process)
def L1NtupleRAW(process)

◆ L1NtupleRAWEMULegacy()

def customiseL1Ntuple.L1NtupleRAWEMULegacy (   process)

Definition at line 211 of file customiseL1Ntuple.py.

References L1NtupleEMU(), L1NtupleEMULegacy(), and L1NtupleRAW().

211 def L1NtupleRAWEMULegacy(process):
212 
213  L1NtupleRAW(process)
214  L1NtupleEMU(process)
215  L1NtupleEMULegacy(process)
216 
217  return process
218 
219 
def L1NtupleRAWEMULegacy(process)
def L1NtupleEMULegacy(process)
def L1NtupleEMU(process)
def L1NtupleRAW(process)

◆ L1NtupleTFileOut()

def customiseL1Ntuple.L1NtupleTFileOut (   process)

customisations for L1 ntuple generation

Add new customisations to this file!

Example usage : cmsDriver.py testNtuple -s NONE –customise=L1Trigger/L1TNtuples/customiseL1Ntuple.customiseL1NtupleAOD –conditions=auto:run2_mc_50ns –filein='/store/relval/CMSSW_7_5_0_pre1/RelValProdTTbar_13/AODSIM/MCRUN2_74_V7-v1/00000/48159643-5EE3-E411-818F-0025905A48F0.root' -n 100

Definition at line 14 of file customiseL1Ntuple.py.

Referenced by L1NtupleAOD(), L1NtupleAODCalo(), L1NtupleEMU(), L1NtupleEMUCalo(), L1NtupleEMULegacy(), L1NtupleEMUNoEventTree(), L1NtupleGEN(), L1NtupleNANO(), L1NtupleNanoDST(), L1NtupleRAW(), and L1NtupleRAWCalo().

14 def L1NtupleTFileOut(process):
15 
16  process.TFileService = cms.Service(
17  "TFileService",
18  fileName = cms.string('L1Ntuple.root')
19  )
20 
21  return process
22 
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ PrefireVetoFilter()

def customiseL1Ntuple.PrefireVetoFilter (   process)

Definition at line 321 of file customiseL1Ntuple.py.

321 def PrefireVetoFilter(process):
322 
323  process.load('EventFilter.L1TRawToDigi.triggerRulePrefireVetoFilter_cfi')
324 
325  if hasattr(process, 'l1ntupleraw'):
326  process.l1ntupleraw.insert(0,process.triggerRulePrefireVetoFilter)
327  if hasattr(process, 'l1ntupleemu'):
328  process.l1ntupleemu.insert(0,process.triggerRulePrefireVetoFilter)
329  if hasattr(process, 'l1ntupleaod'):
330  process.l1ntupleaod.insert(0,process.triggerRulePrefireVetoFilter)
331  if hasattr(process, 'l1ntuplerawcalo'):
332  process.l1ntuplerawcalo.insert(0,process.triggerRulePrefireVetoFilter)
333  if hasattr(process, 'l1ntupleemucalo'):
334  process.l1ntupleemucalo.insert(0,process.triggerRulePrefireVetoFilter)
335  if hasattr(process, 'l1ntupleaodcalo'):
336  process.l1ntupleaodcalo.insert(0,process.triggerRulePrefireVetoFilter)
337 
338  return process
339 
def PrefireVetoFilter(process)