ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/interface/ntupleLoader.hpp
Revision: 1.2
Committed: Tue May 8 09:00:21 2012 UTC (13 years ago) by bortigno
Branch: MAIN
CVS Tags: AN-12-181-7TeV_patch1, AN-12-181-7TeV
Changes since 1.1: +461 -92 lines
Log Message:
May5

File Contents

# Content
1 //////////////////////////////////////////////////////////
2 // This class has been automatically generated on
3 // Tue May 8 10:50:00 2012 by ROOT version 5.30/02
4 // from TTree tree/myTree
5 // found on file: ZllH.May5Reg.ZH_ZToLL_HToBB_M-100_7TeV-powheg-herwigpp.root
6 //////////////////////////////////////////////////////////
7
8 #ifndef ntupleLoader_hpp
9 #define ntupleLoader_hpp
10
11 #include <TROOT.h>
12 #include <TChain.h>
13 #include <TFile.h>
14
15 class ntupleLoader {
16 public :
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;
26 Float_t H_phi;
27 Float_t H_dR;
28 Float_t H_dPhi;
29 Float_t H_dEta;
30 Float_t V_mass;
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_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]
142 Float_t hJet_nhf[2]; //[nhJets]
143 Float_t hJet_cef[2]; //[nhJets]
144 Float_t hJet_nef[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]
169 UChar_t hJet_SF_CSVL[2]; //[nhJets]
170 UChar_t hJet_SF_CSVM[2]; //[nhJets]
171 UChar_t hJet_SF_CSVT[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 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;
252 Float_t deltaPullAngle2;
253 Float_t gendrcc;
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;
261 Float_t weightTrigMET;
262 Float_t weightTrigOrMu30;
263 Float_t weightEleRecoAndId;
264 Float_t weightEleTrigJetMETPart;
265 Float_t weightEleTrigElePart;
266 Float_t weightEleTrigEleAugPart;
267 Float_t weightTrigMET80;
268 Float_t weightTrigMET100;
269 Float_t weightTrig2CJet20;
270 Float_t weightTrigMET150;
271 Float_t weightTrigMET802CJet;
272 Float_t weightTrigMET1002CJet;
273 Float_t weightTrigMETLP;
274 Float_t deltaPullAngleAK7;
275 Float_t deltaPullAngle2AK7;
276 Float_t PU0;
277 Float_t PUm1;
278 Float_t PUp1;
279 Float_t PUweight;
280 Float_t PUweight2011B;
281 Int_t eventFlav;
282 Int_t Vtype;
283 Float_t HVdPhi;
284 Float_t HVMass;
285 Float_t HMETdPhi;
286 Float_t VMt;
287 Int_t nvlep;
288 Int_t nalep;
289 Float_t vLepton_mass[2]; //[nvlep]
290 Float_t vLepton_pt[2]; //[nvlep]
291 Float_t vLepton_eta[2]; //[nvlep]
292 Float_t vLepton_phi[2]; //[nvlep]
293 Float_t vLepton_aodCombRelIso[2]; //[nvlep]
294 Float_t vLepton_pfCombRelIso[2]; //[nvlep]
295 Float_t vLepton_photonIso[2]; //[nvlep]
296 Float_t vLepton_neutralHadIso[2]; //[nvlep]
297 Float_t vLepton_chargedHadIso[2]; //[nvlep]
298 Float_t vLepton_chargedPUIso[2]; //[nvlep]
299 Float_t vLepton_particleIso[2]; //[nvlep]
300 Float_t vLepton_dxy[2]; //[nvlep]
301 Float_t vLepton_dz[2]; //[nvlep]
302 Int_t vLepton_type[2]; //[nvlep]
303 Float_t vLepton_id80[2]; //[nvlep]
304 Float_t vLepton_id95[2]; //[nvlep]
305 Float_t vLepton_vbtf[2]; //[nvlep]
306 Float_t vLepton_id80NoIso[2]; //[nvlep]
307 Float_t vLepton_genPt[2]; //[nvlep]
308 Float_t vLepton_genEta[2]; //[nvlep]
309 Float_t vLepton_genPhi[2]; //[nvlep]
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;
336 Int_t WplusMode;
337 Int_t WminusMode;
338 Int_t nSvs;
339 Float_t Sv_massBCand[5]; //[nSvs]
340 Float_t Sv_massSv[5]; //[nSvs]
341 Float_t Sv_pt[5]; //[nSvs]
342 Float_t Sv_eta[5]; //[nSvs]
343 Float_t Sv_phi[5]; //[nSvs]
344 Float_t Sv_dist3D[5]; //[nSvs]
345 Float_t Sv_dist2D[5]; //[nSvs]
346 Float_t Sv_distSim2D[5]; //[nSvs]
347 Float_t Sv_distSig3D[5]; //[nSvs]
348 Float_t Sv_dist3D_norm[5]; //[nSvs]
349 Float_t SVH_mass;
350 Float_t SVH_pt;
351 Float_t SVH_eta;
352 Float_t SVH_phi;
353 Float_t SVH_dR;
354 Float_t SVH_dPhi;
355 Float_t SVH_dEta;
356 Int_t nSimBs;
357 Float_t SimBs_mass[8]; //[nSimBs]
358 Float_t SimBs_pt[8]; //[nSimBs]
359 Float_t SimBs_eta[8]; //[nSimBs]
360 Float_t SimBs_phi[8]; //[nSimBs]
361 Float_t SimBs_vtx_x[8]; //[nSimBs]
362 Float_t SimBs_vtx_y[8]; //[nSimBs]
363 Float_t SimBs_vtx_z[8]; //[nSimBs]
364 Float_t SimBs_pdgId[8]; //[nSimBs]
365 Float_t SimBs_status[8]; //[nSimBs]
366 Float_t SimBsH_mass;
367 Float_t SimBsH_pt;
368 Float_t SimBsH_eta;
369 Float_t SimBsH_phi;
370 Float_t SimBsH_dR;
371 Float_t SimBsH_dPhi;
372 Float_t SimBsH_dEta;
373 Float_t rho;
374 Float_t rho25;
375 Int_t nPVs;
376 Float_t METnoPU_et;
377 Float_t METnoPU_sumet;
378 Float_t METnoPU_sig;
379 Float_t METnoPU_phi;
380 Float_t METnoPUCh_et;
381 Float_t METnoPUCh_sumet;
382 Float_t METnoPUCh_sig;
383 Float_t METnoPUCh_phi;
384 Float_t MET_et;
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;
410 Float_t fakeMET_phi;
411 Float_t MHT_mht;
412 Float_t MHT_ht;
413 Float_t MHT_sig;
414 Float_t MHT_phi;
415 Float_t minDeltaPhijetMET;
416 Float_t jetPt_minDeltaPhijetMET;
417 UChar_t triggerFlags[39];
418 Int_t EVENT_run;
419 Int_t EVENT_lumi;
420 Int_t EVENT_event;
421 Int_t EVENT_json;
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;
431 Float_t btag2CSF;
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_csvivf; //!
475 TBranch *b_hJet_cmva; //!
476 TBranch *b_hJet_cosTheta; //!
477 TBranch *b_hJet_numTracksSV; //!
478 TBranch *b_hJet_chf; //!
479 TBranch *b_hJet_nhf; //!
480 TBranch *b_hJet_cef; //!
481 TBranch *b_hJet_nef; //!
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; //!
506 TBranch *b_hJet_SF_CSVL; //!
507 TBranch *b_hJet_SF_CSVM; //!
508 TBranch *b_hJet_SF_CSVT; //!
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; //!
551 TBranch *b_aJet_nhf; //!
552 TBranch *b_aJet_cef; //!
553 TBranch *b_aJet_nef; //!
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; //!
569 TBranch *b_aJet_JECUnc; //!
570 TBranch *b_aJet_vtxMass; //!
571 TBranch *b_aJet_vtx3dL; //!
572 TBranch *b_aJet_vtx3deL; //!
573 TBranch *b_aJet_id; //!
574 TBranch *b_aJet_SF_CSVL; //!
575 TBranch *b_aJet_SF_CSVM; //!
576 TBranch *b_aJet_SF_CSVT; //!
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; //!
589 TBranch *b_deltaPullAngle2; //!
590 TBranch *b_gendrcc; //!
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; //!
598 TBranch *b_weightTrigMET; //!
599 TBranch *b_weightTrigOrMu30; //!
600 TBranch *b_weightEleRecoAndId; //!
601 TBranch *b_weightEleTrigJetMETPart; //!
602 TBranch *b_weightEleTrigElePart; //!
603 TBranch *b_weightEleTrigEleAugPart; //!
604 TBranch *b_weightTrigMET80; //!
605 TBranch *b_weightTrigMET100; //!
606 TBranch *b_weightTrig2CJet20; //!
607 TBranch *b_weightTrigMET150; //!
608 TBranch *b_weightTrigMET802CJet; //!
609 TBranch *b_weightTrigMET1002CJet; //!
610 TBranch *b_weightTrigMETLP; //!
611 TBranch *b_deltaPullAngleAK7; //!
612 TBranch *b_deltaPullAngle2AK7; //!
613 TBranch *b_PU0; //!
614 TBranch *b_PUm1; //!
615 TBranch *b_PUp1; //!
616 TBranch *b_PUweight; //!
617 TBranch *b_PUweight2011B; //!
618 TBranch *b_eventFlav; //!
619 TBranch *b_Vtype; //!
620 TBranch *b_HVdPhi; //!
621 TBranch *b_HVMass; //!
622 TBranch *b_HMETdPhi; //!
623 TBranch *b_VMt; //!
624 TBranch *b_nvlep; //!
625 TBranch *b_nalep; //!
626 TBranch *b_vLepton_mass; //!
627 TBranch *b_vLepton_pt; //!
628 TBranch *b_vLepton_eta; //!
629 TBranch *b_vLepton_phi; //!
630 TBranch *b_vLepton_aodCombRelIso; //!
631 TBranch *b_vLepton_pfCombRelIso; //!
632 TBranch *b_vLepton_photonIso; //!
633 TBranch *b_vLepton_neutralHadIso; //!
634 TBranch *b_vLepton_chargedHadIso; //!
635 TBranch *b_vLepton_chargedPUIso; //!
636 TBranch *b_vLepton_particleIso; //!
637 TBranch *b_vLepton_dxy; //!
638 TBranch *b_vLepton_dz; //!
639 TBranch *b_vLepton_type; //!
640 TBranch *b_vLepton_id80; //!
641 TBranch *b_vLepton_id95; //!
642 TBranch *b_vLepton_vbtf; //!
643 TBranch *b_vLepton_id80NoIso; //!
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; //!
651 TBranch *b_aLepton_phi; //!
652 TBranch *b_aLepton_aodCombRelIso; //!
653 TBranch *b_aLepton_pfCombRelIso; //!
654 TBranch *b_aLepton_photonIso; //!
655 TBranch *b_aLepton_neutralHadIso; //!
656 TBranch *b_aLepton_chargedHadIso; //!
657 TBranch *b_aLepton_chargedPUIso; //!
658 TBranch *b_aLepton_particleIso; //!
659 TBranch *b_aLepton_dxy; //!
660 TBranch *b_aLepton_dz; //!
661 TBranch *b_aLepton_type; //!
662 TBranch *b_aLepton_id80; //!
663 TBranch *b_aLepton_id95; //!
664 TBranch *b_aLepton_vbtf; //!
665 TBranch *b_aLepton_id80NoIso; //!
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; //!
673 TBranch *b_nSvs; //!
674 TBranch *b_Sv_massBCand; //!
675 TBranch *b_Sv_massSv; //!
676 TBranch *b_Sv_pt; //!
677 TBranch *b_Sv_eta; //!
678 TBranch *b_Sv_phi; //!
679 TBranch *b_Sv_dist3D; //!
680 TBranch *b_Sv_dist2D; //!
681 TBranch *b_Sv_distSim2D; //!
682 TBranch *b_Sv_distSig3D; //!
683 TBranch *b_Sv_dist3D_norm; //!
684 TBranch *b_SVH; //!
685 TBranch *b_nSimBs; //!
686 TBranch *b_SimBs_mass; //!
687 TBranch *b_SimBs_pt; //!
688 TBranch *b_SimBs_eta; //!
689 TBranch *b_SimBs_phi; //!
690 TBranch *b_SimBs_vtx_x; //!
691 TBranch *b_SimBs_vtx_y; //!
692 TBranch *b_SimBs_vtx_z; //!
693 TBranch *b_SimBs_pdgId; //!
694 TBranch *b_SimBs_status; //!
695 TBranch *b_SimBsH; //!
696 TBranch *b_rho; //!
697 TBranch *b_rho25; //!
698 TBranch *b_nPVs; //!
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; //!
712 TBranch *b_jetPt_minDeltaPhijetMET; //!
713 TBranch *b_triggerFlags; //!
714 TBranch *b_EVENT; //!
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; //!
724 TBranch *b_btag2CSF; //!
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);
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);
750 virtual Bool_t Notify();
751 virtual void Show(Long64_t entry = -1);
752 };
753
754
755 ntupleLoader::ntupleLoader(const char * infile)
756 {
757 // if parameter tree is not specified (or zero), connect the file
758 // used to generate this class and read the Tree.
759 tree=0;
760 if (tree == 0) {
761 TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject(infile);
762 if (!f || !f->IsOpen()) {
763 f = new TFile(infile);
764 }
765 f->GetObject("tree",tree);
766
767 }
768 Init(tree);
769 }
770
771 ntupleLoader::~ntupleLoader()
772 {
773 if (!fChain) return;
774 delete fChain->GetCurrentFile();
775 }
776
777 Int_t ntupleLoader::GetEntry(Long64_t entry)
778 {
779 // Read contents of entry.
780 if (!fChain) return 0;
781 return fChain->GetEntry(entry);
782 }
783 Long64_t ntupleLoader::LoadTree(Long64_t entry)
784 {
785 // Set the environment to read one entry
786 if (!fChain) return -5;
787 Long64_t centry = fChain->LoadTree(entry);
788 if (centry < 0) return centry;
789 if (fChain->GetTreeNumber() != fCurrent) {
790 fCurrent = fChain->GetTreeNumber();
791 Notify();
792 }
793 return centry;
794 }
795
796 void ntupleLoader::Init(TTree *tree)
797 {
798 // The Init() function is called when the selector needs to initialize
799 // a new tree or chain. Typically here the branch addresses and branch
800 // pointers of the tree will be set.
801 // It is normally not necessary to make changes to the generated
802 // code, but the routine can be extended by the user if needed.
803 // Init() will be called many times when running on PROOF
804 // (once per file to be processed).
805
806 // Set branch addresses and branch pointers
807 if (!tree) return;
808 fChain = tree;
809 fCurrent = -1;
810 fChain->SetMakeClass(1);
811
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_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);
839 fChain->SetBranchAddress("hJet_nhf", hJet_nhf, &b_hJet_nhf);
840 fChain->SetBranchAddress("hJet_cef", hJet_cef, &b_hJet_cef);
841 fChain->SetBranchAddress("hJet_nef", hJet_nef, &b_hJet_nef);
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);
866 fChain->SetBranchAddress("hJet_SF_CSVL", hJet_SF_CSVL, &b_hJet_SF_CSVL);
867 fChain->SetBranchAddress("hJet_SF_CSVM", hJet_SF_CSVM, &b_hJet_SF_CSVM);
868 fChain->SetBranchAddress("hJet_SF_CSVT", hJet_SF_CSVT, &b_hJet_SF_CSVT);
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);
911 fChain->SetBranchAddress("aJet_nhf", aJet_nhf, &b_aJet_nhf);
912 fChain->SetBranchAddress("aJet_cef", aJet_cef, &b_aJet_cef);
913 fChain->SetBranchAddress("aJet_nef", aJet_nef, &b_aJet_nef);
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);
929 fChain->SetBranchAddress("aJet_JECUnc", aJet_JECUnc, &b_aJet_JECUnc);
930 fChain->SetBranchAddress("aJet_vtxMass", aJet_vtxMass, &b_aJet_vtxMass);
931 fChain->SetBranchAddress("aJet_vtx3dL", aJet_vtx3dL, &b_aJet_vtx3dL);
932 fChain->SetBranchAddress("aJet_vtx3deL", aJet_vtx3deL, &b_aJet_vtx3deL);
933 fChain->SetBranchAddress("aJet_id", aJet_id, &b_aJet_id);
934 fChain->SetBranchAddress("aJet_SF_CSVL", aJet_SF_CSVL, &b_aJet_SF_CSVL);
935 fChain->SetBranchAddress("aJet_SF_CSVM", aJet_SF_CSVM, &b_aJet_SF_CSVM);
936 fChain->SetBranchAddress("aJet_SF_CSVT", aJet_SF_CSVT, &b_aJet_SF_CSVT);
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);
949 fChain->SetBranchAddress("deltaPullAngle2", &deltaPullAngle2, &b_deltaPullAngle2);
950 fChain->SetBranchAddress("gendrcc", &gendrcc, &b_gendrcc);
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);
958 fChain->SetBranchAddress("weightTrigMET", &weightTrigMET, &b_weightTrigMET);
959 fChain->SetBranchAddress("weightTrigOrMu30", &weightTrigOrMu30, &b_weightTrigOrMu30);
960 fChain->SetBranchAddress("weightEleRecoAndId", &weightEleRecoAndId, &b_weightEleRecoAndId);
961 fChain->SetBranchAddress("weightEleTrigJetMETPart", &weightEleTrigJetMETPart, &b_weightEleTrigJetMETPart);
962 fChain->SetBranchAddress("weightEleTrigElePart", &weightEleTrigElePart, &b_weightEleTrigElePart);
963 fChain->SetBranchAddress("weightEleTrigEleAugPart", &weightEleTrigEleAugPart, &b_weightEleTrigEleAugPart);
964 fChain->SetBranchAddress("weightTrigMET80", &weightTrigMET80, &b_weightTrigMET80);
965 fChain->SetBranchAddress("weightTrigMET100", &weightTrigMET100, &b_weightTrigMET100);
966 fChain->SetBranchAddress("weightTrig2CJet20", &weightTrig2CJet20, &b_weightTrig2CJet20);
967 fChain->SetBranchAddress("weightTrigMET150", &weightTrigMET150, &b_weightTrigMET150);
968 fChain->SetBranchAddress("weightTrigMET802CJet", &weightTrigMET802CJet, &b_weightTrigMET802CJet);
969 fChain->SetBranchAddress("weightTrigMET1002CJet", &weightTrigMET1002CJet, &b_weightTrigMET1002CJet);
970 fChain->SetBranchAddress("weightTrigMETLP", &weightTrigMETLP, &b_weightTrigMETLP);
971 fChain->SetBranchAddress("deltaPullAngleAK7", &deltaPullAngleAK7, &b_deltaPullAngleAK7);
972 fChain->SetBranchAddress("deltaPullAngle2AK7", &deltaPullAngle2AK7, &b_deltaPullAngle2AK7);
973 fChain->SetBranchAddress("PU0", &PU0, &b_PU0);
974 fChain->SetBranchAddress("PUm1", &PUm1, &b_PUm1);
975 fChain->SetBranchAddress("PUp1", &PUp1, &b_PUp1);
976 fChain->SetBranchAddress("PUweight", &PUweight, &b_PUweight);
977 fChain->SetBranchAddress("PUweight2011B", &PUweight2011B, &b_PUweight2011B);
978 fChain->SetBranchAddress("eventFlav", &eventFlav, &b_eventFlav);
979 fChain->SetBranchAddress("Vtype", &Vtype, &b_Vtype);
980 fChain->SetBranchAddress("HVdPhi", &HVdPhi, &b_HVdPhi);
981 fChain->SetBranchAddress("HVMass", &HVMass, &b_HVMass);
982 fChain->SetBranchAddress("HMETdPhi", &HMETdPhi, &b_HMETdPhi);
983 fChain->SetBranchAddress("VMt", &VMt, &b_VMt);
984 fChain->SetBranchAddress("nvlep", &nvlep, &b_nvlep);
985 fChain->SetBranchAddress("nalep", &nalep, &b_nalep);
986 fChain->SetBranchAddress("vLepton_mass", vLepton_mass, &b_vLepton_mass);
987 fChain->SetBranchAddress("vLepton_pt", vLepton_pt, &b_vLepton_pt);
988 fChain->SetBranchAddress("vLepton_eta", vLepton_eta, &b_vLepton_eta);
989 fChain->SetBranchAddress("vLepton_phi", vLepton_phi, &b_vLepton_phi);
990 fChain->SetBranchAddress("vLepton_aodCombRelIso", vLepton_aodCombRelIso, &b_vLepton_aodCombRelIso);
991 fChain->SetBranchAddress("vLepton_pfCombRelIso", vLepton_pfCombRelIso, &b_vLepton_pfCombRelIso);
992 fChain->SetBranchAddress("vLepton_photonIso", vLepton_photonIso, &b_vLepton_photonIso);
993 fChain->SetBranchAddress("vLepton_neutralHadIso", vLepton_neutralHadIso, &b_vLepton_neutralHadIso);
994 fChain->SetBranchAddress("vLepton_chargedHadIso", vLepton_chargedHadIso, &b_vLepton_chargedHadIso);
995 fChain->SetBranchAddress("vLepton_chargedPUIso", vLepton_chargedPUIso, &b_vLepton_chargedPUIso);
996 fChain->SetBranchAddress("vLepton_particleIso", vLepton_particleIso, &b_vLepton_particleIso);
997 fChain->SetBranchAddress("vLepton_dxy", vLepton_dxy, &b_vLepton_dxy);
998 fChain->SetBranchAddress("vLepton_dz", vLepton_dz, &b_vLepton_dz);
999 fChain->SetBranchAddress("vLepton_type", vLepton_type, &b_vLepton_type);
1000 fChain->SetBranchAddress("vLepton_id80", vLepton_id80, &b_vLepton_id80);
1001 fChain->SetBranchAddress("vLepton_id95", vLepton_id95, &b_vLepton_id95);
1002 fChain->SetBranchAddress("vLepton_vbtf", vLepton_vbtf, &b_vLepton_vbtf);
1003 fChain->SetBranchAddress("vLepton_id80NoIso", vLepton_id80NoIso, &b_vLepton_id80NoIso);
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);
1011 fChain->SetBranchAddress("aLepton_phi", aLepton_phi, &b_aLepton_phi);
1012 fChain->SetBranchAddress("aLepton_aodCombRelIso", aLepton_aodCombRelIso, &b_aLepton_aodCombRelIso);
1013 fChain->SetBranchAddress("aLepton_pfCombRelIso", aLepton_pfCombRelIso, &b_aLepton_pfCombRelIso);
1014 fChain->SetBranchAddress("aLepton_photonIso", aLepton_photonIso, &b_aLepton_photonIso);
1015 fChain->SetBranchAddress("aLepton_neutralHadIso", aLepton_neutralHadIso, &b_aLepton_neutralHadIso);
1016 fChain->SetBranchAddress("aLepton_chargedHadIso", aLepton_chargedHadIso, &b_aLepton_chargedHadIso);
1017 fChain->SetBranchAddress("aLepton_chargedPUIso", aLepton_chargedPUIso, &b_aLepton_chargedPUIso);
1018 fChain->SetBranchAddress("aLepton_particleIso", aLepton_particleIso, &b_aLepton_particleIso);
1019 fChain->SetBranchAddress("aLepton_dxy", aLepton_dxy, &b_aLepton_dxy);
1020 fChain->SetBranchAddress("aLepton_dz", aLepton_dz, &b_aLepton_dz);
1021 fChain->SetBranchAddress("aLepton_type", aLepton_type, &b_aLepton_type);
1022 fChain->SetBranchAddress("aLepton_id80", aLepton_id80, &b_aLepton_id80);
1023 fChain->SetBranchAddress("aLepton_id95", aLepton_id95, &b_aLepton_id95);
1024 fChain->SetBranchAddress("aLepton_vbtf", aLepton_vbtf, &b_aLepton_vbtf);
1025 fChain->SetBranchAddress("aLepton_id80NoIso", aLepton_id80NoIso, &b_aLepton_id80NoIso);
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);
1033 fChain->SetBranchAddress("nSvs", &nSvs, &b_nSvs);
1034 fChain->SetBranchAddress("Sv_massBCand", Sv_massBCand, &b_Sv_massBCand);
1035 fChain->SetBranchAddress("Sv_massSv", Sv_massSv, &b_Sv_massSv);
1036 fChain->SetBranchAddress("Sv_pt", Sv_pt, &b_Sv_pt);
1037 fChain->SetBranchAddress("Sv_eta", Sv_eta, &b_Sv_eta);
1038 fChain->SetBranchAddress("Sv_phi", Sv_phi, &b_Sv_phi);
1039 fChain->SetBranchAddress("Sv_dist3D", Sv_dist3D, &b_Sv_dist3D);
1040 fChain->SetBranchAddress("Sv_dist2D", Sv_dist2D, &b_Sv_dist2D);
1041 fChain->SetBranchAddress("Sv_distSim2D", Sv_distSim2D, &b_Sv_distSim2D);
1042 fChain->SetBranchAddress("Sv_distSig3D", Sv_distSig3D, &b_Sv_distSig3D);
1043 fChain->SetBranchAddress("Sv_dist3D_norm", Sv_dist3D_norm, &b_Sv_dist3D_norm);
1044 fChain->SetBranchAddress("SVH", &SVH_mass, &b_SVH);
1045 fChain->SetBranchAddress("nSimBs", &nSimBs, &b_nSimBs);
1046 fChain->SetBranchAddress("SimBs_mass", SimBs_mass, &b_SimBs_mass);
1047 fChain->SetBranchAddress("SimBs_pt", SimBs_pt, &b_SimBs_pt);
1048 fChain->SetBranchAddress("SimBs_eta", SimBs_eta, &b_SimBs_eta);
1049 fChain->SetBranchAddress("SimBs_phi", SimBs_phi, &b_SimBs_phi);
1050 fChain->SetBranchAddress("SimBs_vtx_x", SimBs_vtx_x, &b_SimBs_vtx_x);
1051 fChain->SetBranchAddress("SimBs_vtx_y", SimBs_vtx_y, &b_SimBs_vtx_y);
1052 fChain->SetBranchAddress("SimBs_vtx_z", SimBs_vtx_z, &b_SimBs_vtx_z);
1053 fChain->SetBranchAddress("SimBs_pdgId", SimBs_pdgId, &b_SimBs_pdgId);
1054 fChain->SetBranchAddress("SimBs_status", SimBs_status, &b_SimBs_status);
1055 fChain->SetBranchAddress("SimBsH", &SimBsH_mass, &b_SimBsH);
1056 fChain->SetBranchAddress("rho", &rho, &b_rho);
1057 fChain->SetBranchAddress("rho25", &rho25, &b_rho25);
1058 fChain->SetBranchAddress("nPVs", &nPVs, &b_nPVs);
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);
1072 fChain->SetBranchAddress("jetPt_minDeltaPhijetMET", &jetPt_minDeltaPhijetMET, &b_jetPt_minDeltaPhijetMET);
1073 fChain->SetBranchAddress("triggerFlags", triggerFlags, &b_triggerFlags);
1074 fChain->SetBranchAddress("EVENT", &EVENT_run, &b_EVENT);
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);
1084 fChain->SetBranchAddress("btag2CSF", &btag2CSF, &b_btag2CSF);
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
1106 Bool_t ntupleLoader::Notify()
1107 {
1108 // The Notify() function is called when a new file is opened. This
1109 // can be either for a new TTree in a TChain or when when a new TTree
1110 // is started when using PROOF. It is normally not necessary to make changes
1111 // to the generated code, but the routine can be extended by the
1112 // user if needed. The return value is currently not used.
1113
1114 return kTRUE;
1115 }
1116
1117 void ntupleLoader::Show(Long64_t entry)
1118 {
1119 // Print contents of entry.
1120 // If entry is not specified, print current entry
1121 if (!fChain) return;
1122 fChain->Show(entry);
1123 }
1124 Int_t ntupleLoader::Cut(Long64_t entry)
1125 {
1126 // This function may be called from Loop.
1127 // returns 1 if entry is accepted.
1128 // returns -1 otherwise.
1129 return 1;
1130 }
1131 #endif // #ifdef ntupleLoader_cxx