1 |
|
////////////////////////////////////////////////////////// |
2 |
|
// This class has been automatically generated on |
3 |
< |
// Mon Dec 19 15:42:42 2011 by ROOT version 5.30/02 |
3 |
> |
// Tue May 8 10:50:00 2012 by ROOT version 5.30/02 |
4 |
|
// from TTree tree/myTree |
5 |
< |
// found on file: /Users/pier/Physics/ZSVAnalysis/HBB_EDMNtuple/V11/DiJetPt_DoubleElectron_Run2011_FULL.root |
5 |
> |
// found on file: ZllH.May5Reg.ZH_ZToLL_HToBB_M-100_7TeV-powheg-herwigpp.root |
6 |
|
////////////////////////////////////////////////////////// |
7 |
|
|
8 |
< |
#ifndef ntupleLoader_h |
9 |
< |
#define ntupleLoader_h |
8 |
> |
#ifndef ntupleLoader_hpp |
9 |
> |
#define ntupleLoader_hpp |
10 |
|
|
11 |
|
#include <TROOT.h> |
12 |
|
#include <TChain.h> |
13 |
|
#include <TFile.h> |
14 |
– |
#include "TLorentzVector.h" |
14 |
|
|
15 |
|
class ntupleLoader { |
16 |
|
public : |
18 |
– |
|
17 |
|
TTree * tree; |
18 |
|
TTree *fChain; //!pointer to the analyzed TTree or TChain |
19 |
|
Int_t fCurrent; //!current Tree number in a TChain |
20 |
|
|
21 |
|
// Declaration of leaf types |
22 |
+ |
Int_t H_HiggsFlag; |
23 |
|
Float_t H_mass; |
24 |
|
Float_t H_pt; |
25 |
|
Float_t H_eta; |
31 |
|
Float_t V_pt; |
32 |
|
Float_t V_eta; |
33 |
|
Float_t V_phi; |
34 |
+ |
Int_t FatH_FatHiggsFlag; |
35 |
+ |
Float_t FatH_mass; |
36 |
+ |
Float_t FatH_pt; |
37 |
+ |
Float_t FatH_eta; |
38 |
+ |
Float_t FatH_phi; |
39 |
+ |
Float_t FatH_filteredmass; |
40 |
+ |
Float_t FatH_filteredpt; |
41 |
+ |
Float_t FatH_filteredeta; |
42 |
+ |
Float_t FatH_filteredphi; |
43 |
+ |
Float_t lheV_pt; |
44 |
+ |
Float_t genZ_mass; |
45 |
+ |
Float_t genZ_pt; |
46 |
+ |
Float_t genZ_eta; |
47 |
+ |
Float_t genZ_phi; |
48 |
+ |
Float_t genZ_status; |
49 |
+ |
Float_t genZ_charge; |
50 |
+ |
Float_t genZ_momid; |
51 |
+ |
Float_t genZstar_mass; |
52 |
+ |
Float_t genZstar_pt; |
53 |
+ |
Float_t genZstar_eta; |
54 |
+ |
Float_t genZstar_phi; |
55 |
+ |
Float_t genZstar_status; |
56 |
+ |
Float_t genZstar_charge; |
57 |
+ |
Float_t genZstar_momid; |
58 |
+ |
Float_t genW_mass; |
59 |
+ |
Float_t genW_pt; |
60 |
+ |
Float_t genW_eta; |
61 |
+ |
Float_t genW_phi; |
62 |
+ |
Float_t genW_status; |
63 |
+ |
Float_t genW_charge; |
64 |
+ |
Float_t genW_momid; |
65 |
+ |
Float_t genWstar_mass; |
66 |
+ |
Float_t genWstar_pt; |
67 |
+ |
Float_t genWstar_eta; |
68 |
+ |
Float_t genWstar_phi; |
69 |
+ |
Float_t genWstar_status; |
70 |
+ |
Float_t genWstar_charge; |
71 |
+ |
Float_t genWstar_momid; |
72 |
+ |
Float_t genH_mass; |
73 |
+ |
Float_t genH_pt; |
74 |
+ |
Float_t genH_eta; |
75 |
+ |
Float_t genH_phi; |
76 |
+ |
Float_t genH_status; |
77 |
+ |
Float_t genH_charge; |
78 |
+ |
Float_t genH_momid; |
79 |
+ |
Float_t genB_mass; |
80 |
+ |
Float_t genB_pt; |
81 |
+ |
Float_t genB_eta; |
82 |
+ |
Float_t genB_phi; |
83 |
+ |
Float_t genB_status; |
84 |
+ |
Float_t genB_charge; |
85 |
+ |
Float_t genB_momid; |
86 |
+ |
Float_t genBbar_mass; |
87 |
+ |
Float_t genBbar_pt; |
88 |
+ |
Float_t genBbar_eta; |
89 |
+ |
Float_t genBbar_phi; |
90 |
+ |
Float_t genBbar_status; |
91 |
+ |
Float_t genBbar_charge; |
92 |
+ |
Float_t genBbar_momid; |
93 |
+ |
Float_t genTop_bmass; |
94 |
+ |
Float_t genTop_bpt; |
95 |
+ |
Float_t genTop_beta; |
96 |
+ |
Float_t genTop_bphi; |
97 |
+ |
Float_t genTop_bstatus; |
98 |
+ |
Float_t genTop_wdau1mass; |
99 |
+ |
Float_t genTop_wdau1pt; |
100 |
+ |
Float_t genTop_wdau1eta; |
101 |
+ |
Float_t genTop_wdau1phi; |
102 |
+ |
Float_t genTop_wdau1id; |
103 |
+ |
Float_t genTop_wdau2mass; |
104 |
+ |
Float_t genTop_wdau2pt; |
105 |
+ |
Float_t genTop_wdau2eta; |
106 |
+ |
Float_t genTop_wdau2phi; |
107 |
+ |
Float_t genTop_wdau2id; |
108 |
+ |
Float_t genTbar_bmass; |
109 |
+ |
Float_t genTbar_bpt; |
110 |
+ |
Float_t genTbar_beta; |
111 |
+ |
Float_t genTbar_bphi; |
112 |
+ |
Float_t genTbar_bstatus; |
113 |
+ |
Float_t genTbar_wdau1mass; |
114 |
+ |
Float_t genTbar_wdau1pt; |
115 |
+ |
Float_t genTbar_wdau1eta; |
116 |
+ |
Float_t genTbar_wdau1phi; |
117 |
+ |
Float_t genTbar_wdau1id; |
118 |
+ |
Float_t genTbar_wdau2mass; |
119 |
+ |
Float_t genTbar_wdau2pt; |
120 |
+ |
Float_t genTbar_wdau2eta; |
121 |
+ |
Float_t genTbar_wdau2phi; |
122 |
+ |
Float_t genTbar_wdau2id; |
123 |
+ |
UChar_t TkSharing_HiggsCSVtkSharing; |
124 |
+ |
UChar_t TkSharing_HiggsIPtkSharing; |
125 |
+ |
UChar_t TkSharing_HiggsSVtkSharing; |
126 |
+ |
UChar_t TkSharing_FatHiggsCSVtkSharing; |
127 |
+ |
UChar_t TkSharing_FatHiggsIPtkSharing; |
128 |
+ |
UChar_t TkSharing_FatHiggsSVtkSharing; |
129 |
|
Int_t nhJets; |
130 |
+ |
Int_t nfathFilterJets; |
131 |
|
Int_t naJets; |
132 |
|
Float_t hJet_pt[2]; //[nhJets] |
133 |
|
Float_t hJet_eta[2]; //[nhJets] |
134 |
|
Float_t hJet_phi[2]; //[nhJets] |
135 |
|
Float_t hJet_e[2]; //[nhJets] |
136 |
|
Float_t hJet_csv[2]; //[nhJets] |
137 |
< |
Float_t hJet_csvDown[2]; //[nhJets] |
138 |
< |
Float_t hJet_csvUp[2]; //[nhJets] |
44 |
< |
Float_t hJet_csvFDown[2]; //[nhJets] |
45 |
< |
Float_t hJet_csvFUp[2]; //[nhJets] |
137 |
> |
Float_t hJet_csvivf[2]; //[nhJets] |
138 |
> |
Float_t hJet_cmva[2]; //[nhJets] |
139 |
|
Float_t hJet_cosTheta[2]; //[nhJets] |
140 |
|
Int_t hJet_numTracksSV[2]; //[nhJets] |
141 |
|
Float_t hJet_chf[2]; //[nhJets] |
145 |
|
Float_t hJet_nch[2]; //[nhJets] |
146 |
|
Float_t hJet_nconstituents[2]; //[nhJets] |
147 |
|
Float_t hJet_flavour[2]; //[nhJets] |
148 |
+ |
Int_t hJet_isSemiLept[2]; //[nhJets] |
149 |
+ |
Int_t hJet_isSemiLeptMCtruth[2]; //[nhJets] |
150 |
+ |
Int_t hJet_SoftLeptpdgId[2]; //[nhJets] |
151 |
+ |
Int_t hJet_SoftLeptIdlooseMu[2]; //[nhJets] |
152 |
+ |
Int_t hJet_SoftLeptId95[2]; //[nhJets] |
153 |
+ |
Float_t hJet_SoftLeptPt[2]; //[nhJets] |
154 |
+ |
Float_t hJet_SoftLeptdR[2]; //[nhJets] |
155 |
+ |
Float_t hJet_SoftLeptptRel[2]; //[nhJets] |
156 |
+ |
Float_t hJet_SoftLeptRelCombIso[2]; //[nhJets] |
157 |
|
Float_t hJet_genPt[2]; //[nhJets] |
158 |
|
Float_t hJet_genEta[2]; //[nhJets] |
159 |
|
Float_t hJet_genPhi[2]; //[nhJets] |
160 |
|
Float_t hJet_JECUnc[2]; //[nhJets] |
161 |
|
Float_t hJet_vtxMass[2]; //[nhJets] |
162 |
+ |
Float_t hJet_vtxPt[2]; //[nhJets] |
163 |
+ |
Float_t hJet_vtxEta[2]; //[nhJets] |
164 |
+ |
Float_t hJet_vtxPhi[2]; //[nhJets] |
165 |
+ |
Float_t hJet_vtxE[2]; //[nhJets] |
166 |
|
Float_t hJet_vtx3dL[2]; //[nhJets] |
167 |
|
Float_t hJet_vtx3deL[2]; //[nhJets] |
168 |
|
UChar_t hJet_id[2]; //[nhJets] |
172 |
|
UChar_t hJet_SF_CSVLerr[2]; //[nhJets] |
173 |
|
UChar_t hJet_SF_CSVMerr[2]; //[nhJets] |
174 |
|
UChar_t hJet_SF_CSVTerr[2]; //[nhJets] |
175 |
< |
Float_t aJet_pt[37]; //[naJets] |
176 |
< |
Float_t aJet_eta[37]; //[naJets] |
177 |
< |
Float_t aJet_phi[37]; //[naJets] |
178 |
< |
Float_t aJet_e[37]; //[naJets] |
179 |
< |
Float_t aJet_csv[37]; //[naJets] |
180 |
< |
Float_t aJet_cosTheta[37]; //[naJets] |
181 |
< |
Int_t aJet_numTracksSV[37]; //[naJets] |
182 |
< |
Float_t aJet_chf[37]; //[naJets] |
183 |
< |
Float_t aJet_nhf[37]; //[naJets] |
184 |
< |
Float_t aJet_cef[37]; //[naJets] |
185 |
< |
Float_t aJet_nef[37]; //[naJets] |
186 |
< |
Float_t aJet_nch[37]; //[naJets] |
187 |
< |
Float_t aJet_nconstituents[37]; //[naJets] |
188 |
< |
Float_t aJet_flavour[37]; //[naJets] |
189 |
< |
Float_t aJet_genPt[37]; //[naJets] |
190 |
< |
Float_t aJet_genEta[37]; //[naJets] |
191 |
< |
Float_t aJet_genPhi[37]; //[naJets] |
192 |
< |
Float_t aJet_JECUnc[37]; //[naJets] |
193 |
< |
Float_t aJet_vtxMass[37]; //[naJets] |
194 |
< |
Float_t aJet_vtx3dL[37]; //[naJets] |
195 |
< |
Float_t aJet_vtx3deL[37]; //[naJets] |
196 |
< |
UChar_t aJet_id[37]; //[naJets] |
197 |
< |
UChar_t aJet_SF_CSVL[37]; //[naJets] |
198 |
< |
UChar_t aJet_SF_CSVM[37]; //[naJets] |
199 |
< |
UChar_t aJet_SF_CSVT[37]; //[naJets] |
200 |
< |
UChar_t aJet_SF_CSVLerr[37]; //[naJets] |
201 |
< |
UChar_t aJet_SF_CSVMerr[37]; //[naJets] |
202 |
< |
UChar_t aJet_SF_CSVTerr[37]; //[naJets] |
175 |
> |
Float_t hJet_ptRaw[2]; //[nhJets] |
176 |
> |
Float_t hJet_ptLeadTrack[2]; //[nhJets] |
177 |
> |
Float_t hJet_AnglePVtoSVmom[2]; //[nhJets] |
178 |
> |
Float_t hJet_AnglePVtoJetmom[2]; //[nhJets] |
179 |
> |
Float_t fathFilterJets_pt[3]; //[nfathFilterJets] |
180 |
> |
Float_t fathFilterJets_eta[3]; //[nfathFilterJets] |
181 |
> |
Float_t fathFilterJets_phi[3]; //[nfathFilterJets] |
182 |
> |
Float_t fathFilterJets_e[3]; //[nfathFilterJets] |
183 |
> |
Float_t fathFilterJets_csv[3]; //[nfathFilterJets] |
184 |
> |
Float_t fathFilterJets_chf[3]; //[nfathFilterJets] |
185 |
> |
Float_t fathFilterJets_ptRaw[3]; //[nfathFilterJets] |
186 |
> |
Float_t fathFilterJets_ptLeadTrack[3]; //[nfathFilterJets] |
187 |
> |
Float_t fathFilterJets_flavour[3]; //[nfathFilterJets] |
188 |
> |
Float_t fathFilterJets_isSemiLept[3]; //[nfathFilterJets] |
189 |
> |
Float_t fathFilterJets_isSemiLeptMCtruth[3]; //[nfathFilterJets] |
190 |
> |
Float_t fathFilterJets_genPt[3]; //[nfathFilterJets] |
191 |
> |
Float_t fathFilterJets_genEta[3]; //[nfathFilterJets] |
192 |
> |
Float_t fathFilterJets_genPhi[3]; //[nfathFilterJets] |
193 |
> |
Float_t fathFilterJets_vtxMass[3]; //[nfathFilterJets] |
194 |
> |
Float_t fathFilterJets_vtx3dL[3]; //[nfathFilterJets] |
195 |
> |
Float_t fathFilterJets_vtx3deL[3]; //[nfathFilterJets] |
196 |
> |
Float_t fathFilterJets_vtxPt[3]; //[nfathFilterJets] |
197 |
> |
Float_t fathFilterJets_vtxEta[3]; //[nfathFilterJets] |
198 |
> |
Float_t fathFilterJets_vtxPhi[3]; //[nfathFilterJets] |
199 |
> |
Float_t fathFilterJets_vtxE[3]; //[nfathFilterJets] |
200 |
> |
Float_t fathFilterJets_AnglePVtoSVmom[3]; //[nfathFilterJets] |
201 |
> |
Float_t fathFilterJets_AnglePVtoJetmom[3]; //[nfathFilterJets] |
202 |
> |
Float_t fathFilterJets_csvivf[3]; //[nfathFilterJets] |
203 |
> |
Float_t fathFilterJets_cmva[3]; //[nfathFilterJets] |
204 |
> |
Float_t aJet_pt[11]; //[naJets] |
205 |
> |
Float_t aJet_eta[11]; //[naJets] |
206 |
> |
Float_t aJet_phi[11]; //[naJets] |
207 |
> |
Float_t aJet_e[11]; //[naJets] |
208 |
> |
Float_t aJet_csv[11]; //[naJets] |
209 |
> |
Float_t aJet_csvivf[11]; //[naJets] |
210 |
> |
Float_t aJet_cmva[11]; //[naJets] |
211 |
> |
Float_t aJet_cosTheta[11]; //[naJets] |
212 |
> |
Int_t aJet_numTracksSV[11]; //[naJets] |
213 |
> |
Float_t aJet_chf[11]; //[naJets] |
214 |
> |
Float_t aJet_nhf[11]; //[naJets] |
215 |
> |
Float_t aJet_cef[11]; //[naJets] |
216 |
> |
Float_t aJet_nef[11]; //[naJets] |
217 |
> |
Float_t aJet_nch[11]; //[naJets] |
218 |
> |
Float_t aJet_nconstituents[11]; //[naJets] |
219 |
> |
Float_t aJet_flavour[11]; //[naJets] |
220 |
> |
Int_t aJet_isSemiLept[11]; //[naJets] |
221 |
> |
Int_t aJet_isSemiLeptMCtruth[11]; //[naJets] |
222 |
> |
Int_t aJet_SoftLeptpdgId[11]; //[naJets] |
223 |
> |
Int_t aJet_SoftLeptIdlooseMu[11]; //[naJets] |
224 |
> |
Int_t aJet_SoftLeptId95[11]; //[naJets] |
225 |
> |
Float_t aJet_SoftLeptPt[11]; //[naJets] |
226 |
> |
Float_t aJet_SoftLeptdR[11]; //[naJets] |
227 |
> |
Float_t aJet_SoftLeptptRel[11]; //[naJets] |
228 |
> |
Float_t aJet_SoftLeptRelCombIso[11]; //[naJets] |
229 |
> |
Float_t aJet_genPt[11]; //[naJets] |
230 |
> |
Float_t aJet_genEta[11]; //[naJets] |
231 |
> |
Float_t aJet_genPhi[11]; //[naJets] |
232 |
> |
Float_t aJet_JECUnc[11]; //[naJets] |
233 |
> |
Float_t aJet_vtxMass[11]; //[naJets] |
234 |
> |
Float_t aJet_vtx3dL[11]; //[naJets] |
235 |
> |
Float_t aJet_vtx3deL[11]; //[naJets] |
236 |
> |
UChar_t aJet_id[11]; //[naJets] |
237 |
> |
UChar_t aJet_SF_CSVL[11]; //[naJets] |
238 |
> |
UChar_t aJet_SF_CSVM[11]; //[naJets] |
239 |
> |
UChar_t aJet_SF_CSVT[11]; //[naJets] |
240 |
> |
UChar_t aJet_SF_CSVLerr[11]; //[naJets] |
241 |
> |
UChar_t aJet_SF_CSVMerr[11]; //[naJets] |
242 |
> |
UChar_t aJet_SF_CSVTerr[11]; //[naJets] |
243 |
> |
Int_t naJetsFat; |
244 |
> |
Float_t aJetFat_pt[11]; //[naJetsFat] |
245 |
> |
Float_t aJetFat_eta[11]; //[naJetsFat] |
246 |
> |
Float_t aJetFat_phi[11]; //[naJetsFat] |
247 |
> |
Float_t aJetFat_e[11]; //[naJetsFat] |
248 |
> |
Float_t aJetFat_csv[11]; //[naJetsFat] |
249 |
|
Int_t numJets; |
250 |
|
Int_t numBJets; |
251 |
|
Float_t deltaPullAngle; |
254 |
|
Float_t gendrbb; |
255 |
|
Float_t genZpt; |
256 |
|
Float_t genWpt; |
257 |
+ |
Float_t genHpt; |
258 |
|
Float_t weightTrig; |
259 |
|
Float_t weightTrigMay; |
260 |
|
Float_t weightTrigV4; |
307 |
|
Float_t vLepton_genPt[2]; //[nvlep] |
308 |
|
Float_t vLepton_genEta[2]; //[nvlep] |
309 |
|
Float_t vLepton_genPhi[2]; //[nvlep] |
310 |
< |
Float_t aLepton_mass[4]; //[nalep] |
311 |
< |
Float_t aLepton_pt[4]; //[nalep] |
312 |
< |
Float_t aLepton_eta[4]; //[nalep] |
313 |
< |
Float_t aLepton_phi[4]; //[nalep] |
314 |
< |
Float_t aLepton_aodCombRelIso[4]; //[nalep] |
315 |
< |
Float_t aLepton_pfCombRelIso[4]; //[nalep] |
316 |
< |
Float_t aLepton_photonIso[4]; //[nalep] |
317 |
< |
Float_t aLepton_neutralHadIso[4]; //[nalep] |
318 |
< |
Float_t aLepton_chargedHadIso[4]; //[nalep] |
319 |
< |
Float_t aLepton_chargedPUIso[4]; //[nalep] |
320 |
< |
Float_t aLepton_particleIso[4]; //[nalep] |
321 |
< |
Float_t aLepton_dxy[4]; //[nalep] |
322 |
< |
Float_t aLepton_dz[4]; //[nalep] |
323 |
< |
Int_t aLepton_type[4]; //[nalep] |
324 |
< |
Float_t aLepton_id80[4]; //[nalep] |
325 |
< |
Float_t aLepton_id95[4]; //[nalep] |
326 |
< |
Float_t aLepton_vbtf[4]; //[nalep] |
327 |
< |
Float_t aLepton_id80NoIso[4]; //[nalep] |
328 |
< |
Float_t aLepton_genPt[4]; //[nalep] |
329 |
< |
Float_t aLepton_genEta[4]; //[nalep] |
330 |
< |
Float_t aLepton_genPhi[4]; //[nalep] |
310 |
> |
Float_t vLepton_charge[2]; //[nvlep] |
311 |
> |
Float_t aLepton_mass[3]; //[nalep] |
312 |
> |
Float_t aLepton_pt[3]; //[nalep] |
313 |
> |
Float_t aLepton_eta[3]; //[nalep] |
314 |
> |
Float_t aLepton_phi[3]; //[nalep] |
315 |
> |
Float_t aLepton_aodCombRelIso[3]; //[nalep] |
316 |
> |
Float_t aLepton_pfCombRelIso[3]; //[nalep] |
317 |
> |
Float_t aLepton_photonIso[3]; //[nalep] |
318 |
> |
Float_t aLepton_neutralHadIso[3]; //[nalep] |
319 |
> |
Float_t aLepton_chargedHadIso[3]; //[nalep] |
320 |
> |
Float_t aLepton_chargedPUIso[3]; //[nalep] |
321 |
> |
Float_t aLepton_particleIso[3]; //[nalep] |
322 |
> |
Float_t aLepton_dxy[3]; //[nalep] |
323 |
> |
Float_t aLepton_dz[3]; //[nalep] |
324 |
> |
Int_t aLepton_type[3]; //[nalep] |
325 |
> |
Float_t aLepton_id80[3]; //[nalep] |
326 |
> |
Float_t aLepton_id95[3]; //[nalep] |
327 |
> |
Float_t aLepton_vbtf[3]; //[nalep] |
328 |
> |
Float_t aLepton_id80NoIso[3]; //[nalep] |
329 |
> |
Float_t aLepton_genPt[3]; //[nalep] |
330 |
> |
Float_t aLepton_genEta[3]; //[nalep] |
331 |
> |
Float_t aLepton_genPhi[3]; //[nalep] |
332 |
> |
Float_t aLepton_charge[3]; //[nalep] |
333 |
|
Float_t top_mass; |
334 |
|
Float_t top_pt; |
335 |
|
Float_t top_wMass; |
385 |
|
Float_t MET_sumet; |
386 |
|
Float_t MET_sig; |
387 |
|
Float_t MET_phi; |
388 |
+ |
Float_t METtype1corr_et; |
389 |
+ |
Float_t METtype1corr_sumet; |
390 |
+ |
Float_t METtype1corr_sig; |
391 |
+ |
Float_t METtype1corr_phi; |
392 |
+ |
Float_t METtype1p2corr_et; |
393 |
+ |
Float_t METtype1p2corr_sumet; |
394 |
+ |
Float_t METtype1p2corr_sig; |
395 |
+ |
Float_t METtype1p2corr_phi; |
396 |
+ |
Float_t METnoPUtype1corr_et; |
397 |
+ |
Float_t METnoPUtype1corr_sumet; |
398 |
+ |
Float_t METnoPUtype1corr_sig; |
399 |
+ |
Float_t METnoPUtype1corr_phi; |
400 |
+ |
Float_t METnoPUtype1p2corr_et; |
401 |
+ |
Float_t METnoPUtype1p2corr_sumet; |
402 |
+ |
Float_t METnoPUtype1p2corr_sig; |
403 |
+ |
Float_t METnoPUtype1p2corr_phi; |
404 |
+ |
Float_t metUnc_et[24]; |
405 |
+ |
Float_t metUnc_phi[24]; |
406 |
+ |
Float_t metUnc_sumet[24]; |
407 |
|
Float_t fakeMET_et; |
408 |
|
Float_t fakeMET_sumet; |
409 |
|
Float_t fakeMET_sig; |
414 |
|
Float_t MHT_phi; |
415 |
|
Float_t minDeltaPhijetMET; |
416 |
|
Float_t jetPt_minDeltaPhijetMET; |
417 |
< |
UChar_t triggerFlags[28]; |
417 |
> |
UChar_t triggerFlags[39]; |
418 |
|
Int_t EVENT_run; |
419 |
|
Int_t EVENT_lumi; |
420 |
|
Int_t EVENT_event; |
422 |
|
UChar_t hbhe; |
423 |
|
UChar_t totalKinematics; |
424 |
|
UChar_t ecalFlag; |
425 |
+ |
UChar_t cschaloFlag; |
426 |
+ |
UChar_t hcallaserFlag; |
427 |
+ |
UChar_t trackingfailureFlag; |
428 |
|
Float_t btag1TSF; |
429 |
|
Float_t btag2TSF; |
430 |
|
Float_t btag1T2CSF; |
432 |
|
Float_t btagA0CSF; |
433 |
|
Float_t btagA0TSF; |
434 |
|
Float_t btag1TA1C; |
435 |
+ |
Float_t PUweight2011BUp; |
436 |
+ |
Float_t PUweight2011BDown; |
437 |
+ |
Float_t hJet_csvOld[2]; //[nhJets] |
438 |
+ |
Float_t hJet_csvDown[2]; //[nhJets] |
439 |
+ |
Float_t hJet_csvUp[2]; //[nhJets] |
440 |
+ |
Float_t hJet_csvFDown[2]; //[nhJets] |
441 |
+ |
Float_t hJet_csvFUp[2]; //[nhJets] |
442 |
+ |
Float_t weightTrig_up; |
443 |
+ |
Float_t weightTrigMay_up; |
444 |
+ |
Float_t weightTrigV4_up; |
445 |
+ |
Float_t weightTrigMET_up; |
446 |
+ |
Float_t weightTrigOrMu30_up; |
447 |
+ |
Float_t weightEleRecoAndId_up; |
448 |
+ |
Float_t weightEleTrigJetMETPart_up; |
449 |
+ |
Float_t weightEleTrigElePart_up; |
450 |
|
|
451 |
|
// List of branches |
452 |
|
TBranch *b_H; //! |
453 |
|
TBranch *b_V; //! |
454 |
+ |
TBranch *b_FatH; //! |
455 |
+ |
TBranch *b_lheV_pt; //! |
456 |
+ |
TBranch *b_genZ; //! |
457 |
+ |
TBranch *b_genZstar; //! |
458 |
+ |
TBranch *b_genW; //! |
459 |
+ |
TBranch *b_genWstar; //! |
460 |
+ |
TBranch *b_genH; //! |
461 |
+ |
TBranch *b_genB; //! |
462 |
+ |
TBranch *b_genBbar; //! |
463 |
+ |
TBranch *b_genTop; //! |
464 |
+ |
TBranch *b_genTbar; //! |
465 |
+ |
TBranch *b_TkSharing; //! |
466 |
|
TBranch *b_nhJets; //! |
467 |
+ |
TBranch *b_nfathFilterJets; //! |
468 |
|
TBranch *b_naJets; //! |
469 |
|
TBranch *b_hJet_pt; //! |
470 |
|
TBranch *b_hJet_eta; //! |
471 |
|
TBranch *b_hJet_phi; //! |
472 |
|
TBranch *b_hJet_e; //! |
473 |
|
TBranch *b_hJet_csv; //! |
474 |
< |
TBranch *b_hJet_csvDown; //! |
475 |
< |
TBranch *b_hJet_csvUp; //! |
271 |
< |
TBranch *b_hJet_csvFDown; //! |
272 |
< |
TBranch *b_hJet_csvFUp; //! |
474 |
> |
TBranch *b_hJet_csvivf; //! |
475 |
> |
TBranch *b_hJet_cmva; //! |
476 |
|
TBranch *b_hJet_cosTheta; //! |
477 |
|
TBranch *b_hJet_numTracksSV; //! |
478 |
|
TBranch *b_hJet_chf; //! |
482 |
|
TBranch *b_hJet_nch; //! |
483 |
|
TBranch *b_hJet_nconstituents; //! |
484 |
|
TBranch *b_hJet_flavour; //! |
485 |
+ |
TBranch *b_hJet_isSemiLept; //! |
486 |
+ |
TBranch *b_hJet_isSemiLeptMCtruth; //! |
487 |
+ |
TBranch *b_hJet_SoftLeptpdgId; //! |
488 |
+ |
TBranch *b_hJet_SoftLeptIdlooseMu; //! |
489 |
+ |
TBranch *b_hJet_SoftLeptId95; //! |
490 |
+ |
TBranch *b_hJet_SoftLeptPt; //! |
491 |
+ |
TBranch *b_hJet_SoftLeptdR; //! |
492 |
+ |
TBranch *b_hJet_SoftLeptptRel; //! |
493 |
+ |
TBranch *b_hJet_SoftLeptRelCombIso; //! |
494 |
|
TBranch *b_hJet_genPt; //! |
495 |
|
TBranch *b_hJet_genEta; //! |
496 |
|
TBranch *b_hJet_genPhi; //! |
497 |
|
TBranch *b_hJet_JECUnc; //! |
498 |
|
TBranch *b_hJet_vtxMass; //! |
499 |
+ |
TBranch *b_hJet_vtxPt; //! |
500 |
+ |
TBranch *b_hJet_vtxEta; //! |
501 |
+ |
TBranch *b_hJet_vtxPhi; //! |
502 |
+ |
TBranch *b_hJet_vtxE; //! |
503 |
|
TBranch *b_hJet_vtx3dL; //! |
504 |
|
TBranch *b_hJet_vtx3deL; //! |
505 |
|
TBranch *b_hJet_id; //! |
509 |
|
TBranch *b_hJet_SF_CSVLerr; //! |
510 |
|
TBranch *b_hJet_SF_CSVMerr; //! |
511 |
|
TBranch *b_hJet_SF_CSVTerr; //! |
512 |
+ |
TBranch *b_hJet_ptRaw; //! |
513 |
+ |
TBranch *b_hJet_ptLeadTrack; //! |
514 |
+ |
TBranch *b_hJet_AnglePVtoSVmom; //! |
515 |
+ |
TBranch *b_hJet_AnglePVtoJetmom; //! |
516 |
+ |
TBranch *b_fathFilterJets_pt; //! |
517 |
+ |
TBranch *b_fathFilterJets_eta; //! |
518 |
+ |
TBranch *b_fathFilterJets_phi; //! |
519 |
+ |
TBranch *b_fathFilterJets_e; //! |
520 |
+ |
TBranch *b_fathFilterJets_csv; //! |
521 |
+ |
TBranch *b_fathFilterJets_chf; //! |
522 |
+ |
TBranch *b_fathFilterJets_ptRaw; //! |
523 |
+ |
TBranch *b_fathFilterJets_ptLeadTrack; //! |
524 |
+ |
TBranch *b_fathFilterJets_flavour; //! |
525 |
+ |
TBranch *b_fathFilterJets_isSemiLept; //! |
526 |
+ |
TBranch *b_fathFilterJets_isSemiLeptMCtruth; //! |
527 |
+ |
TBranch *b_fathFilterJets_genPt; //! |
528 |
+ |
TBranch *b_fathFilterJets_genEta; //! |
529 |
+ |
TBranch *b_fathFilterJets_genPhi; //! |
530 |
+ |
TBranch *b_fathFilterJets_vtxMass; //! |
531 |
+ |
TBranch *b_fathFilterJets_vtx3dL; //! |
532 |
+ |
TBranch *b_fathFilterJets_vtx3deL; //! |
533 |
+ |
TBranch *b_fathFilterJets_vtxPt; //! |
534 |
+ |
TBranch *b_fathFilterJets_vtxEta; //! |
535 |
+ |
TBranch *b_fathFilterJets_vtxPhi; //! |
536 |
+ |
TBranch *b_fathFilterJets_vtxE; //! |
537 |
+ |
TBranch *b_fathFilterJets_AnglePVtoSVmom; //! |
538 |
+ |
TBranch *b_fathFilterJets_AnglePVtoJetmom; //! |
539 |
+ |
TBranch *b_fathFilterJets_csvivf; //! |
540 |
+ |
TBranch *b_fathFilterJets_cmva; //! |
541 |
|
TBranch *b_aJet_pt; //! |
542 |
|
TBranch *b_aJet_eta; //! |
543 |
|
TBranch *b_aJet_phi; //! |
544 |
|
TBranch *b_aJet_e; //! |
545 |
|
TBranch *b_aJet_csv; //! |
546 |
+ |
TBranch *b_aJet_csvivf; //! |
547 |
+ |
TBranch *b_aJet_cmva; //! |
548 |
|
TBranch *b_aJet_cosTheta; //! |
549 |
|
TBranch *b_aJet_numTracksSV; //! |
550 |
|
TBranch *b_aJet_chf; //! |
554 |
|
TBranch *b_aJet_nch; //! |
555 |
|
TBranch *b_aJet_nconstituents; //! |
556 |
|
TBranch *b_aJet_flavour; //! |
557 |
+ |
TBranch *b_aJet_isSemiLept; //! |
558 |
+ |
TBranch *b_aJet_isSemiLeptMCtruth; //! |
559 |
+ |
TBranch *b_aJet_SoftLeptpdgId; //! |
560 |
+ |
TBranch *b_aJet_SoftLeptIdlooseMu; //! |
561 |
+ |
TBranch *b_aJet_SoftLeptId95; //! |
562 |
+ |
TBranch *b_aJet_SoftLeptPt; //! |
563 |
+ |
TBranch *b_aJet_SoftLeptdR; //! |
564 |
+ |
TBranch *b_aJet_SoftLeptptRel; //! |
565 |
+ |
TBranch *b_aJet_SoftLeptRelCombIso; //! |
566 |
|
TBranch *b_aJet_genPt; //! |
567 |
|
TBranch *b_aJet_genEta; //! |
568 |
|
TBranch *b_aJet_genPhi; //! |
577 |
|
TBranch *b_aJet_SF_CSVLerr; //! |
578 |
|
TBranch *b_aJet_SF_CSVMerr; //! |
579 |
|
TBranch *b_aJet_SF_CSVTerr; //! |
580 |
+ |
TBranch *b_naJetsFat; //! |
581 |
+ |
TBranch *b_aJetFat_pt; //! |
582 |
+ |
TBranch *b_aJetFat_eta; //! |
583 |
+ |
TBranch *b_aJetFat_phi; //! |
584 |
+ |
TBranch *b_aJetFat_e; //! |
585 |
+ |
TBranch *b_aJetFat_csv; //! |
586 |
|
TBranch *b_numJets; //! |
587 |
|
TBranch *b_numBJets; //! |
588 |
|
TBranch *b_deltaPullAngle; //! |
591 |
|
TBranch *b_gendrbb; //! |
592 |
|
TBranch *b_genZpt; //! |
593 |
|
TBranch *b_genWpt; //! |
594 |
+ |
TBranch *b_genHpt; //! |
595 |
|
TBranch *b_weightTrig; //! |
596 |
|
TBranch *b_weightTrigMay; //! |
597 |
|
TBranch *b_weightTrigV4; //! |
644 |
|
TBranch *b_vLepton_genPt; //! |
645 |
|
TBranch *b_vLepton_genEta; //! |
646 |
|
TBranch *b_vLepton_genPhi; //! |
647 |
+ |
TBranch *b_vLepton_charge; //! |
648 |
|
TBranch *b_aLepton_mass; //! |
649 |
|
TBranch *b_aLepton_pt; //! |
650 |
|
TBranch *b_aLepton_eta; //! |
666 |
|
TBranch *b_aLepton_genPt; //! |
667 |
|
TBranch *b_aLepton_genEta; //! |
668 |
|
TBranch *b_aLepton_genPhi; //! |
669 |
+ |
TBranch *b_aLepton_charge; //! |
670 |
|
TBranch *b_top; //! |
671 |
|
TBranch *b_WplusMode; //! |
672 |
|
TBranch *b_WminusMode; //! |
699 |
|
TBranch *b_METnoPU; //! |
700 |
|
TBranch *b_METnoPUCh; //! |
701 |
|
TBranch *b_MET; //! |
702 |
+ |
TBranch *b_METtype1corr; //! |
703 |
+ |
TBranch *b_METtype1p2corr; //! |
704 |
+ |
TBranch *b_METnoPUtype1corr; //! |
705 |
+ |
TBranch *b_METnoPUtype1p2corr; //! |
706 |
+ |
TBranch *b_et; //! |
707 |
+ |
TBranch *b_phi; //! |
708 |
+ |
TBranch *b_sumet; //! |
709 |
|
TBranch *b_fakeMET; //! |
710 |
|
TBranch *b_MHT; //! |
711 |
|
TBranch *b_minDeltaPhijetMET; //! |
715 |
|
TBranch *b_hbhe; //! |
716 |
|
TBranch *b_totalKinematics; //! |
717 |
|
TBranch *b_ecalFlag; //! |
718 |
+ |
TBranch *b_cschaloFlag; //! |
719 |
+ |
TBranch *b_hcallaserFlag; //! |
720 |
+ |
TBranch *b_trackingfailureFlag; //! |
721 |
|
TBranch *b_btag1TSF; //! |
722 |
|
TBranch *b_btag2TSF; //! |
723 |
|
TBranch *b_btag1T2CSF; //! |
725 |
|
TBranch *b_btagA0CSF; //! |
726 |
|
TBranch *b_btagA0TSF; //! |
727 |
|
TBranch *b_btag1TA1C; //! |
728 |
+ |
TBranch *b_PUweight2011BUp; //! |
729 |
+ |
TBranch *b_PUweight2011BDown; //! |
730 |
+ |
TBranch *b_hJet_csvOld; //! |
731 |
+ |
TBranch *b_hJet_csvDown; //! |
732 |
+ |
TBranch *b_hJet_csvUp; //! |
733 |
+ |
TBranch *b_hJet_csvFDown; //! |
734 |
+ |
TBranch *b_hJet_csvFUp; //! |
735 |
+ |
TBranch *b_weightTrig_up; //! |
736 |
+ |
TBranch *b_weightTrigMay_up; //! |
737 |
+ |
TBranch *b_weightTrigV4_up; //! |
738 |
+ |
TBranch *b_weightTrigMET_up; //! |
739 |
+ |
TBranch *b_weightTrigOrMu30_up; //! |
740 |
+ |
TBranch *b_weightEleRecoAndId_up; //! |
741 |
+ |
TBranch *b_weightEleTrigJetMETPart_up; //! |
742 |
+ |
TBranch *b_weightEleTrigElePart_up; //! |
743 |
|
|
744 |
< |
ntupleLoader(const char * infile); |
744 |
> |
ntupleLoader(const char *infile); |
745 |
|
virtual ~ntupleLoader(); |
746 |
|
virtual Int_t Cut(Long64_t entry); |
747 |
|
virtual Int_t GetEntry(Long64_t entry); |
748 |
|
virtual Long64_t LoadTree(Long64_t entry); |
749 |
|
virtual void Init(TTree *tree); |
460 |
– |
virtual void Loop(); |
750 |
|
virtual Bool_t Notify(); |
751 |
|
virtual void Show(Long64_t entry = -1); |
463 |
– |
|
752 |
|
}; |
753 |
|
|
754 |
|
|
759 |
|
tree=0; |
760 |
|
if (tree == 0) { |
761 |
|
TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject(infile); |
762 |
< |
if (!f) { |
763 |
< |
f = new TFile(infile); |
762 |
> |
if (!f || !f->IsOpen()) { |
763 |
> |
f = new TFile(infile); |
764 |
|
} |
765 |
< |
tree = (TTree*)gDirectory->Get("tree"); |
765 |
> |
f->GetObject("tree",tree); |
766 |
|
|
767 |
|
} |
768 |
|
Init(tree); |
793 |
|
return centry; |
794 |
|
} |
795 |
|
|
508 |
– |
|
796 |
|
void ntupleLoader::Init(TTree *tree) |
797 |
|
{ |
798 |
|
// The Init() function is called when the selector needs to initialize |
809 |
|
fCurrent = -1; |
810 |
|
fChain->SetMakeClass(1); |
811 |
|
|
812 |
< |
fChain->SetBranchAddress("H", &H_mass, &b_H); |
812 |
> |
fChain->SetBranchAddress("H", &H_HiggsFlag, &b_H); |
813 |
|
fChain->SetBranchAddress("V", &V_mass, &b_V); |
814 |
+ |
fChain->SetBranchAddress("FatH", &FatH_FatHiggsFlag, &b_FatH); |
815 |
+ |
fChain->SetBranchAddress("lheV_pt", &lheV_pt, &b_lheV_pt); |
816 |
+ |
fChain->SetBranchAddress("genZ", &genZ_mass, &b_genZ); |
817 |
+ |
fChain->SetBranchAddress("genZstar", &genZstar_mass, &b_genZstar); |
818 |
+ |
fChain->SetBranchAddress("genW", &genW_mass, &b_genW); |
819 |
+ |
fChain->SetBranchAddress("genWstar", &genWstar_mass, &b_genWstar); |
820 |
+ |
fChain->SetBranchAddress("genH", &genH_mass, &b_genH); |
821 |
+ |
fChain->SetBranchAddress("genB", &genB_mass, &b_genB); |
822 |
+ |
fChain->SetBranchAddress("genBbar", &genBbar_mass, &b_genBbar); |
823 |
+ |
fChain->SetBranchAddress("genTop", &genTop_bmass, &b_genTop); |
824 |
+ |
fChain->SetBranchAddress("genTbar", &genTbar_bmass, &b_genTbar); |
825 |
+ |
fChain->SetBranchAddress("TkSharing", &TkSharing_HiggsCSVtkSharing, &b_TkSharing); |
826 |
|
fChain->SetBranchAddress("nhJets", &nhJets, &b_nhJets); |
827 |
+ |
fChain->SetBranchAddress("nfathFilterJets", &nfathFilterJets, &b_nfathFilterJets); |
828 |
|
fChain->SetBranchAddress("naJets", &naJets, &b_naJets); |
829 |
|
fChain->SetBranchAddress("hJet_pt", hJet_pt, &b_hJet_pt); |
830 |
|
fChain->SetBranchAddress("hJet_eta", hJet_eta, &b_hJet_eta); |
831 |
|
fChain->SetBranchAddress("hJet_phi", hJet_phi, &b_hJet_phi); |
832 |
|
fChain->SetBranchAddress("hJet_e", hJet_e, &b_hJet_e); |
833 |
|
fChain->SetBranchAddress("hJet_csv", hJet_csv, &b_hJet_csv); |
834 |
< |
fChain->SetBranchAddress("hJet_csvDown", hJet_csvDown, &b_hJet_csvDown); |
835 |
< |
fChain->SetBranchAddress("hJet_csvUp", hJet_csvUp, &b_hJet_csvUp); |
536 |
< |
fChain->SetBranchAddress("hJet_csvFDown", hJet_csvFDown, &b_hJet_csvFDown); |
537 |
< |
fChain->SetBranchAddress("hJet_csvFUp", hJet_csvFUp, &b_hJet_csvFUp); |
834 |
> |
fChain->SetBranchAddress("hJet_csvivf", hJet_csvivf, &b_hJet_csvivf); |
835 |
> |
fChain->SetBranchAddress("hJet_cmva", hJet_cmva, &b_hJet_cmva); |
836 |
|
fChain->SetBranchAddress("hJet_cosTheta", hJet_cosTheta, &b_hJet_cosTheta); |
837 |
|
fChain->SetBranchAddress("hJet_numTracksSV", hJet_numTracksSV, &b_hJet_numTracksSV); |
838 |
|
fChain->SetBranchAddress("hJet_chf", hJet_chf, &b_hJet_chf); |
842 |
|
fChain->SetBranchAddress("hJet_nch", hJet_nch, &b_hJet_nch); |
843 |
|
fChain->SetBranchAddress("hJet_nconstituents", hJet_nconstituents, &b_hJet_nconstituents); |
844 |
|
fChain->SetBranchAddress("hJet_flavour", hJet_flavour, &b_hJet_flavour); |
845 |
+ |
fChain->SetBranchAddress("hJet_isSemiLept", hJet_isSemiLept, &b_hJet_isSemiLept); |
846 |
+ |
fChain->SetBranchAddress("hJet_isSemiLeptMCtruth", hJet_isSemiLeptMCtruth, &b_hJet_isSemiLeptMCtruth); |
847 |
+ |
fChain->SetBranchAddress("hJet_SoftLeptpdgId", hJet_SoftLeptpdgId, &b_hJet_SoftLeptpdgId); |
848 |
+ |
fChain->SetBranchAddress("hJet_SoftLeptIdlooseMu", hJet_SoftLeptIdlooseMu, &b_hJet_SoftLeptIdlooseMu); |
849 |
+ |
fChain->SetBranchAddress("hJet_SoftLeptId95", hJet_SoftLeptId95, &b_hJet_SoftLeptId95); |
850 |
+ |
fChain->SetBranchAddress("hJet_SoftLeptPt", hJet_SoftLeptPt, &b_hJet_SoftLeptPt); |
851 |
+ |
fChain->SetBranchAddress("hJet_SoftLeptdR", hJet_SoftLeptdR, &b_hJet_SoftLeptdR); |
852 |
+ |
fChain->SetBranchAddress("hJet_SoftLeptptRel", hJet_SoftLeptptRel, &b_hJet_SoftLeptptRel); |
853 |
+ |
fChain->SetBranchAddress("hJet_SoftLeptRelCombIso", hJet_SoftLeptRelCombIso, &b_hJet_SoftLeptRelCombIso); |
854 |
|
fChain->SetBranchAddress("hJet_genPt", hJet_genPt, &b_hJet_genPt); |
855 |
|
fChain->SetBranchAddress("hJet_genEta", hJet_genEta, &b_hJet_genEta); |
856 |
|
fChain->SetBranchAddress("hJet_genPhi", hJet_genPhi, &b_hJet_genPhi); |
857 |
|
fChain->SetBranchAddress("hJet_JECUnc", hJet_JECUnc, &b_hJet_JECUnc); |
858 |
|
fChain->SetBranchAddress("hJet_vtxMass", hJet_vtxMass, &b_hJet_vtxMass); |
859 |
+ |
fChain->SetBranchAddress("hJet_vtxPt", hJet_vtxPt, &b_hJet_vtxPt); |
860 |
+ |
fChain->SetBranchAddress("hJet_vtxEta", hJet_vtxEta, &b_hJet_vtxEta); |
861 |
+ |
fChain->SetBranchAddress("hJet_vtxPhi", hJet_vtxPhi, &b_hJet_vtxPhi); |
862 |
+ |
fChain->SetBranchAddress("hJet_vtxE", hJet_vtxE, &b_hJet_vtxE); |
863 |
|
fChain->SetBranchAddress("hJet_vtx3dL", hJet_vtx3dL, &b_hJet_vtx3dL); |
864 |
|
fChain->SetBranchAddress("hJet_vtx3deL", hJet_vtx3deL, &b_hJet_vtx3deL); |
865 |
|
fChain->SetBranchAddress("hJet_id", hJet_id, &b_hJet_id); |
869 |
|
fChain->SetBranchAddress("hJet_SF_CSVLerr", hJet_SF_CSVLerr, &b_hJet_SF_CSVLerr); |
870 |
|
fChain->SetBranchAddress("hJet_SF_CSVMerr", hJet_SF_CSVMerr, &b_hJet_SF_CSVMerr); |
871 |
|
fChain->SetBranchAddress("hJet_SF_CSVTerr", hJet_SF_CSVTerr, &b_hJet_SF_CSVTerr); |
872 |
+ |
fChain->SetBranchAddress("hJet_ptRaw", hJet_ptRaw, &b_hJet_ptRaw); |
873 |
+ |
fChain->SetBranchAddress("hJet_ptLeadTrack", hJet_ptLeadTrack, &b_hJet_ptLeadTrack); |
874 |
+ |
fChain->SetBranchAddress("hJet_AnglePVtoSVmom", hJet_AnglePVtoSVmom, &b_hJet_AnglePVtoSVmom); |
875 |
+ |
fChain->SetBranchAddress("hJet_AnglePVtoJetmom", hJet_AnglePVtoJetmom, &b_hJet_AnglePVtoJetmom); |
876 |
+ |
fChain->SetBranchAddress("fathFilterJets_pt", fathFilterJets_pt, &b_fathFilterJets_pt); |
877 |
+ |
fChain->SetBranchAddress("fathFilterJets_eta", fathFilterJets_eta, &b_fathFilterJets_eta); |
878 |
+ |
fChain->SetBranchAddress("fathFilterJets_phi", fathFilterJets_phi, &b_fathFilterJets_phi); |
879 |
+ |
fChain->SetBranchAddress("fathFilterJets_e", fathFilterJets_e, &b_fathFilterJets_e); |
880 |
+ |
fChain->SetBranchAddress("fathFilterJets_csv", fathFilterJets_csv, &b_fathFilterJets_csv); |
881 |
+ |
fChain->SetBranchAddress("fathFilterJets_chf", fathFilterJets_chf, &b_fathFilterJets_chf); |
882 |
+ |
fChain->SetBranchAddress("fathFilterJets_ptRaw", fathFilterJets_ptRaw, &b_fathFilterJets_ptRaw); |
883 |
+ |
fChain->SetBranchAddress("fathFilterJets_ptLeadTrack", fathFilterJets_ptLeadTrack, &b_fathFilterJets_ptLeadTrack); |
884 |
+ |
fChain->SetBranchAddress("fathFilterJets_flavour", fathFilterJets_flavour, &b_fathFilterJets_flavour); |
885 |
+ |
fChain->SetBranchAddress("fathFilterJets_isSemiLept", fathFilterJets_isSemiLept, &b_fathFilterJets_isSemiLept); |
886 |
+ |
fChain->SetBranchAddress("fathFilterJets_isSemiLeptMCtruth", fathFilterJets_isSemiLeptMCtruth, &b_fathFilterJets_isSemiLeptMCtruth); |
887 |
+ |
fChain->SetBranchAddress("fathFilterJets_genPt", fathFilterJets_genPt, &b_fathFilterJets_genPt); |
888 |
+ |
fChain->SetBranchAddress("fathFilterJets_genEta", fathFilterJets_genEta, &b_fathFilterJets_genEta); |
889 |
+ |
fChain->SetBranchAddress("fathFilterJets_genPhi", fathFilterJets_genPhi, &b_fathFilterJets_genPhi); |
890 |
+ |
fChain->SetBranchAddress("fathFilterJets_vtxMass", fathFilterJets_vtxMass, &b_fathFilterJets_vtxMass); |
891 |
+ |
fChain->SetBranchAddress("fathFilterJets_vtx3dL", fathFilterJets_vtx3dL, &b_fathFilterJets_vtx3dL); |
892 |
+ |
fChain->SetBranchAddress("fathFilterJets_vtx3deL", fathFilterJets_vtx3deL, &b_fathFilterJets_vtx3deL); |
893 |
+ |
fChain->SetBranchAddress("fathFilterJets_vtxPt", fathFilterJets_vtxPt, &b_fathFilterJets_vtxPt); |
894 |
+ |
fChain->SetBranchAddress("fathFilterJets_vtxEta", fathFilterJets_vtxEta, &b_fathFilterJets_vtxEta); |
895 |
+ |
fChain->SetBranchAddress("fathFilterJets_vtxPhi", fathFilterJets_vtxPhi, &b_fathFilterJets_vtxPhi); |
896 |
+ |
fChain->SetBranchAddress("fathFilterJets_vtxE", fathFilterJets_vtxE, &b_fathFilterJets_vtxE); |
897 |
+ |
fChain->SetBranchAddress("fathFilterJets_AnglePVtoSVmom", fathFilterJets_AnglePVtoSVmom, &b_fathFilterJets_AnglePVtoSVmom); |
898 |
+ |
fChain->SetBranchAddress("fathFilterJets_AnglePVtoJetmom", fathFilterJets_AnglePVtoJetmom, &b_fathFilterJets_AnglePVtoJetmom); |
899 |
+ |
fChain->SetBranchAddress("fathFilterJets_csvivf", fathFilterJets_csvivf, &b_fathFilterJets_csvivf); |
900 |
+ |
fChain->SetBranchAddress("fathFilterJets_cmva", fathFilterJets_cmva, &b_fathFilterJets_cmva); |
901 |
|
fChain->SetBranchAddress("aJet_pt", aJet_pt, &b_aJet_pt); |
902 |
|
fChain->SetBranchAddress("aJet_eta", aJet_eta, &b_aJet_eta); |
903 |
|
fChain->SetBranchAddress("aJet_phi", aJet_phi, &b_aJet_phi); |
904 |
|
fChain->SetBranchAddress("aJet_e", aJet_e, &b_aJet_e); |
905 |
|
fChain->SetBranchAddress("aJet_csv", aJet_csv, &b_aJet_csv); |
906 |
+ |
fChain->SetBranchAddress("aJet_csvivf", aJet_csvivf, &b_aJet_csvivf); |
907 |
+ |
fChain->SetBranchAddress("aJet_cmva", aJet_cmva, &b_aJet_cmva); |
908 |
|
fChain->SetBranchAddress("aJet_cosTheta", aJet_cosTheta, &b_aJet_cosTheta); |
909 |
|
fChain->SetBranchAddress("aJet_numTracksSV", aJet_numTracksSV, &b_aJet_numTracksSV); |
910 |
|
fChain->SetBranchAddress("aJet_chf", aJet_chf, &b_aJet_chf); |
914 |
|
fChain->SetBranchAddress("aJet_nch", aJet_nch, &b_aJet_nch); |
915 |
|
fChain->SetBranchAddress("aJet_nconstituents", aJet_nconstituents, &b_aJet_nconstituents); |
916 |
|
fChain->SetBranchAddress("aJet_flavour", aJet_flavour, &b_aJet_flavour); |
917 |
+ |
fChain->SetBranchAddress("aJet_isSemiLept", aJet_isSemiLept, &b_aJet_isSemiLept); |
918 |
+ |
fChain->SetBranchAddress("aJet_isSemiLeptMCtruth", aJet_isSemiLeptMCtruth, &b_aJet_isSemiLeptMCtruth); |
919 |
+ |
fChain->SetBranchAddress("aJet_SoftLeptpdgId", aJet_SoftLeptpdgId, &b_aJet_SoftLeptpdgId); |
920 |
+ |
fChain->SetBranchAddress("aJet_SoftLeptIdlooseMu", aJet_SoftLeptIdlooseMu, &b_aJet_SoftLeptIdlooseMu); |
921 |
+ |
fChain->SetBranchAddress("aJet_SoftLeptId95", aJet_SoftLeptId95, &b_aJet_SoftLeptId95); |
922 |
+ |
fChain->SetBranchAddress("aJet_SoftLeptPt", aJet_SoftLeptPt, &b_aJet_SoftLeptPt); |
923 |
+ |
fChain->SetBranchAddress("aJet_SoftLeptdR", aJet_SoftLeptdR, &b_aJet_SoftLeptdR); |
924 |
+ |
fChain->SetBranchAddress("aJet_SoftLeptptRel", aJet_SoftLeptptRel, &b_aJet_SoftLeptptRel); |
925 |
+ |
fChain->SetBranchAddress("aJet_SoftLeptRelCombIso", aJet_SoftLeptRelCombIso, &b_aJet_SoftLeptRelCombIso); |
926 |
|
fChain->SetBranchAddress("aJet_genPt", aJet_genPt, &b_aJet_genPt); |
927 |
|
fChain->SetBranchAddress("aJet_genEta", aJet_genEta, &b_aJet_genEta); |
928 |
|
fChain->SetBranchAddress("aJet_genPhi", aJet_genPhi, &b_aJet_genPhi); |
937 |
|
fChain->SetBranchAddress("aJet_SF_CSVLerr", aJet_SF_CSVLerr, &b_aJet_SF_CSVLerr); |
938 |
|
fChain->SetBranchAddress("aJet_SF_CSVMerr", aJet_SF_CSVMerr, &b_aJet_SF_CSVMerr); |
939 |
|
fChain->SetBranchAddress("aJet_SF_CSVTerr", aJet_SF_CSVTerr, &b_aJet_SF_CSVTerr); |
940 |
+ |
fChain->SetBranchAddress("naJetsFat", &naJetsFat, &b_naJetsFat); |
941 |
+ |
fChain->SetBranchAddress("aJetFat_pt", aJetFat_pt, &b_aJetFat_pt); |
942 |
+ |
fChain->SetBranchAddress("aJetFat_eta", aJetFat_eta, &b_aJetFat_eta); |
943 |
+ |
fChain->SetBranchAddress("aJetFat_phi", aJetFat_phi, &b_aJetFat_phi); |
944 |
+ |
fChain->SetBranchAddress("aJetFat_e", aJetFat_e, &b_aJetFat_e); |
945 |
+ |
fChain->SetBranchAddress("aJetFat_csv", aJetFat_csv, &b_aJetFat_csv); |
946 |
|
fChain->SetBranchAddress("numJets", &numJets, &b_numJets); |
947 |
|
fChain->SetBranchAddress("numBJets", &numBJets, &b_numBJets); |
948 |
|
fChain->SetBranchAddress("deltaPullAngle", &deltaPullAngle, &b_deltaPullAngle); |
951 |
|
fChain->SetBranchAddress("gendrbb", &gendrbb, &b_gendrbb); |
952 |
|
fChain->SetBranchAddress("genZpt", &genZpt, &b_genZpt); |
953 |
|
fChain->SetBranchAddress("genWpt", &genWpt, &b_genWpt); |
954 |
+ |
fChain->SetBranchAddress("genHpt", &genHpt, &b_genHpt); |
955 |
|
fChain->SetBranchAddress("weightTrig", &weightTrig, &b_weightTrig); |
956 |
|
fChain->SetBranchAddress("weightTrigMay", &weightTrigMay, &b_weightTrigMay); |
957 |
|
fChain->SetBranchAddress("weightTrigV4", &weightTrigV4, &b_weightTrigV4); |
1004 |
|
fChain->SetBranchAddress("vLepton_genPt", vLepton_genPt, &b_vLepton_genPt); |
1005 |
|
fChain->SetBranchAddress("vLepton_genEta", vLepton_genEta, &b_vLepton_genEta); |
1006 |
|
fChain->SetBranchAddress("vLepton_genPhi", vLepton_genPhi, &b_vLepton_genPhi); |
1007 |
+ |
fChain->SetBranchAddress("vLepton_charge", vLepton_charge, &b_vLepton_charge); |
1008 |
|
fChain->SetBranchAddress("aLepton_mass", aLepton_mass, &b_aLepton_mass); |
1009 |
|
fChain->SetBranchAddress("aLepton_pt", aLepton_pt, &b_aLepton_pt); |
1010 |
|
fChain->SetBranchAddress("aLepton_eta", aLepton_eta, &b_aLepton_eta); |
1026 |
|
fChain->SetBranchAddress("aLepton_genPt", aLepton_genPt, &b_aLepton_genPt); |
1027 |
|
fChain->SetBranchAddress("aLepton_genEta", aLepton_genEta, &b_aLepton_genEta); |
1028 |
|
fChain->SetBranchAddress("aLepton_genPhi", aLepton_genPhi, &b_aLepton_genPhi); |
1029 |
+ |
fChain->SetBranchAddress("aLepton_charge", aLepton_charge, &b_aLepton_charge); |
1030 |
|
fChain->SetBranchAddress("top", &top_mass, &b_top); |
1031 |
|
fChain->SetBranchAddress("WplusMode", &WplusMode, &b_WplusMode); |
1032 |
|
fChain->SetBranchAddress("WminusMode", &WminusMode, &b_WminusMode); |
1059 |
|
fChain->SetBranchAddress("METnoPU", &METnoPU_et, &b_METnoPU); |
1060 |
|
fChain->SetBranchAddress("METnoPUCh", &METnoPUCh_et, &b_METnoPUCh); |
1061 |
|
fChain->SetBranchAddress("MET", &MET_et, &b_MET); |
1062 |
+ |
fChain->SetBranchAddress("METtype1corr", &METtype1corr_et, &b_METtype1corr); |
1063 |
+ |
fChain->SetBranchAddress("METtype1p2corr", &METtype1p2corr_et, &b_METtype1p2corr); |
1064 |
+ |
fChain->SetBranchAddress("METnoPUtype1corr", &METnoPUtype1corr_et, &b_METnoPUtype1corr); |
1065 |
+ |
fChain->SetBranchAddress("METnoPUtype1p2corr", &METnoPUtype1p2corr_et, &b_METnoPUtype1p2corr); |
1066 |
+ |
fChain->SetBranchAddress("metUnc_et", metUnc_et, &b_et); |
1067 |
+ |
fChain->SetBranchAddress("metUnc_phi", metUnc_phi, &b_phi); |
1068 |
+ |
fChain->SetBranchAddress("metUnc_sumet", metUnc_sumet, &b_sumet); |
1069 |
|
fChain->SetBranchAddress("fakeMET", &fakeMET_et, &b_fakeMET); |
1070 |
|
fChain->SetBranchAddress("MHT", &MHT_mht, &b_MHT); |
1071 |
|
fChain->SetBranchAddress("minDeltaPhijetMET", &minDeltaPhijetMET, &b_minDeltaPhijetMET); |
1075 |
|
fChain->SetBranchAddress("hbhe", &hbhe, &b_hbhe); |
1076 |
|
fChain->SetBranchAddress("totalKinematics", &totalKinematics, &b_totalKinematics); |
1077 |
|
fChain->SetBranchAddress("ecalFlag", &ecalFlag, &b_ecalFlag); |
1078 |
+ |
fChain->SetBranchAddress("cschaloFlag", &cschaloFlag, &b_cschaloFlag); |
1079 |
+ |
fChain->SetBranchAddress("hcallaserFlag", &hcallaserFlag, &b_hcallaserFlag); |
1080 |
+ |
fChain->SetBranchAddress("trackingfailureFlag", &trackingfailureFlag, &b_trackingfailureFlag); |
1081 |
|
fChain->SetBranchAddress("btag1TSF", &btag1TSF, &b_btag1TSF); |
1082 |
|
fChain->SetBranchAddress("btag2TSF", &btag2TSF, &b_btag2TSF); |
1083 |
|
fChain->SetBranchAddress("btag1T2CSF", &btag1T2CSF, &b_btag1T2CSF); |
1085 |
|
fChain->SetBranchAddress("btagA0CSF", &btagA0CSF, &b_btagA0CSF); |
1086 |
|
fChain->SetBranchAddress("btagA0TSF", &btagA0TSF, &b_btagA0TSF); |
1087 |
|
fChain->SetBranchAddress("btag1TA1C", &btag1TA1C, &b_btag1TA1C); |
1088 |
+ |
fChain->SetBranchAddress("PUweight2011BUp", &PUweight2011BUp, &b_PUweight2011BUp); |
1089 |
+ |
fChain->SetBranchAddress("PUweight2011BDown", &PUweight2011BDown, &b_PUweight2011BDown); |
1090 |
+ |
fChain->SetBranchAddress("hJet_csvOld", hJet_csvOld, &b_hJet_csvOld); |
1091 |
+ |
fChain->SetBranchAddress("hJet_csvDown", hJet_csvDown, &b_hJet_csvDown); |
1092 |
+ |
fChain->SetBranchAddress("hJet_csvUp", hJet_csvUp, &b_hJet_csvUp); |
1093 |
+ |
fChain->SetBranchAddress("hJet_csvFDown", hJet_csvFDown, &b_hJet_csvFDown); |
1094 |
+ |
fChain->SetBranchAddress("hJet_csvFUp", hJet_csvFUp, &b_hJet_csvFUp); |
1095 |
+ |
fChain->SetBranchAddress("weightTrig_up", &weightTrig_up, &b_weightTrig_up); |
1096 |
+ |
fChain->SetBranchAddress("weightTrigMay_up", &weightTrigMay_up, &b_weightTrigMay); |
1097 |
+ |
fChain->SetBranchAddress("weightTrigV4_up", &weightTrigV4_up, &b_weightTrigV4); |
1098 |
+ |
fChain->SetBranchAddress("weightTrigMET_up", &weightTrigMET_up, &b_weightTrigMET); |
1099 |
+ |
fChain->SetBranchAddress("weightTrigOrMu30_up", &weightTrigOrMu30_up, &b_weightTrigOrMu30); |
1100 |
+ |
fChain->SetBranchAddress("weightEleRecoAndId_up", &weightEleRecoAndId_up, &b_weightEleRecoAndId); |
1101 |
+ |
fChain->SetBranchAddress("weightEleTrigJetMETPart_up", &weightEleTrigJetMETPart_up, &b_weightEleTrigJetMETPart); |
1102 |
+ |
fChain->SetBranchAddress("weightEleTrigElePart_up", &weightEleTrigElePart_up, &b_weightEleTrigElePart); |
1103 |
|
Notify(); |
1104 |
|
} |
1105 |
|
|
1128 |
|
// returns -1 otherwise. |
1129 |
|
return 1; |
1130 |
|
} |
746 |
– |
|
747 |
– |
void ntupleLoader::Loop() |
748 |
– |
{ |
749 |
– |
if (fChain == 0) return; |
750 |
– |
|
751 |
– |
Long64_t nentries = fChain->GetEntriesFast(); |
752 |
– |
|
753 |
– |
Long64_t nbytes = 0, nb = 0; |
754 |
– |
for (Long64_t jentry=0; jentry<nentries;jentry++) { |
755 |
– |
Long64_t ientry = LoadTree(jentry); |
756 |
– |
if (ientry < 0) break; |
757 |
– |
nb = fChain->GetEntry(jentry); nbytes += nb; |
758 |
– |
// if (Cut(ientry) < 0) continue; |
759 |
– |
} |
760 |
– |
} |
1131 |
|
#endif // #ifdef ntupleLoader_cxx |
762 |
– |
|