CMS 3D CMS Logo

Functions
customiseL1Ntuple Namespace Reference

Functions

def L1NtupleAOD (process)
 
def L1NtupleAOD_MC (process)
 
def L1NtupleAODEMU (process)
 
def L1NtupleAODEMU_MC (process)
 
def L1NtupleAODEMUGEN_MC (process)
 
def L1NtupleAODRAW (process)
 
def L1NtupleAODRAWEMU (process)
 
def L1NtupleAODRAWEMULegacy (process)
 
def L1NtupleEMU (process)
 
def L1NtupleEMULegacy (process)
 
def L1NtupleEMUNoEventTree (process)
 
def L1NtupleGEN (process)
 
def L1NtupleRAW (process)
 
def L1NtupleRAWEMU (process)
 
def L1NtupleRAWEMUGEN_MC (process)
 
def L1NtupleRAWEMULegacy (process)
 
def L1NtupleTFileOut (process)
 customisations for L1 ntuple generation More...
 

Function Documentation

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 
40 
def L1NtupleAOD(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleAOD_MC (   process)

Definition at line 41 of file customiseL1Ntuple.py.

References L1NtupleAOD().

Referenced by L1NtupleAODEMU_MC(), and L1NtupleAODEMUGEN_MC().

41 def L1NtupleAOD_MC(process):
42 
43  L1NtupleAOD(process)
44 
45  process.l1JetRecoTree.jecToken = cms.untracked.InputTag("ak4PFCHSL1FastL2L3Corrector")
46 
47  return process
48 
49 
50 
def L1NtupleAOD(process)
def L1NtupleAOD_MC(process)
def customiseL1Ntuple.L1NtupleAODEMU (   process)

Definition at line 156 of file customiseL1Ntuple.py.

References L1NtupleAOD(), and L1NtupleEMU().

156 def L1NtupleAODEMU(process):
157 
158  L1NtupleEMU(process)
159  L1NtupleAOD(process)
160 
161  return process
162 
def L1NtupleAOD(process)
def L1NtupleEMU(process)
def L1NtupleAODEMU(process)
def customiseL1Ntuple.L1NtupleAODEMU_MC (   process)

Definition at line 163 of file customiseL1Ntuple.py.

References L1NtupleAOD_MC(), and L1NtupleEMU().

163 def L1NtupleAODEMU_MC(process):
164 
165  L1NtupleEMU(process)
166  L1NtupleAOD_MC(process)
167 
168  return process
169 
170 
def L1NtupleAODEMU_MC(process)
def L1NtupleEMU(process)
def L1NtupleAOD_MC(process)
def customiseL1Ntuple.L1NtupleAODEMUGEN_MC (   process)

Definition at line 179 of file customiseL1Ntuple.py.

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

179 def L1NtupleAODEMUGEN_MC(process):
180 
181  L1NtupleEMU(process)
182  L1NtupleAOD_MC(process)
183  L1NtupleGEN(process)
184 
185  return process
186 
187 
def L1NtupleEMU(process)
def L1NtupleAODEMUGEN_MC(process)
def L1NtupleAOD_MC(process)
def L1NtupleGEN(process)
def customiseL1Ntuple.L1NtupleAODRAW (   process)

Definition at line 131 of file customiseL1Ntuple.py.

References L1NtupleAOD(), and L1NtupleRAW().

131 def L1NtupleAODRAW(process):
132 
133  L1NtupleRAW(process)
134  L1NtupleAOD(process)
135 
136  return process
137 
def L1NtupleAOD(process)
def L1NtupleAODRAW(process)
def L1NtupleRAW(process)
def customiseL1Ntuple.L1NtupleAODRAWEMU (   process)

Definition at line 148 of file customiseL1Ntuple.py.

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

148 def L1NtupleAODRAWEMU(process):
149 
150  L1NtupleRAW(process)
151  L1NtupleEMU(process)
152  L1NtupleAOD(process)
153 
154  return process
155 
def L1NtupleAOD(process)
def L1NtupleEMU(process)
def L1NtupleAODRAWEMU(process)
def L1NtupleRAW(process)
def customiseL1Ntuple.L1NtupleAODRAWEMULegacy (   process)

Definition at line 138 of file customiseL1Ntuple.py.

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

139 
140  L1NtupleRAW(process)
141  L1NtupleEMU(process)
142  L1NtupleEMULegacy(process)
143  L1NtupleAOD(process)
144 
145  return process
146 
147 
def L1NtupleEMULegacy(process)
def L1NtupleAOD(process)
def L1NtupleEMU(process)
def L1NtupleAODRAWEMULegacy(process)
def L1NtupleRAW(process)
def customiseL1Ntuple.L1NtupleEMU (   process)

Definition at line 73 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

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

73 def L1NtupleEMU(process):
74 
75  L1NtupleTFileOut(process)
76 
77  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
78  process.l1ntupleemu = cms.Path(
79  process.L1NtupleEMU
80  )
81 
82  process.schedule.append(process.l1ntupleemu)
83 
84  return process
85 
def L1NtupleEMU(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleEMULegacy (   process)

Definition at line 86 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODRAWEMULegacy(), and L1NtupleRAWEMULegacy().

86 def L1NtupleEMULegacy(process):
87 
88  L1NtupleTFileOut(process)
89 
90  process.load('L1Trigger.L1TNtuples.L1NtupleEMULegacy_cff')
91  process.l1ntupleemulegacy = cms.Path(
92  process.L1NtupleEMULegacy
93  )
94 
95  process.schedule.append(process.l1ntupleemulegacy)
96 
97  return process
98 
99 
def L1NtupleEMULegacy(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleEMUNoEventTree (   process)

Definition at line 188 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

189 
190  L1NtupleTFileOut(process)
191 
192  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
193  process.L1NtupleEMU = cms.Sequence( process.l1CaloTowerEmuTree+process.l1UpgradeEmuTree+process.l1UpgradeTfMuonEmuTree )
194  process.l1ntuplesim = cms.Path(
195  process.L1NtupleEMU
196  )
197  process.schedule.append(process.l1ntuplesim)
198 
199  return process
200 
201 
202 
def L1NtupleEMUNoEventTree(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleGEN (   process)

Definition at line 100 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODEMUGEN_MC(), and L1NtupleRAWEMUGEN_MC().

100 def L1NtupleGEN(process):
101 
102  L1NtupleTFileOut(process)
103 
104  process.load('L1Trigger.L1TNtuples.L1NtupleGEN_cff')
105  process.l1ntuplegen = cms.Path(
106  process.L1NtupleGEN
107  )
108 
109  process.schedule.append(process.l1ntuplegen)
110 
111  return process
112 
113 
def L1NtupleGEN(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleRAW (   process)

Definition at line 51 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

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

51 def L1NtupleRAW(process):
52 
53  L1NtupleTFileOut(process)
54 
55  process.load('L1Trigger.L1TNtuples.L1NtupleRAW_cff')
56  process.l1ntupleraw = cms.Path(
57  process.L1NtupleRAW
58  )
59 
60  process.schedule.append(process.l1ntupleraw)
61 
62  # for 5 BX of candidates in L1Extra
63  if "gctDigis" in process.producers:
64  process.gctDigis.numberOfGctSamplesToUnpack = cms.uint32(5)
65 
66  if "l1extraParticles" in process.producers:
67  process.l1extraParticles.centralBxOnly = cms.bool(False)
68 
69  return process
70 
71 
72 
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation
def L1NtupleRAW(process)
def customiseL1Ntuple.L1NtupleRAWEMU (   process)

Definition at line 114 of file customiseL1Ntuple.py.

References L1NtupleEMU(), and L1NtupleRAW().

114 def L1NtupleRAWEMU(process):
115 
116  L1NtupleRAW(process)
117  L1NtupleEMU(process)
118 
119  return process
120 
def L1NtupleEMU(process)
def L1NtupleRAWEMU(process)
def L1NtupleRAW(process)
def customiseL1Ntuple.L1NtupleRAWEMUGEN_MC (   process)

Definition at line 171 of file customiseL1Ntuple.py.

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

171 def L1NtupleRAWEMUGEN_MC(process):
172 
173  L1NtupleRAW(process)
174  L1NtupleEMU(process)
175  L1NtupleGEN(process)
176 
177  return process
178 
def L1NtupleEMU(process)
def L1NtupleGEN(process)
def L1NtupleRAWEMUGEN_MC(process)
def L1NtupleRAW(process)
def customiseL1Ntuple.L1NtupleRAWEMULegacy (   process)

Definition at line 121 of file customiseL1Ntuple.py.

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

121 def L1NtupleRAWEMULegacy(process):
122 
123  L1NtupleRAW(process)
124  L1NtupleEMU(process)
125  L1NtupleEMULegacy(process)
126 
127  return process
128 
129 
130 
def L1NtupleRAWEMULegacy(process)
def L1NtupleEMULegacy(process)
def L1NtupleEMU(process)
def L1NtupleRAW(process)
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(), L1NtupleEMU(), L1NtupleEMULegacy(), L1NtupleEMUNoEventTree(), L1NtupleGEN(), and L1NtupleRAW().

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