1 |
|
////////////////////////////////////////////////////////// |
2 |
|
// This class has been automatically generated on |
3 |
< |
// Tue May 8 10:50:00 2012 by ROOT version 5.30/02 |
3 |
> |
// Thu Jun 14 17:42:52 2012 by ROOT version 5.32/00 |
4 |
|
// from TTree tree/myTree |
5 |
< |
// found on file: ZllH.May5Reg.ZH_ZToLL_HToBB_M-100_7TeV-powheg-herwigpp.root |
5 |
> |
// found on file: ZllH.Jun14.DYJetsToLL_PtZ-70To100_TuneZ2star_8TeV-madgraph-tarball.root |
6 |
|
////////////////////////////////////////////////////////// |
7 |
|
|
8 |
|
#ifndef ntupleLoader_hpp |
11 |
|
#include <TROOT.h> |
12 |
|
#include <TChain.h> |
13 |
|
#include <TFile.h> |
14 |
+ |
#include "../data/Btag/BTagReshaping.h" |
15 |
|
|
16 |
|
class ntupleLoader { |
17 |
|
public : |
18 |
|
TTree * tree; |
19 |
+ |
|
20 |
+ |
BTagShapeInterface reshape; |
21 |
+ |
BTagShapeInterface reshape_bTagUp; |
22 |
+ |
BTagShapeInterface reshape_bTagDown; |
23 |
+ |
BTagShapeInterface reshape_misTagUp; |
24 |
+ |
BTagShapeInterface reshape_misTagDown; |
25 |
+ |
|
26 |
|
TTree *fChain; //!pointer to the analyzed TTree or TChain |
27 |
|
Int_t fCurrent; //!current Tree number in a TChain |
28 |
|
|
29 |
+ |
|
30 |
|
// Declaration of leaf types |
31 |
|
Int_t H_HiggsFlag; |
32 |
|
Float_t H_mass; |
50 |
|
Float_t FatH_filteredeta; |
51 |
|
Float_t FatH_filteredphi; |
52 |
|
Float_t lheV_pt; |
53 |
+ |
Float_t lheHT; |
54 |
+ |
Float_t lheNj; |
55 |
|
Float_t genZ_mass; |
56 |
|
Float_t genZ_pt; |
57 |
|
Float_t genZ_eta; |
145 |
|
Float_t hJet_phi[2]; //[nhJets] |
146 |
|
Float_t hJet_e[2]; //[nhJets] |
147 |
|
Float_t hJet_csv[2]; //[nhJets] |
148 |
+ |
Float_t hJet_csv_nominal[2]; //[nhJets] |
149 |
+ |
Float_t hJet_csv_upBC[2]; //[nhJets] |
150 |
+ |
Float_t hJet_csv_downBC[2]; //[nhJets] |
151 |
+ |
Float_t hJet_csv_upL[2]; //[nhJets] |
152 |
+ |
Float_t hJet_csv_downL[2]; //[nhJets] |
153 |
|
Float_t hJet_csvivf[2]; //[nhJets] |
154 |
|
Float_t hJet_cmva[2]; //[nhJets] |
155 |
|
Float_t hJet_cosTheta[2]; //[nhJets] |
190 |
|
UChar_t hJet_SF_CSVTerr[2]; //[nhJets] |
191 |
|
Float_t hJet_ptRaw[2]; //[nhJets] |
192 |
|
Float_t hJet_ptLeadTrack[2]; //[nhJets] |
193 |
< |
Float_t hJet_AnglePVtoSVmom[2]; //[nhJets] |
194 |
< |
Float_t hJet_AnglePVtoJetmom[2]; //[nhJets] |
193 |
> |
Float_t hJet_puJetIdL[2]; //[nhJets] |
194 |
> |
Float_t hJet_puJetIdM[2]; //[nhJets] |
195 |
> |
Float_t hJet_puJetIdT[2]; //[nhJets] |
196 |
> |
Float_t hJet_puJetIdMva[2]; //[nhJets] |
197 |
|
Float_t fathFilterJets_pt[3]; //[nfathFilterJets] |
198 |
|
Float_t fathFilterJets_eta[3]; //[nfathFilterJets] |
199 |
|
Float_t fathFilterJets_phi[3]; //[nfathFilterJets] |
215 |
|
Float_t fathFilterJets_vtxEta[3]; //[nfathFilterJets] |
216 |
|
Float_t fathFilterJets_vtxPhi[3]; //[nfathFilterJets] |
217 |
|
Float_t fathFilterJets_vtxE[3]; //[nfathFilterJets] |
200 |
– |
Float_t fathFilterJets_AnglePVtoSVmom[3]; //[nfathFilterJets] |
201 |
– |
Float_t fathFilterJets_AnglePVtoJetmom[3]; //[nfathFilterJets] |
218 |
|
Float_t fathFilterJets_csvivf[3]; //[nfathFilterJets] |
219 |
|
Float_t fathFilterJets_cmva[3]; //[nfathFilterJets] |
220 |
< |
Float_t aJet_pt[11]; //[naJets] |
221 |
< |
Float_t aJet_eta[11]; //[naJets] |
222 |
< |
Float_t aJet_phi[11]; //[naJets] |
223 |
< |
Float_t aJet_e[11]; //[naJets] |
224 |
< |
Float_t aJet_csv[11]; //[naJets] |
225 |
< |
Float_t aJet_csvivf[11]; //[naJets] |
226 |
< |
Float_t aJet_cmva[11]; //[naJets] |
227 |
< |
Float_t aJet_cosTheta[11]; //[naJets] |
228 |
< |
Int_t aJet_numTracksSV[11]; //[naJets] |
229 |
< |
Float_t aJet_chf[11]; //[naJets] |
230 |
< |
Float_t aJet_nhf[11]; //[naJets] |
231 |
< |
Float_t aJet_cef[11]; //[naJets] |
232 |
< |
Float_t aJet_nef[11]; //[naJets] |
233 |
< |
Float_t aJet_nch[11]; //[naJets] |
234 |
< |
Float_t aJet_nconstituents[11]; //[naJets] |
235 |
< |
Float_t aJet_flavour[11]; //[naJets] |
236 |
< |
Int_t aJet_isSemiLept[11]; //[naJets] |
237 |
< |
Int_t aJet_isSemiLeptMCtruth[11]; //[naJets] |
238 |
< |
Int_t aJet_SoftLeptpdgId[11]; //[naJets] |
239 |
< |
Int_t aJet_SoftLeptIdlooseMu[11]; //[naJets] |
240 |
< |
Int_t aJet_SoftLeptId95[11]; //[naJets] |
241 |
< |
Float_t aJet_SoftLeptPt[11]; //[naJets] |
242 |
< |
Float_t aJet_SoftLeptdR[11]; //[naJets] |
243 |
< |
Float_t aJet_SoftLeptptRel[11]; //[naJets] |
244 |
< |
Float_t aJet_SoftLeptRelCombIso[11]; //[naJets] |
245 |
< |
Float_t aJet_genPt[11]; //[naJets] |
246 |
< |
Float_t aJet_genEta[11]; //[naJets] |
247 |
< |
Float_t aJet_genPhi[11]; //[naJets] |
248 |
< |
Float_t aJet_JECUnc[11]; //[naJets] |
249 |
< |
Float_t aJet_vtxMass[11]; //[naJets] |
250 |
< |
Float_t aJet_vtx3dL[11]; //[naJets] |
251 |
< |
Float_t aJet_vtx3deL[11]; //[naJets] |
252 |
< |
UChar_t aJet_id[11]; //[naJets] |
253 |
< |
UChar_t aJet_SF_CSVL[11]; //[naJets] |
254 |
< |
UChar_t aJet_SF_CSVM[11]; //[naJets] |
255 |
< |
UChar_t aJet_SF_CSVT[11]; //[naJets] |
256 |
< |
UChar_t aJet_SF_CSVLerr[11]; //[naJets] |
257 |
< |
UChar_t aJet_SF_CSVMerr[11]; //[naJets] |
258 |
< |
UChar_t aJet_SF_CSVTerr[11]; //[naJets] |
220 |
> |
Float_t fathFilterJets_AnglePVtoSVmom[3]; //! |
221 |
> |
Float_t fathFilterJets_AnglePVtoJetmom[3]; //! |
222 |
> |
Float_t aJet_pt[19]; //[naJets] |
223 |
> |
Float_t aJet_eta[19]; //[naJets] |
224 |
> |
Float_t aJet_phi[19]; //[naJets] |
225 |
> |
Float_t aJet_e[19]; //[naJets] |
226 |
> |
Float_t aJet_csv[19]; //[naJets] |
227 |
> |
Float_t aJet_csv_nominal[19]; //[naJets] |
228 |
> |
Float_t aJet_csv_upBC[19]; //[naJets] |
229 |
> |
Float_t aJet_csv_downBC[19]; //[naJets] |
230 |
> |
Float_t aJet_csv_upL[19]; //[naJets] |
231 |
> |
Float_t aJet_csv_downL[19]; //[naJets] |
232 |
> |
Float_t aJet_csvivf[19]; //[naJets] |
233 |
> |
Float_t aJet_cmva[19]; //[naJets] |
234 |
> |
Float_t aJet_cosTheta[19]; //[naJets] |
235 |
> |
Int_t aJet_numTracksSV[19]; //[naJets] |
236 |
> |
Float_t aJet_chf[19]; //[naJets] |
237 |
> |
Float_t aJet_nhf[19]; //[naJets] |
238 |
> |
Float_t aJet_cef[19]; //[naJets] |
239 |
> |
Float_t aJet_nef[19]; //[naJets] |
240 |
> |
Float_t aJet_nch[19]; //[naJets] |
241 |
> |
Float_t aJet_nconstituents[19]; //[naJets] |
242 |
> |
Float_t aJet_flavour[19]; //[naJets] |
243 |
> |
Int_t aJet_isSemiLept[19]; //[naJets] |
244 |
> |
Int_t aJet_isSemiLeptMCtruth[19]; //[naJets] |
245 |
> |
Int_t aJet_SoftLeptpdgId[19]; //[naJets] |
246 |
> |
Int_t aJet_SoftLeptIdlooseMu[19]; //[naJets] |
247 |
> |
Int_t aJet_SoftLeptId95[19]; //[naJets] |
248 |
> |
Float_t aJet_SoftLeptPt[19]; //[naJets] |
249 |
> |
Float_t aJet_SoftLeptdR[19]; //[naJets] |
250 |
> |
Float_t aJet_SoftLeptptRel[19]; //[naJets] |
251 |
> |
Float_t aJet_SoftLeptRelCombIso[19]; //[naJets] |
252 |
> |
Float_t aJet_puJetIdL[19]; //[naJets] |
253 |
> |
Float_t aJet_puJetIdM[19]; //[naJets] |
254 |
> |
Float_t aJet_puJetIdT[19]; //[naJets] |
255 |
> |
Float_t aJet_puJetIdMva[19]; //[naJets] |
256 |
> |
Float_t aJet_genPt[19]; //[naJets] |
257 |
> |
Float_t aJet_genEta[19]; //[naJets] |
258 |
> |
Float_t aJet_genPhi[19]; //[naJets] |
259 |
> |
Float_t aJet_JECUnc[19]; //[naJets] |
260 |
> |
Float_t aJet_vtxMass[19]; //[naJets] |
261 |
> |
Float_t aJet_vtx3dL[19]; //[naJets] |
262 |
> |
Float_t aJet_vtx3deL[19]; //[naJets] |
263 |
> |
UChar_t aJet_id[19]; //[naJets] |
264 |
> |
UChar_t aJet_SF_CSVL[19]; //[naJets] |
265 |
> |
UChar_t aJet_SF_CSVM[19]; //[naJets] |
266 |
> |
UChar_t aJet_SF_CSVT[19]; //[naJets] |
267 |
> |
UChar_t aJet_SF_CSVLerr[19]; //[naJets] |
268 |
> |
UChar_t aJet_SF_CSVMerr[19]; //[naJets] |
269 |
> |
UChar_t aJet_SF_CSVTerr[19]; //[naJets] |
270 |
|
Int_t naJetsFat; |
271 |
< |
Float_t aJetFat_pt[11]; //[naJetsFat] |
272 |
< |
Float_t aJetFat_eta[11]; //[naJetsFat] |
273 |
< |
Float_t aJetFat_phi[11]; //[naJetsFat] |
274 |
< |
Float_t aJetFat_e[11]; //[naJetsFat] |
275 |
< |
Float_t aJetFat_csv[11]; //[naJetsFat] |
271 |
> |
Float_t aJetFat_pt[16]; //[naJetsFat] |
272 |
> |
Float_t aJetFat_eta[16]; //[naJetsFat] |
273 |
> |
Float_t aJetFat_phi[16]; //[naJetsFat] |
274 |
> |
Float_t aJetFat_e[16]; //[naJetsFat] |
275 |
> |
Float_t aJetFat_csv[16]; //[naJetsFat] |
276 |
|
Int_t numJets; |
277 |
|
Int_t numBJets; |
278 |
|
Float_t deltaPullAngle; |
282 |
|
Float_t genZpt; |
283 |
|
Float_t genWpt; |
284 |
|
Float_t genHpt; |
285 |
+ |
Float_t lheWeight; |
286 |
|
Float_t weightTrig; |
287 |
|
Float_t weightTrigMay; |
288 |
|
Float_t weightTrigV4; |
299 |
|
Float_t weightTrigMET802CJet; |
300 |
|
Float_t weightTrigMET1002CJet; |
301 |
|
Float_t weightTrigMETLP; |
302 |
+ |
Float_t weightTrig2012A; |
303 |
+ |
Float_t weightTrig2012ADiMuon; |
304 |
+ |
Float_t weightTrig2012ADiEle; |
305 |
+ |
Float_t weightTrig2012ASingleMuon; |
306 |
+ |
Float_t weightTrig2012ASingleEle; |
307 |
+ |
Float_t weightTrig2012AMuonPlusWCandPt; |
308 |
+ |
Float_t weightTrig2012DiJet30MHT80; |
309 |
+ |
Float_t weightTrig2012PFMET150; |
310 |
+ |
Float_t weightTrig2012SumpT100MET100; |
311 |
|
Float_t deltaPullAngleAK7; |
312 |
|
Float_t deltaPullAngle2AK7; |
313 |
|
Float_t PU0; |
315 |
|
Float_t PUp1; |
316 |
|
Float_t PUweight; |
317 |
|
Float_t PUweight2011B; |
318 |
+ |
Float_t PUweight1DObs; |
319 |
|
Int_t eventFlav; |
320 |
|
Int_t Vtype; |
321 |
|
Float_t HVdPhi; |
346 |
|
Float_t vLepton_genEta[2]; //[nvlep] |
347 |
|
Float_t vLepton_genPhi[2]; //[nvlep] |
348 |
|
Float_t vLepton_charge[2]; //[nvlep] |
349 |
< |
Float_t aLepton_mass[3]; //[nalep] |
350 |
< |
Float_t aLepton_pt[3]; //[nalep] |
351 |
< |
Float_t aLepton_eta[3]; //[nalep] |
352 |
< |
Float_t aLepton_phi[3]; //[nalep] |
353 |
< |
Float_t aLepton_aodCombRelIso[3]; //[nalep] |
354 |
< |
Float_t aLepton_pfCombRelIso[3]; //[nalep] |
355 |
< |
Float_t aLepton_photonIso[3]; //[nalep] |
356 |
< |
Float_t aLepton_neutralHadIso[3]; //[nalep] |
357 |
< |
Float_t aLepton_chargedHadIso[3]; //[nalep] |
358 |
< |
Float_t aLepton_chargedPUIso[3]; //[nalep] |
359 |
< |
Float_t aLepton_particleIso[3]; //[nalep] |
360 |
< |
Float_t aLepton_dxy[3]; //[nalep] |
361 |
< |
Float_t aLepton_dz[3]; //[nalep] |
362 |
< |
Int_t aLepton_type[3]; //[nalep] |
363 |
< |
Float_t aLepton_id80[3]; //[nalep] |
364 |
< |
Float_t aLepton_id95[3]; //[nalep] |
365 |
< |
Float_t aLepton_vbtf[3]; //[nalep] |
366 |
< |
Float_t aLepton_id80NoIso[3]; //[nalep] |
367 |
< |
Float_t aLepton_genPt[3]; //[nalep] |
368 |
< |
Float_t aLepton_genEta[3]; //[nalep] |
369 |
< |
Float_t aLepton_genPhi[3]; //[nalep] |
370 |
< |
Float_t aLepton_charge[3]; //[nalep] |
349 |
> |
Float_t vLepton_pfCorrIso[2]; //[nvlep] |
350 |
> |
Float_t vLepton_id2012tight[2]; //[nvlep] |
351 |
> |
Float_t vLepton_idMVAnotrig[2]; //[nvlep] |
352 |
> |
Float_t vLepton_idMVAtrig[2]; //[nvlep] |
353 |
> |
Float_t vLepton_idMVApresel[2]; //[nvlep] |
354 |
> |
Float_t vLepton_innerHits[2]; //[nvlep] |
355 |
> |
Float_t vLepton_photonIsoDoubleCount[2]; //[nvlep] |
356 |
> |
Float_t vLepton_wpHWW[2]; //[nvlep] |
357 |
> |
Float_t vLepton_wp95[2]; //[nvlep] |
358 |
> |
Float_t vLepton_wp90[2]; //[nvlep] |
359 |
> |
Float_t vLepton_wp85[2]; //[nvlep] |
360 |
> |
Float_t vLepton_wp80[2]; //[nvlep] |
361 |
> |
Float_t vLepton_wp70[2]; //[nvlep] |
362 |
> |
Float_t aLepton_mass[55]; //[nalep] |
363 |
> |
Float_t aLepton_pt[55]; //[nalep] |
364 |
> |
Float_t aLepton_eta[55]; //[nalep] |
365 |
> |
Float_t aLepton_phi[55]; //[nalep] |
366 |
> |
Float_t aLepton_aodCombRelIso[55]; //[nalep] |
367 |
> |
Float_t aLepton_pfCombRelIso[55]; //[nalep] |
368 |
> |
Float_t aLepton_photonIso[55]; //[nalep] |
369 |
> |
Float_t aLepton_neutralHadIso[55]; //[nalep] |
370 |
> |
Float_t aLepton_chargedHadIso[55]; //[nalep] |
371 |
> |
Float_t aLepton_chargedPUIso[55]; //[nalep] |
372 |
> |
Float_t aLepton_particleIso[55]; //[nalep] |
373 |
> |
Float_t aLepton_dxy[55]; //[nalep] |
374 |
> |
Float_t aLepton_dz[55]; //[nalep] |
375 |
> |
Int_t aLepton_type[55]; //[nalep] |
376 |
> |
Float_t aLepton_id80[55]; //[nalep] |
377 |
> |
Float_t aLepton_id95[55]; //[nalep] |
378 |
> |
Float_t aLepton_vbtf[55]; //[nalep] |
379 |
> |
Float_t aLepton_id80NoIso[55]; //[nalep] |
380 |
> |
Float_t aLepton_genPt[55]; //[nalep] |
381 |
> |
Float_t aLepton_genEta[55]; //[nalep] |
382 |
> |
Float_t aLepton_genPhi[55]; //[nalep] |
383 |
> |
Float_t aLepton_charge[55]; //[nalep] |
384 |
> |
Float_t aLepton_pfCorrIso[55]; //[nalep] |
385 |
> |
Float_t aLepton_id2012tight[55]; //[nalep] |
386 |
> |
Float_t aLepton_idMVAnotrig[55]; //[nalep] |
387 |
> |
Float_t aLepton_idMVAtrig[55]; //[nalep] |
388 |
> |
Float_t aLepton_idMVApresel[55]; //[nalep] |
389 |
> |
Float_t aLepton_innerHits[55]; //[nalep] |
390 |
> |
Float_t aLepton_photonIsoDoubleCount[55]; //[nalep] |
391 |
> |
Float_t aLepton_wpHWW[55]; //[nalep] |
392 |
> |
Float_t aLepton_wp95[55]; //[nalep] |
393 |
> |
Float_t aLepton_wp90[55]; //[nalep] |
394 |
> |
Float_t aLepton_wp85[55]; //[nalep] |
395 |
> |
Float_t aLepton_wp80[55]; //[nalep] |
396 |
> |
Float_t aLepton_wp70[55]; //[nalep] |
397 |
|
Float_t top_mass; |
398 |
|
Float_t top_pt; |
399 |
|
Float_t top_wMass; |
400 |
|
Int_t WplusMode; |
401 |
|
Int_t WminusMode; |
402 |
|
Int_t nSvs; |
403 |
< |
Float_t Sv_massBCand[5]; //[nSvs] |
404 |
< |
Float_t Sv_massSv[5]; //[nSvs] |
405 |
< |
Float_t Sv_pt[5]; //[nSvs] |
406 |
< |
Float_t Sv_eta[5]; //[nSvs] |
407 |
< |
Float_t Sv_phi[5]; //[nSvs] |
408 |
< |
Float_t Sv_dist3D[5]; //[nSvs] |
409 |
< |
Float_t Sv_dist2D[5]; //[nSvs] |
410 |
< |
Float_t Sv_distSim2D[5]; //[nSvs] |
411 |
< |
Float_t Sv_distSig3D[5]; //[nSvs] |
412 |
< |
Float_t Sv_dist3D_norm[5]; //[nSvs] |
403 |
> |
Float_t Sv_massBCand[4]; //[nSvs] |
404 |
> |
Float_t Sv_massSv[4]; //[nSvs] |
405 |
> |
Float_t Sv_pt[4]; //[nSvs] |
406 |
> |
Float_t Sv_eta[4]; //[nSvs] |
407 |
> |
Float_t Sv_phi[4]; //[nSvs] |
408 |
> |
Float_t Sv_dist3D[4]; //[nSvs] |
409 |
> |
Float_t Sv_dist2D[4]; //[nSvs] |
410 |
> |
Float_t Sv_distSim2D[4]; //[nSvs] |
411 |
> |
Float_t Sv_distSig3D[4]; //[nSvs] |
412 |
> |
Float_t Sv_dist3D_norm[4]; //[nSvs] |
413 |
|
Float_t SVH_mass; |
414 |
|
Float_t SVH_pt; |
415 |
|
Float_t SVH_eta; |
436 |
|
Float_t SimBsH_dEta; |
437 |
|
Float_t rho; |
438 |
|
Float_t rho25; |
439 |
+ |
Float_t rhoN; |
440 |
|
Int_t nPVs; |
441 |
|
Float_t METnoPU_et; |
442 |
|
Float_t METnoPU_sumet; |
479 |
|
Float_t MHT_phi; |
480 |
|
Float_t minDeltaPhijetMET; |
481 |
|
Float_t jetPt_minDeltaPhijetMET; |
482 |
< |
UChar_t triggerFlags[39]; |
482 |
> |
UChar_t triggerFlags[50]; |
483 |
|
Int_t EVENT_run; |
484 |
|
Int_t EVENT_lumi; |
485 |
|
Int_t EVENT_event; |
518 |
|
TBranch *b_V; //! |
519 |
|
TBranch *b_FatH; //! |
520 |
|
TBranch *b_lheV_pt; //! |
521 |
+ |
TBranch *b_lheHT; //! |
522 |
+ |
TBranch *b_lheNj; //! |
523 |
|
TBranch *b_genZ; //! |
524 |
|
TBranch *b_genZstar; //! |
525 |
|
TBranch *b_genW; //! |
538 |
|
TBranch *b_hJet_phi; //! |
539 |
|
TBranch *b_hJet_e; //! |
540 |
|
TBranch *b_hJet_csv; //! |
541 |
+ |
TBranch *b_hJet_csv_nominal; //! |
542 |
+ |
TBranch *b_hJet_csv_upBC; //! |
543 |
+ |
TBranch *b_hJet_csv_downBC; //! |
544 |
+ |
TBranch *b_hJet_csv_upL; //! |
545 |
+ |
TBranch *b_hJet_csv_downL; //! |
546 |
|
TBranch *b_hJet_csvivf; //! |
547 |
|
TBranch *b_hJet_cmva; //! |
548 |
|
TBranch *b_hJet_cosTheta; //! |
583 |
|
TBranch *b_hJet_SF_CSVTerr; //! |
584 |
|
TBranch *b_hJet_ptRaw; //! |
585 |
|
TBranch *b_hJet_ptLeadTrack; //! |
586 |
< |
TBranch *b_hJet_AnglePVtoSVmom; //! |
587 |
< |
TBranch *b_hJet_AnglePVtoJetmom; //! |
586 |
> |
TBranch *b_hJet_puJetIdL; //! |
587 |
> |
TBranch *b_hJet_puJetIdM; //! |
588 |
> |
TBranch *b_hJet_puJetIdT; //! |
589 |
> |
TBranch *b_hJet_puJetIdMva; //! |
590 |
|
TBranch *b_fathFilterJets_pt; //! |
591 |
|
TBranch *b_fathFilterJets_eta; //! |
592 |
|
TBranch *b_fathFilterJets_phi; //! |
617 |
|
TBranch *b_aJet_phi; //! |
618 |
|
TBranch *b_aJet_e; //! |
619 |
|
TBranch *b_aJet_csv; //! |
620 |
+ |
TBranch *b_aJet_csv_nominal; //! |
621 |
+ |
TBranch *b_aJet_csv_upBC; //! |
622 |
+ |
TBranch *b_aJet_csv_downBC; //! |
623 |
+ |
TBranch *b_aJet_csv_upL; //! |
624 |
+ |
TBranch *b_aJet_csv_downL; //! |
625 |
|
TBranch *b_aJet_csvivf; //! |
626 |
|
TBranch *b_aJet_cmva; //! |
627 |
|
TBranch *b_aJet_cosTheta; //! |
642 |
|
TBranch *b_aJet_SoftLeptdR; //! |
643 |
|
TBranch *b_aJet_SoftLeptptRel; //! |
644 |
|
TBranch *b_aJet_SoftLeptRelCombIso; //! |
645 |
+ |
TBranch *b_aJet_puJetIdL; //! |
646 |
+ |
TBranch *b_aJet_puJetIdM; //! |
647 |
+ |
TBranch *b_aJet_puJetIdT; //! |
648 |
+ |
TBranch *b_aJet_puJetIdMva; //! |
649 |
|
TBranch *b_aJet_genPt; //! |
650 |
|
TBranch *b_aJet_genEta; //! |
651 |
|
TBranch *b_aJet_genPhi; //! |
675 |
|
TBranch *b_genZpt; //! |
676 |
|
TBranch *b_genWpt; //! |
677 |
|
TBranch *b_genHpt; //! |
678 |
+ |
TBranch *b_lheWeight; //! |
679 |
|
TBranch *b_weightTrig; //! |
680 |
|
TBranch *b_weightTrigMay; //! |
681 |
|
TBranch *b_weightTrigV4; //! |
692 |
|
TBranch *b_weightTrigMET802CJet; //! |
693 |
|
TBranch *b_weightTrigMET1002CJet; //! |
694 |
|
TBranch *b_weightTrigMETLP; //! |
695 |
+ |
TBranch *b_weightTrig2012A; //! |
696 |
+ |
TBranch *b_weightTrig2012ADiMuon; //! |
697 |
+ |
TBranch *b_weightTrig2012ADiEle; //! |
698 |
+ |
TBranch *b_weightTrig2012ASingleMuon; //! |
699 |
+ |
TBranch *b_weightTrig2012ASingleEle; //! |
700 |
+ |
TBranch *b_weightTrig2012AMuonPlusWCandPt; //! |
701 |
+ |
TBranch *b_weightTrig2012DiJet30MHT80; //! |
702 |
+ |
TBranch *b_weightTrig2012PFMET150; //! |
703 |
+ |
TBranch *b_weightTrig2012SumpT100MET100; //! |
704 |
|
TBranch *b_deltaPullAngleAK7; //! |
705 |
|
TBranch *b_deltaPullAngle2AK7; //! |
706 |
|
TBranch *b_PU0; //! |
708 |
|
TBranch *b_PUp1; //! |
709 |
|
TBranch *b_PUweight; //! |
710 |
|
TBranch *b_PUweight2011B; //! |
711 |
+ |
TBranch *b_PUweight1DObs; //! |
712 |
|
TBranch *b_eventFlav; //! |
713 |
|
TBranch *b_Vtype; //! |
714 |
|
TBranch *b_HVdPhi; //! |
739 |
|
TBranch *b_vLepton_genEta; //! |
740 |
|
TBranch *b_vLepton_genPhi; //! |
741 |
|
TBranch *b_vLepton_charge; //! |
742 |
+ |
TBranch *b_vLepton_pfCorrIso; //! |
743 |
+ |
TBranch *b_vLepton_id2012tight; //! |
744 |
+ |
TBranch *b_vLepton_idMVAnotrig; //! |
745 |
+ |
TBranch *b_vLepton_idMVAtrig; //! |
746 |
+ |
TBranch *b_vLepton_idMVApresel; //! |
747 |
+ |
TBranch *b_vLepton_innerHits; //! |
748 |
+ |
TBranch *b_vLepton_photonIsoDoubleCount; //! |
749 |
+ |
TBranch *b_vLepton_wpHWW; //! |
750 |
+ |
TBranch *b_vLepton_wp95; //! |
751 |
+ |
TBranch *b_vLepton_wp90; //! |
752 |
+ |
TBranch *b_vLepton_wp85; //! |
753 |
+ |
TBranch *b_vLepton_wp80; //! |
754 |
+ |
TBranch *b_vLepton_wp70; //! |
755 |
|
TBranch *b_aLepton_mass; //! |
756 |
|
TBranch *b_aLepton_pt; //! |
757 |
|
TBranch *b_aLepton_eta; //! |
774 |
|
TBranch *b_aLepton_genEta; //! |
775 |
|
TBranch *b_aLepton_genPhi; //! |
776 |
|
TBranch *b_aLepton_charge; //! |
777 |
+ |
TBranch *b_aLepton_pfCorrIso; //! |
778 |
+ |
TBranch *b_aLepton_id2012tight; //! |
779 |
+ |
TBranch *b_aLepton_idMVAnotrig; //! |
780 |
+ |
TBranch *b_aLepton_idMVAtrig; //! |
781 |
+ |
TBranch *b_aLepton_idMVApresel; //! |
782 |
+ |
TBranch *b_aLepton_innerHits; //! |
783 |
+ |
TBranch *b_aLepton_photonIsoDoubleCount; //! |
784 |
+ |
TBranch *b_aLepton_wpHWW; //! |
785 |
+ |
TBranch *b_aLepton_wp95; //! |
786 |
+ |
TBranch *b_aLepton_wp90; //! |
787 |
+ |
TBranch *b_aLepton_wp85; //! |
788 |
+ |
TBranch *b_aLepton_wp80; //! |
789 |
+ |
TBranch *b_aLepton_wp70; //! |
790 |
|
TBranch *b_top; //! |
791 |
|
TBranch *b_WplusMode; //! |
792 |
|
TBranch *b_WminusMode; //! |
815 |
|
TBranch *b_SimBsH; //! |
816 |
|
TBranch *b_rho; //! |
817 |
|
TBranch *b_rho25; //! |
818 |
+ |
TBranch *b_rhoN; //! |
819 |
|
TBranch *b_nPVs; //! |
820 |
|
TBranch *b_METnoPU; //! |
821 |
|
TBranch *b_METnoPUCh; //! |
873 |
|
}; |
874 |
|
|
875 |
|
|
876 |
< |
ntupleLoader::ntupleLoader(const char * infile) |
876 |
> |
ntupleLoader::ntupleLoader(const char * infile): |
877 |
> |
reshape("../data/csvdiscr.root",0,0), |
878 |
> |
reshape_bTagUp("../data/csvdiscr.root",1,0), |
879 |
> |
reshape_bTagDown("../data/csvdiscr.root",-1,0), |
880 |
> |
reshape_misTagUp("../data/csvdiscr.root",0,1), |
881 |
> |
reshape_misTagDown("../data/csvdiscr.root",0,-1) |
882 |
|
{ |
883 |
|
// if parameter tree is not specified (or zero), connect the file |
884 |
|
// used to generate this class and read the Tree. |
892 |
|
|
893 |
|
} |
894 |
|
Init(tree); |
895 |
+ |
|
896 |
+ |
// //for the reshaping |
897 |
+ |
// BTagShapeInterface btagSh("../data/csvdisc.root",0,0); |
898 |
+ |
// sh = btagSh; |
899 |
+ |
|
900 |
|
} |
901 |
|
|
902 |
|
ntupleLoader::~ntupleLoader() |
944 |
|
fChain->SetBranchAddress("V", &V_mass, &b_V); |
945 |
|
fChain->SetBranchAddress("FatH", &FatH_FatHiggsFlag, &b_FatH); |
946 |
|
fChain->SetBranchAddress("lheV_pt", &lheV_pt, &b_lheV_pt); |
947 |
+ |
fChain->SetBranchAddress("lheHT", &lheHT, &b_lheHT); |
948 |
+ |
fChain->SetBranchAddress("lheNj", &lheNj, &b_lheNj); |
949 |
|
fChain->SetBranchAddress("genZ", &genZ_mass, &b_genZ); |
950 |
|
fChain->SetBranchAddress("genZstar", &genZstar_mass, &b_genZstar); |
951 |
|
fChain->SetBranchAddress("genW", &genW_mass, &b_genW); |
964 |
|
fChain->SetBranchAddress("hJet_phi", hJet_phi, &b_hJet_phi); |
965 |
|
fChain->SetBranchAddress("hJet_e", hJet_e, &b_hJet_e); |
966 |
|
fChain->SetBranchAddress("hJet_csv", hJet_csv, &b_hJet_csv); |
967 |
+ |
fChain->SetBranchAddress("hJet_csv_nominal", hJet_csv_nominal, &b_hJet_csv_nominal); |
968 |
+ |
fChain->SetBranchAddress("hJet_csv_upBC", hJet_csv_upBC, &b_hJet_csv_upBC); |
969 |
+ |
fChain->SetBranchAddress("hJet_csv_downBC", hJet_csv_downBC, &b_hJet_csv_downBC); |
970 |
+ |
fChain->SetBranchAddress("hJet_csv_upL", hJet_csv_upL, &b_hJet_csv_upL); |
971 |
+ |
fChain->SetBranchAddress("hJet_csv_downL", hJet_csv_downL, &b_hJet_csv_downL); |
972 |
|
fChain->SetBranchAddress("hJet_csvivf", hJet_csvivf, &b_hJet_csvivf); |
973 |
|
fChain->SetBranchAddress("hJet_cmva", hJet_cmva, &b_hJet_cmva); |
974 |
|
fChain->SetBranchAddress("hJet_cosTheta", hJet_cosTheta, &b_hJet_cosTheta); |
1009 |
|
fChain->SetBranchAddress("hJet_SF_CSVTerr", hJet_SF_CSVTerr, &b_hJet_SF_CSVTerr); |
1010 |
|
fChain->SetBranchAddress("hJet_ptRaw", hJet_ptRaw, &b_hJet_ptRaw); |
1011 |
|
fChain->SetBranchAddress("hJet_ptLeadTrack", hJet_ptLeadTrack, &b_hJet_ptLeadTrack); |
1012 |
< |
fChain->SetBranchAddress("hJet_AnglePVtoSVmom", hJet_AnglePVtoSVmom, &b_hJet_AnglePVtoSVmom); |
1013 |
< |
fChain->SetBranchAddress("hJet_AnglePVtoJetmom", hJet_AnglePVtoJetmom, &b_hJet_AnglePVtoJetmom); |
1012 |
> |
fChain->SetBranchAddress("hJet_puJetIdL", hJet_puJetIdL, &b_hJet_puJetIdL); |
1013 |
> |
fChain->SetBranchAddress("hJet_puJetIdM", hJet_puJetIdM, &b_hJet_puJetIdM); |
1014 |
> |
fChain->SetBranchAddress("hJet_puJetIdT", hJet_puJetIdT, &b_hJet_puJetIdT); |
1015 |
> |
fChain->SetBranchAddress("hJet_puJetIdMva", hJet_puJetIdMva, &b_hJet_puJetIdMva); |
1016 |
|
fChain->SetBranchAddress("fathFilterJets_pt", fathFilterJets_pt, &b_fathFilterJets_pt); |
1017 |
|
fChain->SetBranchAddress("fathFilterJets_eta", fathFilterJets_eta, &b_fathFilterJets_eta); |
1018 |
|
fChain->SetBranchAddress("fathFilterJets_phi", fathFilterJets_phi, &b_fathFilterJets_phi); |
1043 |
|
fChain->SetBranchAddress("aJet_phi", aJet_phi, &b_aJet_phi); |
1044 |
|
fChain->SetBranchAddress("aJet_e", aJet_e, &b_aJet_e); |
1045 |
|
fChain->SetBranchAddress("aJet_csv", aJet_csv, &b_aJet_csv); |
1046 |
+ |
fChain->SetBranchAddress("aJet_csv_nominal", aJet_csv_nominal, &b_aJet_csv_nominal); |
1047 |
+ |
fChain->SetBranchAddress("aJet_csv_upBC", aJet_csv_upBC, &b_aJet_csv_upBC); |
1048 |
+ |
fChain->SetBranchAddress("aJet_csv_downBC", aJet_csv_downBC, &b_aJet_csv_downBC); |
1049 |
+ |
fChain->SetBranchAddress("aJet_csv_upL", aJet_csv_upL, &b_aJet_csv_upL); |
1050 |
+ |
fChain->SetBranchAddress("aJet_csv_downL", aJet_csv_downL, &b_aJet_csv_downL); |
1051 |
|
fChain->SetBranchAddress("aJet_csvivf", aJet_csvivf, &b_aJet_csvivf); |
1052 |
|
fChain->SetBranchAddress("aJet_cmva", aJet_cmva, &b_aJet_cmva); |
1053 |
|
fChain->SetBranchAddress("aJet_cosTheta", aJet_cosTheta, &b_aJet_cosTheta); |
1068 |
|
fChain->SetBranchAddress("aJet_SoftLeptdR", aJet_SoftLeptdR, &b_aJet_SoftLeptdR); |
1069 |
|
fChain->SetBranchAddress("aJet_SoftLeptptRel", aJet_SoftLeptptRel, &b_aJet_SoftLeptptRel); |
1070 |
|
fChain->SetBranchAddress("aJet_SoftLeptRelCombIso", aJet_SoftLeptRelCombIso, &b_aJet_SoftLeptRelCombIso); |
1071 |
+ |
fChain->SetBranchAddress("aJet_puJetIdL", aJet_puJetIdL, &b_aJet_puJetIdL); |
1072 |
+ |
fChain->SetBranchAddress("aJet_puJetIdM", aJet_puJetIdM, &b_aJet_puJetIdM); |
1073 |
+ |
fChain->SetBranchAddress("aJet_puJetIdT", aJet_puJetIdT, &b_aJet_puJetIdT); |
1074 |
+ |
fChain->SetBranchAddress("aJet_puJetIdMva", aJet_puJetIdMva, &b_aJet_puJetIdMva); |
1075 |
|
fChain->SetBranchAddress("aJet_genPt", aJet_genPt, &b_aJet_genPt); |
1076 |
|
fChain->SetBranchAddress("aJet_genEta", aJet_genEta, &b_aJet_genEta); |
1077 |
|
fChain->SetBranchAddress("aJet_genPhi", aJet_genPhi, &b_aJet_genPhi); |
1101 |
|
fChain->SetBranchAddress("genZpt", &genZpt, &b_genZpt); |
1102 |
|
fChain->SetBranchAddress("genWpt", &genWpt, &b_genWpt); |
1103 |
|
fChain->SetBranchAddress("genHpt", &genHpt, &b_genHpt); |
1104 |
+ |
fChain->SetBranchAddress("lheWeight", &lheWeight, &b_lheWeight); |
1105 |
|
fChain->SetBranchAddress("weightTrig", &weightTrig, &b_weightTrig); |
1106 |
|
fChain->SetBranchAddress("weightTrigMay", &weightTrigMay, &b_weightTrigMay); |
1107 |
|
fChain->SetBranchAddress("weightTrigV4", &weightTrigV4, &b_weightTrigV4); |
1118 |
|
fChain->SetBranchAddress("weightTrigMET802CJet", &weightTrigMET802CJet, &b_weightTrigMET802CJet); |
1119 |
|
fChain->SetBranchAddress("weightTrigMET1002CJet", &weightTrigMET1002CJet, &b_weightTrigMET1002CJet); |
1120 |
|
fChain->SetBranchAddress("weightTrigMETLP", &weightTrigMETLP, &b_weightTrigMETLP); |
1121 |
+ |
fChain->SetBranchAddress("weightTrig2012A", &weightTrig2012A, &b_weightTrig2012A); |
1122 |
+ |
fChain->SetBranchAddress("weightTrig2012ADiMuon", &weightTrig2012ADiMuon, &b_weightTrig2012ADiMuon); |
1123 |
+ |
fChain->SetBranchAddress("weightTrig2012ADiEle", &weightTrig2012ADiEle, &b_weightTrig2012ADiEle); |
1124 |
+ |
fChain->SetBranchAddress("weightTrig2012ASingleMuon", &weightTrig2012ASingleMuon, &b_weightTrig2012ASingleMuon); |
1125 |
+ |
fChain->SetBranchAddress("weightTrig2012ASingleEle", &weightTrig2012ASingleEle, &b_weightTrig2012ASingleEle); |
1126 |
+ |
fChain->SetBranchAddress("weightTrig2012AMuonPlusWCandPt", &weightTrig2012AMuonPlusWCandPt, &b_weightTrig2012AMuonPlusWCandPt); |
1127 |
+ |
fChain->SetBranchAddress("weightTrig2012DiJet30MHT80", &weightTrig2012DiJet30MHT80, &b_weightTrig2012DiJet30MHT80); |
1128 |
+ |
fChain->SetBranchAddress("weightTrig2012PFMET150", &weightTrig2012PFMET150, &b_weightTrig2012PFMET150); |
1129 |
+ |
fChain->SetBranchAddress("weightTrig2012SumpT100MET100", &weightTrig2012SumpT100MET100, &b_weightTrig2012SumpT100MET100); |
1130 |
|
fChain->SetBranchAddress("deltaPullAngleAK7", &deltaPullAngleAK7, &b_deltaPullAngleAK7); |
1131 |
|
fChain->SetBranchAddress("deltaPullAngle2AK7", &deltaPullAngle2AK7, &b_deltaPullAngle2AK7); |
1132 |
|
fChain->SetBranchAddress("PU0", &PU0, &b_PU0); |
1134 |
|
fChain->SetBranchAddress("PUp1", &PUp1, &b_PUp1); |
1135 |
|
fChain->SetBranchAddress("PUweight", &PUweight, &b_PUweight); |
1136 |
|
fChain->SetBranchAddress("PUweight2011B", &PUweight2011B, &b_PUweight2011B); |
1137 |
+ |
fChain->SetBranchAddress("PUweight1DObs", &PUweight1DObs, &b_PUweight1DObs); |
1138 |
|
fChain->SetBranchAddress("eventFlav", &eventFlav, &b_eventFlav); |
1139 |
|
fChain->SetBranchAddress("Vtype", &Vtype, &b_Vtype); |
1140 |
|
fChain->SetBranchAddress("HVdPhi", &HVdPhi, &b_HVdPhi); |
1165 |
|
fChain->SetBranchAddress("vLepton_genEta", vLepton_genEta, &b_vLepton_genEta); |
1166 |
|
fChain->SetBranchAddress("vLepton_genPhi", vLepton_genPhi, &b_vLepton_genPhi); |
1167 |
|
fChain->SetBranchAddress("vLepton_charge", vLepton_charge, &b_vLepton_charge); |
1168 |
+ |
fChain->SetBranchAddress("vLepton_pfCorrIso", vLepton_pfCorrIso, &b_vLepton_pfCorrIso); |
1169 |
+ |
fChain->SetBranchAddress("vLepton_id2012tight", vLepton_id2012tight, &b_vLepton_id2012tight); |
1170 |
+ |
fChain->SetBranchAddress("vLepton_idMVAnotrig", vLepton_idMVAnotrig, &b_vLepton_idMVAnotrig); |
1171 |
+ |
fChain->SetBranchAddress("vLepton_idMVAtrig", vLepton_idMVAtrig, &b_vLepton_idMVAtrig); |
1172 |
+ |
fChain->SetBranchAddress("vLepton_idMVApresel", vLepton_idMVApresel, &b_vLepton_idMVApresel); |
1173 |
+ |
fChain->SetBranchAddress("vLepton_innerHits", vLepton_innerHits, &b_vLepton_innerHits); |
1174 |
+ |
fChain->SetBranchAddress("vLepton_photonIsoDoubleCount", vLepton_photonIsoDoubleCount, &b_vLepton_photonIsoDoubleCount); |
1175 |
+ |
fChain->SetBranchAddress("vLepton_wpHWW", vLepton_wpHWW, &b_vLepton_wpHWW); |
1176 |
+ |
fChain->SetBranchAddress("vLepton_wp95", vLepton_wp95, &b_vLepton_wp95); |
1177 |
+ |
fChain->SetBranchAddress("vLepton_wp90", vLepton_wp90, &b_vLepton_wp90); |
1178 |
+ |
fChain->SetBranchAddress("vLepton_wp85", vLepton_wp85, &b_vLepton_wp85); |
1179 |
+ |
fChain->SetBranchAddress("vLepton_wp80", vLepton_wp80, &b_vLepton_wp80); |
1180 |
+ |
fChain->SetBranchAddress("vLepton_wp70", vLepton_wp70, &b_vLepton_wp70); |
1181 |
|
fChain->SetBranchAddress("aLepton_mass", aLepton_mass, &b_aLepton_mass); |
1182 |
|
fChain->SetBranchAddress("aLepton_pt", aLepton_pt, &b_aLepton_pt); |
1183 |
|
fChain->SetBranchAddress("aLepton_eta", aLepton_eta, &b_aLepton_eta); |
1200 |
|
fChain->SetBranchAddress("aLepton_genEta", aLepton_genEta, &b_aLepton_genEta); |
1201 |
|
fChain->SetBranchAddress("aLepton_genPhi", aLepton_genPhi, &b_aLepton_genPhi); |
1202 |
|
fChain->SetBranchAddress("aLepton_charge", aLepton_charge, &b_aLepton_charge); |
1203 |
+ |
fChain->SetBranchAddress("aLepton_pfCorrIso", aLepton_pfCorrIso, &b_aLepton_pfCorrIso); |
1204 |
+ |
fChain->SetBranchAddress("aLepton_id2012tight", aLepton_id2012tight, &b_aLepton_id2012tight); |
1205 |
+ |
fChain->SetBranchAddress("aLepton_idMVAnotrig", aLepton_idMVAnotrig, &b_aLepton_idMVAnotrig); |
1206 |
+ |
fChain->SetBranchAddress("aLepton_idMVAtrig", aLepton_idMVAtrig, &b_aLepton_idMVAtrig); |
1207 |
+ |
fChain->SetBranchAddress("aLepton_idMVApresel", aLepton_idMVApresel, &b_aLepton_idMVApresel); |
1208 |
+ |
fChain->SetBranchAddress("aLepton_innerHits", aLepton_innerHits, &b_aLepton_innerHits); |
1209 |
+ |
fChain->SetBranchAddress("aLepton_photonIsoDoubleCount", aLepton_photonIsoDoubleCount, &b_aLepton_photonIsoDoubleCount); |
1210 |
+ |
fChain->SetBranchAddress("aLepton_wpHWW", aLepton_wpHWW, &b_aLepton_wpHWW); |
1211 |
+ |
fChain->SetBranchAddress("aLepton_wp95", aLepton_wp95, &b_aLepton_wp95); |
1212 |
+ |
fChain->SetBranchAddress("aLepton_wp90", aLepton_wp90, &b_aLepton_wp90); |
1213 |
+ |
fChain->SetBranchAddress("aLepton_wp85", aLepton_wp85, &b_aLepton_wp85); |
1214 |
+ |
fChain->SetBranchAddress("aLepton_wp80", aLepton_wp80, &b_aLepton_wp80); |
1215 |
+ |
fChain->SetBranchAddress("aLepton_wp70", aLepton_wp70, &b_aLepton_wp70); |
1216 |
|
fChain->SetBranchAddress("top", &top_mass, &b_top); |
1217 |
|
fChain->SetBranchAddress("WplusMode", &WplusMode, &b_WplusMode); |
1218 |
|
fChain->SetBranchAddress("WminusMode", &WminusMode, &b_WminusMode); |
1241 |
|
fChain->SetBranchAddress("SimBsH", &SimBsH_mass, &b_SimBsH); |
1242 |
|
fChain->SetBranchAddress("rho", &rho, &b_rho); |
1243 |
|
fChain->SetBranchAddress("rho25", &rho25, &b_rho25); |
1244 |
+ |
fChain->SetBranchAddress("rhoN", &rhoN, &b_rhoN); |
1245 |
|
fChain->SetBranchAddress("nPVs", &nPVs, &b_nPVs); |
1246 |
|
fChain->SetBranchAddress("METnoPU", &METnoPU_et, &b_METnoPU); |
1247 |
|
fChain->SetBranchAddress("METnoPUCh", &METnoPUCh_et, &b_METnoPUCh); |