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 L1NtupleAODEMU
 
def L1NtupleAODRAW
 
def L1NtupleAODRAWEMU
 
def L1NtupleEMU
 
def L1NtupleEMUNoEventTree
 
def L1NtupleMC
 
def L1NtupleRAW
 
def L1NtupleRAWEMU
 
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 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 
41 
def L1NtupleTFileOut
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleAODEMU (   process)

Definition at line 102 of file customiseL1Ntuple.py.

References L1NtupleAOD(), and L1NtupleEMU().

103 def L1NtupleAODEMU(process):
104 
105  L1NtupleEMU(process)
106  L1NtupleAOD(process)
107 
108  return process
def customiseL1Ntuple.L1NtupleAODRAW (   process)

Definition at line 86 of file customiseL1Ntuple.py.

References L1NtupleAOD(), and L1NtupleRAW().

86 
87 def L1NtupleAODRAW(process):
88 
89  L1NtupleRAW(process)
90  L1NtupleAOD(process)
91 
92  return process
93 
def customiseL1Ntuple.L1NtupleAODRAWEMU (   process)

Definition at line 94 of file customiseL1Ntuple.py.

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

94 
95 def L1NtupleAODRAWEMU(process):
96 
97  L1NtupleRAW(process)
98  L1NtupleEMU(process)
99  L1NtupleAOD(process)
100 
101  return process
def customiseL1Ntuple.L1NtupleEMU (   process)

Definition at line 64 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODEMU(), L1NtupleAODRAWEMU(), and L1NtupleRAWEMU().

64 
65 def L1NtupleEMU(process):
66 
67  L1NtupleTFileOut(process)
68 
69  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
70  process.l1ntuplesim = cms.Path(
71  process.L1NtupleEMU
72  )
73 
74  process.schedule.append(process.l1ntuplesim)
75 
76  return process
77 
def L1NtupleTFileOut
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleEMUNoEventTree (   process)

Definition at line 109 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

110 def L1NtupleEMUNoEventTree(process):
111 
112  L1NtupleTFileOut(process)
113 
114  process.load('L1Trigger.L1TNtuples.L1NtupleEMU_cff')
115  process.L1NtupleEMU = cms.Sequence( process.l1CaloTowerEmuTree+process.l1UpgradeEmuTree )
116  process.l1ntuplesim = cms.Path(
117  process.L1NtupleEMU
118  )
119  process.schedule.append(process.l1ntuplesim)
120 
121  return process
122 
def L1NtupleTFileOut
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleMC (   process)

Definition at line 123 of file customiseL1Ntuple.py.

124 def L1NtupleMC(process):
125 
126  # add gen tree
127  process.load('L1Trigger.L1TNtuples.L1NtupleMC_cff')
128 
129  if hasattr(process, 'l1JetRecoTree'):
130  process.l1JetRecoTree.jecToken = cms.untracked.InputTag("ak4PFCHSL1FastL2L3Corrector")
131 
132  return process
def customiseL1Ntuple.L1NtupleRAW (   process)

Definition at line 42 of file customiseL1Ntuple.py.

References L1NtupleTFileOut().

Referenced by L1NtupleAODRAW(), L1NtupleAODRAWEMU(), and L1NtupleRAWEMU().

42 
43 def L1NtupleRAW(process):
44 
45  L1NtupleTFileOut(process)
46 
47  process.load('L1Trigger.L1TNtuples.L1NtupleRAW_cff')
48  process.l1ntupleraw = cms.Path(
49  process.L1NtupleRAW
50  )
51 
52  process.schedule.append(process.l1ntupleraw)
53 
54  # for 5 BX of candidates in L1Extra
55  if "gctDigis" in process.producers:
56  process.gctDigis.numberOfGctSamplesToUnpack = cms.uint32(5)
57 
58  if "l1extraParticles" in process.producers:
59  process.l1extraParticles.centralBxOnly = cms.bool(False)
60 
61  return process
62 
63 
def L1NtupleTFileOut
customisations for L1 ntuple generation
def customiseL1Ntuple.L1NtupleRAWEMU (   process)

Definition at line 78 of file customiseL1Ntuple.py.

References L1NtupleEMU(), and L1NtupleRAW().

78 
79 def L1NtupleRAWEMU(process):
80 
81  L1NtupleRAW(process)
82  L1NtupleEMU(process)
83 
84  return process
85 
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(), 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