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 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 243 of file customiseL1Ntuple.py.

References L1NtupleAOD(), and L1NtupleEMU().

243 def L1NtupleAODEMU(process):
244 
245  L1NtupleEMU(process)
246  L1NtupleAOD(process)
247 
248  return process
249 
def L1NtupleAOD(process)
def L1NtupleEMU(process)
def L1NtupleAODEMU(process)

◆ L1NtupleAODEMU_MC()

def customiseL1Ntuple.L1NtupleAODEMU_MC (   process)

Definition at line 258 of file customiseL1Ntuple.py.

References L1NtupleAOD_MC(), and L1NtupleEMU().

258 def L1NtupleAODEMU_MC(process):
259 
260  L1NtupleEMU(process)
261  L1NtupleAOD_MC(process)
262 
263  return process
264 
265 
def L1NtupleAODEMU_MC(process)
def L1NtupleEMU(process)
def L1NtupleAOD_MC(process)

◆ L1NtupleAODEMUCalo()

def customiseL1Ntuple.L1NtupleAODEMUCalo (   process)

Definition at line 250 of file customiseL1Ntuple.py.

References L1NtupleAODCalo(), and L1NtupleEMUCalo().

250 def L1NtupleAODEMUCalo(process):
251 
252  L1NtupleEMUCalo(process)
253  L1NtupleAODCalo(process)
254 
255  return process
256 
257 
def L1NtupleAODCalo(process)
def L1NtupleEMUCalo(process)
def L1NtupleAODEMUCalo(process)

◆ L1NtupleAODEMUGEN_MC()

def customiseL1Ntuple.L1NtupleAODEMUGEN_MC (   process)

Definition at line 274 of file customiseL1Ntuple.py.

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

274 def L1NtupleAODEMUGEN_MC(process):
275 
276  L1NtupleEMU(process)
277  L1NtupleAOD_MC(process)
278  L1NtupleGEN(process)
279 
280  return process
281 
def L1NtupleEMU(process)
def L1NtupleAODEMUGEN_MC(process)
def L1NtupleAOD_MC(process)
def L1NtupleGEN(process)

◆ L1NtupleAODRAW()

def customiseL1Ntuple.L1NtupleAODRAW (   process)

Definition at line 203 of file customiseL1Ntuple.py.

References L1NtupleAOD(), and L1NtupleRAW().

203 def L1NtupleAODRAW(process):
204 
205  L1NtupleRAW(process)
206  L1NtupleAOD(process)
207 
208  return process
209 
def L1NtupleAOD(process)
def L1NtupleAODRAW(process)
def L1NtupleRAW(process)

◆ L1NtupleAODRAWCalo()

def customiseL1Ntuple.L1NtupleAODRAWCalo (   process)

Definition at line 210 of file customiseL1Ntuple.py.

References L1NtupleAODCalo(), and L1NtupleRAWCalo().

210 def L1NtupleAODRAWCalo(process):
211 
212  L1NtupleRAWCalo(process)
213  L1NtupleAODCalo(process)
214 
215  return process
216 
def L1NtupleAODCalo(process)
def L1NtupleRAWCalo(process)
def L1NtupleAODRAWCalo(process)

◆ L1NtupleAODRAWEMU()

def customiseL1Ntuple.L1NtupleAODRAWEMU (   process)

Definition at line 227 of file customiseL1Ntuple.py.

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

227 def L1NtupleAODRAWEMU(process):
228 
229  L1NtupleRAW(process)
230  L1NtupleEMU(process)
231  L1NtupleAOD(process)
232 
233  return process
234 
def L1NtupleAOD(process)
def L1NtupleEMU(process)
def L1NtupleAODRAWEMU(process)
def L1NtupleRAW(process)

◆ L1NtupleAODRAWEMUCalo()

def customiseL1Ntuple.L1NtupleAODRAWEMUCalo (   process)

Definition at line 235 of file customiseL1Ntuple.py.

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

235 def L1NtupleAODRAWEMUCalo(process):
236 
237  L1NtupleRAWCalo(process)
238  L1NtupleEMUCalo(process)
239  L1NtupleAODCalo(process)
240 
241  return process
242 
def L1NtupleAODCalo(process)
def L1NtupleEMUCalo(process)
def L1NtupleRAWCalo(process)
def L1NtupleAODRAWEMUCalo(process)

◆ L1NtupleAODRAWEMUGEN_MC()

def customiseL1Ntuple.L1NtupleAODRAWEMUGEN_MC (   process)

Definition at line 282 of file customiseL1Ntuple.py.

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

282 def L1NtupleAODRAWEMUGEN_MC(process):
283 
284  L1NtupleRAW(process)
285  L1NtupleEMU(process)
286  L1NtupleAOD_MC(process)
287  L1NtupleGEN(process)
288 
289  return process
290 
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 217 of file customiseL1Ntuple.py.

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

217 def L1NtupleAODRAWEMULegacy(process):
218 
219  L1NtupleRAW(process)
220  L1NtupleEMU(process)
221  L1NtupleEMULegacy(process)
222  L1NtupleAOD(process)
223 
224  return process
225 
226 
def L1NtupleEMULegacy(process)
def L1NtupleAOD(process)
def L1NtupleEMU(process)
def L1NtupleAODRAWEMULegacy(process)
def L1NtupleRAW(process)

◆ L1NtupleEMU()

def customiseL1Ntuple.L1NtupleEMU (   process)

Definition at line 112 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

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

112 def L1NtupleEMU(process):
113 
114  L1NtupleTFileOut(process)
115 
116  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
117  process.l1ntupleemu = cms.Path(
118  process.L1NtupleEMU
119  )
120 
121  process.schedule.append(process.l1ntupleemu)
122 
123  return process
124 
def L1NtupleEMU(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleEMUCalo()

def customiseL1Ntuple.L1NtupleEMUCalo (   process)

Definition at line 125 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

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

125 def L1NtupleEMUCalo(process):
126 
127  L1NtupleTFileOut(process)
128 
129  process.load('L1Trigger.L1TNtuples.L1NtupleEMUCalo_cff')
130  process.l1ntupleemucalo = cms.Path(
131  process.L1NtupleEMUCalo
132  )
133 
134  process.schedule.append(process.l1ntupleemucalo)
135 
136  return process
137 
138 
def L1NtupleEMUCalo(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleEMULegacy()

def customiseL1Ntuple.L1NtupleEMULegacy (   process)

Definition at line 139 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODRAWEMULegacy(), and L1NtupleRAWEMULegacy().

139 def L1NtupleEMULegacy(process):
140 
141  L1NtupleTFileOut(process)
142 
143  process.load('L1Trigger.L1TNtuples.L1NtupleEMULegacy_cff')
144  process.l1ntupleemulegacy = cms.Path(
145  process.L1NtupleEMULegacy
146  )
147 
148  process.schedule.append(process.l1ntupleemulegacy)
149 
150  return process
151 
152 
def L1NtupleEMULegacy(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleEMUNoEventTree()

def customiseL1Ntuple.L1NtupleEMUNoEventTree (   process)

Definition at line 291 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

291 def L1NtupleEMUNoEventTree(process):
292 
293  L1NtupleTFileOut(process)
294 
295  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
296  process.L1NtupleEMU = cms.Sequence( process.l1CaloTowerEmuTree+process.l1UpgradeEmuTree+process.l1UpgradeTfMuonEmuTree )
297  process.l1ntuplesim = cms.Path(
298  process.L1NtupleEMU
299  )
300  process.schedule.append(process.l1ntuplesim)
301 
302  return process
303 
def L1NtupleEMUNoEventTree(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleGEN()

def customiseL1Ntuple.L1NtupleGEN (   process)

Definition at line 153 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

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

153 def L1NtupleGEN(process):
154 
155  L1NtupleTFileOut(process)
156 
157  process.load('L1Trigger.L1TNtuples.L1NtupleGEN_cff')
158  process.l1ntuplegen = cms.Path(
159  process.L1NtupleGEN
160  )
161 
162  process.schedule.append(process.l1ntuplegen)
163 
164  return process
165 
166 
def L1NtupleGEN(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleNANO()

def customiseL1Ntuple.L1NtupleNANO (   process)

Definition at line 85 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleNANOEMU().

85 def L1NtupleNANO(process):
86 
87  L1NtupleTFileOut(process)
88 
89  process.load('L1Trigger.L1TNtuples.L1NtupleNANO_cff')
90  process.l1ntuplenano = cms.Path(
91  process.L1NtupleNANO
92  )
93 
94  process.schedule.append(process.l1ntuplenano)
95 
96  return process
97 
def L1NtupleNANO(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleNANOEMU()

def customiseL1Ntuple.L1NtupleNANOEMU (   process)

Definition at line 181 of file customiseL1Ntuple.py.

References L1NtupleNANO().

181 def L1NtupleNANOEMU(process):
182 
183  L1NtupleNANO(process)
184  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
185 
186  process.L1NtupleGTEMU = cms.Sequence( process.l1uGTEmuTree )
187  process.l1ntuplegtemu = cms.Path(
188  process.L1NtupleGTEMU
189  )
190  process.schedule.append(process.l1ntuplegtemu)
191 
192  return process
193 
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 98 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

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

98 def L1NtupleRAWCalo(process):
99 
100  L1NtupleTFileOut(process)
101 
102  process.load('L1Trigger.L1TNtuples.L1NtupleRAWCalo_cff')
103  process.l1ntuplerawcalo = cms.Path(
104  process.L1NtupleRAWCalo
105  )
106 
107  process.schedule.append(process.l1ntuplerawcalo)
108 
109  return process
110 
111 
def L1NtupleRAWCalo(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation

◆ L1NtupleRAWEMU()

def customiseL1Ntuple.L1NtupleRAWEMU (   process)

Definition at line 167 of file customiseL1Ntuple.py.

References L1NtupleEMU(), and L1NtupleRAW().

167 def L1NtupleRAWEMU(process):
168 
169  L1NtupleRAW(process)
170  L1NtupleEMU(process)
171 
172  return process
173 
def L1NtupleEMU(process)
def L1NtupleRAWEMU(process)
def L1NtupleRAW(process)

◆ L1NtupleRAWEMUCalo()

def customiseL1Ntuple.L1NtupleRAWEMUCalo (   process)

Definition at line 174 of file customiseL1Ntuple.py.

References L1NtupleEMUCalo(), and L1NtupleRAWCalo().

174 def L1NtupleRAWEMUCalo(process):
175 
176  L1NtupleRAWCalo(process)
177  L1NtupleEMUCalo(process)
178 
179  return process
180 
def L1NtupleRAWEMUCalo(process)
def L1NtupleEMUCalo(process)
def L1NtupleRAWCalo(process)

◆ L1NtupleRAWEMUGEN_MC()

def customiseL1Ntuple.L1NtupleRAWEMUGEN_MC (   process)

Definition at line 266 of file customiseL1Ntuple.py.

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

266 def L1NtupleRAWEMUGEN_MC(process):
267 
268  L1NtupleRAW(process)
269  L1NtupleEMU(process)
270  L1NtupleGEN(process)
271 
272  return process
273 
def L1NtupleEMU(process)
def L1NtupleGEN(process)
def L1NtupleRAWEMUGEN_MC(process)
def L1NtupleRAW(process)

◆ L1NtupleRAWEMULegacy()

def customiseL1Ntuple.L1NtupleRAWEMULegacy (   process)

Definition at line 194 of file customiseL1Ntuple.py.

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

194 def L1NtupleRAWEMULegacy(process):
195 
196  L1NtupleRAW(process)
197  L1NtupleEMU(process)
198  L1NtupleEMULegacy(process)
199 
200  return process
201 
202 
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(), 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 304 of file customiseL1Ntuple.py.

304 def PrefireVetoFilter(process):
305 
306  process.load('EventFilter.L1TRawToDigi.triggerRulePrefireVetoFilter_cfi')
307 
308  if hasattr(process, 'l1ntupleraw'):
309  process.l1ntupleraw.insert(0,process.triggerRulePrefireVetoFilter)
310  if hasattr(process, 'l1ntupleemu'):
311  process.l1ntupleemu.insert(0,process.triggerRulePrefireVetoFilter)
312  if hasattr(process, 'l1ntupleaod'):
313  process.l1ntupleaod.insert(0,process.triggerRulePrefireVetoFilter)
314  if hasattr(process, 'l1ntuplerawcalo'):
315  process.l1ntuplerawcalo.insert(0,process.triggerRulePrefireVetoFilter)
316  if hasattr(process, 'l1ntupleemucalo'):
317  process.l1ntupleemucalo.insert(0,process.triggerRulePrefireVetoFilter)
318  if hasattr(process, 'l1ntupleaodcalo'):
319  process.l1ntupleaodcalo.insert(0,process.triggerRulePrefireVetoFilter)
320 
321  return process
322 
def PrefireVetoFilter(process)