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 L1NtupleEMU (process)
 
def L1NtupleEMUNoEventTree (process)
 
def L1NtupleGEN (process)
 
def L1NtupleRAW (process)
 
def L1NtupleRAWEMU (process)
 
def L1NtupleRAWEMUGEN_MC (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(), and L1NtupleAODRAWEMU().

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

References L1NtupleAOD(), and L1NtupleEMU().

125 def L1NtupleAODEMU(process):
126 
127  L1NtupleEMU(process)
128  L1NtupleAOD(process)
129 
130  return process
131 
def L1NtupleAOD(process)
def L1NtupleEMU(process)
def L1NtupleAODEMU(process)
def customiseL1Ntuple.L1NtupleAODEMU_MC (   process)

Definition at line 132 of file customiseL1Ntuple.py.

References L1NtupleAOD_MC(), and L1NtupleEMU().

132 def L1NtupleAODEMU_MC(process):
133 
134  L1NtupleEMU(process)
135  L1NtupleAOD_MC(process)
136 
137  return process
138 
139 
def L1NtupleAODEMU_MC(process)
def L1NtupleEMU(process)
def L1NtupleAOD_MC(process)
def customiseL1Ntuple.L1NtupleAODEMUGEN_MC (   process)

Definition at line 148 of file customiseL1Ntuple.py.

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

148 def L1NtupleAODEMUGEN_MC(process):
149 
150  L1NtupleEMU(process)
151  L1NtupleAOD_MC(process)
152  L1NtupleGEN(process)
153 
154  return process
155 
156 
def L1NtupleEMU(process)
def L1NtupleAODEMUGEN_MC(process)
def L1NtupleAOD_MC(process)
def L1NtupleGEN(process)
def customiseL1Ntuple.L1NtupleAODRAW (   process)

Definition at line 109 of file customiseL1Ntuple.py.

References L1NtupleAOD(), and L1NtupleRAW().

109 def L1NtupleAODRAW(process):
110 
111  L1NtupleRAW(process)
112  L1NtupleAOD(process)
113 
114  return process
115 
116 
def L1NtupleAOD(process)
def L1NtupleAODRAW(process)
def L1NtupleRAW(process)
def customiseL1Ntuple.L1NtupleAODRAWEMU (   process)

Definition at line 117 of file customiseL1Ntuple.py.

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

117 def L1NtupleAODRAWEMU(process):
118 
119  L1NtupleRAW(process)
120  L1NtupleEMU(process)
121  L1NtupleAOD(process)
122 
123  return process
124 
def L1NtupleAOD(process)
def L1NtupleEMU(process)
def L1NtupleAODRAWEMU(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(), L1NtupleRAWEMU(), and L1NtupleRAWEMUGEN_MC().

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 
86 
def L1NtupleEMU(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleEMUNoEventTree (   process)

Definition at line 157 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

158 
159  L1NtupleTFileOut(process)
160 
161  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
162  process.L1NtupleEMU = cms.Sequence( process.l1CaloTowerEmuTree+process.l1UpgradeEmuTree+process.l1UpgradeTfMuonEmuTree )
163  process.l1ntuplesim = cms.Path(
164  process.L1NtupleEMU
165  )
166  process.schedule.append(process.l1ntuplesim)
167 
168  return process
169 
170 
171 
def L1NtupleEMUNoEventTree(process)
def L1NtupleTFileOut(process)
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleGEN (   process)

Definition at line 87 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODEMUGEN_MC(), and L1NtupleRAWEMUGEN_MC().

87 def L1NtupleGEN(process):
88 
89  L1NtupleTFileOut(process)
90 
91  process.load('L1Trigger.L1TNtuples.L1NtupleGEN_cff')
92  process.l1ntuplegen = cms.Path(
93  process.L1NtupleGEN
94  )
95 
96  process.schedule.append(process.l1ntuplegen)
97 
98  return process
99 
100 
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(), L1NtupleRAWEMU(), and L1NtupleRAWEMUGEN_MC().

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

References L1NtupleEMU(), and L1NtupleRAW().

101 def L1NtupleRAWEMU(process):
102 
103  L1NtupleRAW(process)
104  L1NtupleEMU(process)
105 
106  return process
107 
108 
def L1NtupleEMU(process)
def L1NtupleRAWEMU(process)
def L1NtupleRAW(process)
def customiseL1Ntuple.L1NtupleRAWEMUGEN_MC (   process)

Definition at line 140 of file customiseL1Ntuple.py.

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

140 def L1NtupleRAWEMUGEN_MC(process):
141 
142  L1NtupleRAW(process)
143  L1NtupleEMU(process)
144  L1NtupleGEN(process)
145 
146  return process
147 
def L1NtupleEMU(process)
def L1NtupleGEN(process)
def L1NtupleRAWEMUGEN_MC(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(), 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