test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
customiseL1Ntuple Namespace Reference

Functions

def L1NtupleAOD
 
def L1NtupleAOD_MC
 
def L1NtupleAODEMU
 
def L1NtupleAODEMU_MC
 
def L1NtupleAODEMUGEN_MC
 
def L1NtupleAODRAW
 
def L1NtupleAODRAWEMU
 
def L1NtupleEMU
 
def L1NtupleEMUNoEventTree
 
def L1NtupleGEN
 
def L1NtupleRAW
 
def L1NtupleRAWEMU
 
def L1NtupleRAWEMUGEN_MC
 
def L1NtupleTFileOut
 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 
27 def L1NtupleAOD(process):
28 
29  L1NtupleTFileOut(process)
30  L1NtupleCustomReco(process)
31 
32  process.load('L1Trigger.L1TNtuples.L1NtupleAOD_cff')
33  process.l1ntupleaod = cms.Path(
34  process.L1NtupleAOD
35  )
36 
37  process.schedule.append(process.l1ntupleaod)
38 
39  return process
40 
def L1NtupleTFileOut
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 
42 def L1NtupleAOD_MC(process):
43 
44  L1NtupleAOD(process)
45 
46  process.l1JetRecoTree.jecToken = cms.untracked.InputTag("ak4PFCHSL1FastL2L3Corrector")
47 
48  return process
49 
50 
def customiseL1Ntuple.L1NtupleAODEMU (   process)

Definition at line 125 of file customiseL1Ntuple.py.

References L1NtupleAOD(), and L1NtupleEMU().

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

Definition at line 132 of file customiseL1Ntuple.py.

References L1NtupleAOD_MC(), and L1NtupleEMU().

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

Definition at line 148 of file customiseL1Ntuple.py.

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

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

Definition at line 109 of file customiseL1Ntuple.py.

References L1NtupleAOD(), and L1NtupleRAW().

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

Definition at line 117 of file customiseL1Ntuple.py.

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

118 def L1NtupleAODRAWEMU(process):
119 
120  L1NtupleRAW(process)
121  L1NtupleEMU(process)
122  L1NtupleAOD(process)
123 
124  return 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 
74 def L1NtupleEMU(process):
75 
76  L1NtupleTFileOut(process)
77 
78  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
79  process.l1ntupleemu = cms.Path(
80  process.L1NtupleEMU
81  )
82 
83  process.schedule.append(process.l1ntupleemu)
84 
85  return process
86 
def L1NtupleTFileOut
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleEMUNoEventTree (   process)

Definition at line 157 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

158 def L1NtupleEMUNoEventTree(process):
159 
160  L1NtupleTFileOut(process)
161 
162  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
163  process.L1NtupleEMU = cms.Sequence( process.l1CaloTowerEmuTree+process.l1UpgradeEmuTree+process.l1UpgradeTfMuonEmuTree )
164  process.l1ntuplesim = cms.Path(
165  process.L1NtupleEMU
166  )
167  process.schedule.append(process.l1ntuplesim)
168 
169  return process
170 
171 
def L1NtupleTFileOut
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 
88 def L1NtupleGEN(process):
89 
90  L1NtupleTFileOut(process)
91 
92  process.load('L1Trigger.L1TNtuples.L1NtupleGEN_cff')
93  process.l1ntuplegen = cms.Path(
94  process.L1NtupleGEN
95  )
96 
97  process.schedule.append(process.l1ntuplegen)
98 
99  return process
100 
def L1NtupleTFileOut
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 
52 def L1NtupleRAW(process):
53 
54  L1NtupleTFileOut(process)
55 
56  process.load('L1Trigger.L1TNtuples.L1NtupleRAW_cff')
57  process.l1ntupleraw = cms.Path(
58  process.L1NtupleRAW
59  )
60 
61  process.schedule.append(process.l1ntupleraw)
62 
63  # for 5 BX of candidates in L1Extra
64  if "gctDigis" in process.producers:
65  process.gctDigis.numberOfGctSamplesToUnpack = cms.uint32(5)
66 
67  if "l1extraParticles" in process.producers:
68  process.l1extraParticles.centralBxOnly = cms.bool(False)
69 
70  return process
71 
72 
def L1NtupleTFileOut
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleRAWEMU (   process)

Definition at line 101 of file customiseL1Ntuple.py.

References L1NtupleEMU(), and L1NtupleRAW().

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

Definition at line 140 of file customiseL1Ntuple.py.

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

141 def L1NtupleRAWEMUGEN_MC(process):
142 
143  L1NtupleRAW(process)
144  L1NtupleEMU(process)
145  L1NtupleGEN(process)
146 
147  return 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 
15 def L1NtupleTFileOut(process):
16 
17  process.TFileService = cms.Service(
18  "TFileService",
19  fileName = cms.string('L1Ntuple.root')
20  )
21 
22  return process
def L1NtupleTFileOut
customisations for L1 ntuple generation