ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/interface/ntupleLoader.hpp
(Generate patch)

Comparing UserCode/VHbb/interface/ntupleLoader.hpp (file contents):
Revision 1.1 by bortigno, Fri Apr 27 14:24:40 2012 UTC vs.
Revision 1.3 by bortigno, Tue Jun 5 09:10:00 2012 UTC

# Line 1 | Line 1
1   //////////////////////////////////////////////////////////
2   // This class has been automatically generated on
3 < // Mon Dec 19 15:42:42 2011 by ROOT version 5.30/02
3 > // Fri Jun  1 19:10:13 2012 by ROOT version 5.27/06b
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: histos/ZllH.Jun01.T_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola.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;
# Line 32 | Line 31 | public :
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]
# Line 52 | Line 145 | public :
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]
# Line 66 | Line 172 | public :
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_puJetIdL[2];   //[nhJets]
178 >   Float_t         hJet_puJetIdM[2];   //[nhJets]
179 >   Float_t         hJet_puJetIdT[2];   //[nhJets]
180 >   Float_t         hJet_puJetIdMva[2];   //[nhJets]
181 >   Float_t         fathFilterJets_pt[3];   //[nfathFilterJets]
182 >   Float_t         fathFilterJets_eta[3];   //[nfathFilterJets]
183 >   Float_t         fathFilterJets_phi[3];   //[nfathFilterJets]
184 >   Float_t         fathFilterJets_e[3];   //[nfathFilterJets]
185 >   Float_t         fathFilterJets_csv[3];   //[nfathFilterJets]
186 >   Float_t         fathFilterJets_chf[3];   //[nfathFilterJets]
187 >   Float_t         fathFilterJets_ptRaw[3];   //[nfathFilterJets]
188 >   Float_t         fathFilterJets_ptLeadTrack[3];   //[nfathFilterJets]
189 >   Float_t         fathFilterJets_flavour[3];   //[nfathFilterJets]
190 >   Float_t         fathFilterJets_isSemiLept[3];   //[nfathFilterJets]
191 >   Float_t         fathFilterJets_isSemiLeptMCtruth[3];   //[nfathFilterJets]
192 >   Float_t         fathFilterJets_genPt[3];   //[nfathFilterJets]
193 >   Float_t         fathFilterJets_genEta[3];   //[nfathFilterJets]
194 >   Float_t         fathFilterJets_genPhi[3];   //[nfathFilterJets]
195 >   Float_t         fathFilterJets_vtxMass[3];   //[nfathFilterJets]
196 >   Float_t         fathFilterJets_vtx3dL[3];   //[nfathFilterJets]
197 >   Float_t         fathFilterJets_vtx3deL[3];   //[nfathFilterJets]
198 >   Float_t         fathFilterJets_vtxPt[3];   //[nfathFilterJets]
199 >   Float_t         fathFilterJets_vtxEta[3];   //[nfathFilterJets]
200 >   Float_t         fathFilterJets_vtxPhi[3];   //[nfathFilterJets]
201 >   Float_t         fathFilterJets_vtxE[3];   //[nfathFilterJets]
202 >   Float_t         fathFilterJets_csvivf[3];   //[nfathFilterJets]
203 >   Float_t         fathFilterJets_cmva[3];   //[nfathFilterJets]
204 >   Float_t         fathFilterJets_AnglePVtoSVmom[3];   //!
205 >   Float_t         fathFilterJets_AnglePVtoJetmom[3];   //!
206 >   Float_t         aJet_pt[9];   //[naJets]
207 >   Float_t         aJet_eta[9];   //[naJets]
208 >   Float_t         aJet_phi[9];   //[naJets]
209 >   Float_t         aJet_e[9];   //[naJets]
210 >   Float_t         aJet_csv[9];   //[naJets]
211 >   Float_t         aJet_csvivf[9];   //[naJets]
212 >   Float_t         aJet_cmva[9];   //[naJets]
213 >   Float_t         aJet_cosTheta[9];   //[naJets]
214 >   Int_t           aJet_numTracksSV[9];   //[naJets]
215 >   Float_t         aJet_chf[9];   //[naJets]
216 >   Float_t         aJet_nhf[9];   //[naJets]
217 >   Float_t         aJet_cef[9];   //[naJets]
218 >   Float_t         aJet_nef[9];   //[naJets]
219 >   Float_t         aJet_nch[9];   //[naJets]
220 >   Float_t         aJet_nconstituents[9];   //[naJets]
221 >   Float_t         aJet_flavour[9];   //[naJets]
222 >   Int_t           aJet_isSemiLept[9];   //[naJets]
223 >   Int_t           aJet_isSemiLeptMCtruth[9];   //[naJets]
224 >   Int_t           aJet_SoftLeptpdgId[9];   //[naJets]
225 >   Int_t           aJet_SoftLeptIdlooseMu[9];   //[naJets]
226 >   Int_t           aJet_SoftLeptId95[9];   //[naJets]
227 >   Float_t         aJet_SoftLeptPt[9];   //[naJets]
228 >   Float_t         aJet_SoftLeptdR[9];   //[naJets]
229 >   Float_t         aJet_SoftLeptptRel[9];   //[naJets]
230 >   Float_t         aJet_SoftLeptRelCombIso[9];   //[naJets]
231 >   Float_t         aJet_puJetIdL[9];   //[naJets]
232 >   Float_t         aJet_puJetIdM[9];   //[naJets]
233 >   Float_t         aJet_puJetIdT[9];   //[naJets]
234 >   Float_t         aJet_puJetIdMva[9];   //[naJets]
235 >   Float_t         aJet_genPt[9];   //[naJets]
236 >   Float_t         aJet_genEta[9];   //[naJets]
237 >   Float_t         aJet_genPhi[9];   //[naJets]
238 >   Float_t         aJet_JECUnc[9];   //[naJets]
239 >   Float_t         aJet_vtxMass[9];   //[naJets]
240 >   Float_t         aJet_vtx3dL[9];   //[naJets]
241 >   Float_t         aJet_vtx3deL[9];   //[naJets]
242 >   UChar_t         aJet_id[9];   //[naJets]
243 >   UChar_t         aJet_SF_CSVL[9];   //[naJets]
244 >   UChar_t         aJet_SF_CSVM[9];   //[naJets]
245 >   UChar_t         aJet_SF_CSVT[9];   //[naJets]
246 >   UChar_t         aJet_SF_CSVLerr[9];   //[naJets]
247 >   UChar_t         aJet_SF_CSVMerr[9];   //[naJets]
248 >   UChar_t         aJet_SF_CSVTerr[9];   //[naJets]
249 >   Int_t           naJetsFat;
250 >   Float_t         aJetFat_pt[11];   //[naJetsFat]
251 >   Float_t         aJetFat_eta[11];   //[naJetsFat]
252 >   Float_t         aJetFat_phi[11];   //[naJetsFat]
253 >   Float_t         aJetFat_e[11];   //[naJetsFat]
254 >   Float_t         aJetFat_csv[11];   //[naJetsFat]
255     Int_t           numJets;
256     Int_t           numBJets;
257     Float_t         deltaPullAngle;
# Line 102 | Line 260 | public :
260     Float_t         gendrbb;
261     Float_t         genZpt;
262     Float_t         genWpt;
263 +   Float_t         genHpt;
264 +   Float_t         lheWeight;
265     Float_t         weightTrig;
266     Float_t         weightTrigMay;
267     Float_t         weightTrigV4;
# Line 118 | Line 278 | public :
278     Float_t         weightTrigMET802CJet;
279     Float_t         weightTrigMET1002CJet;
280     Float_t         weightTrigMETLP;
281 +   Float_t         weightTrig2012A;
282 +   Float_t         weightTrig2012ADiMuon;
283 +   Float_t         weightTrig2012ADiEle;
284 +   Float_t         weightTrig2012ASingleMuon;
285 +   Float_t         weightTrig2012ASingleEle;
286 +   Float_t         weightTrig2012AMuonPlusWCandPt;
287     Float_t         deltaPullAngleAK7;
288     Float_t         deltaPullAngle2AK7;
289     Float_t         PU0;
# Line 125 | Line 291 | public :
291     Float_t         PUp1;
292     Float_t         PUweight;
293     Float_t         PUweight2011B;
294 +   Float_t         PUweight1DObs;
295     Int_t           eventFlav;
296     Int_t           Vtype;
297     Float_t         HVdPhi;
# Line 154 | Line 321 | public :
321     Float_t         vLepton_genPt[2];   //[nvlep]
322     Float_t         vLepton_genEta[2];   //[nvlep]
323     Float_t         vLepton_genPhi[2];   //[nvlep]
324 <   Float_t         aLepton_mass[4];   //[nalep]
325 <   Float_t         aLepton_pt[4];   //[nalep]
326 <   Float_t         aLepton_eta[4];   //[nalep]
327 <   Float_t         aLepton_phi[4];   //[nalep]
328 <   Float_t         aLepton_aodCombRelIso[4];   //[nalep]
329 <   Float_t         aLepton_pfCombRelIso[4];   //[nalep]
330 <   Float_t         aLepton_photonIso[4];   //[nalep]
331 <   Float_t         aLepton_neutralHadIso[4];   //[nalep]
332 <   Float_t         aLepton_chargedHadIso[4];   //[nalep]
333 <   Float_t         aLepton_chargedPUIso[4];   //[nalep]
334 <   Float_t         aLepton_particleIso[4];   //[nalep]
335 <   Float_t         aLepton_dxy[4];   //[nalep]
336 <   Float_t         aLepton_dz[4];   //[nalep]
337 <   Int_t           aLepton_type[4];   //[nalep]
338 <   Float_t         aLepton_id80[4];   //[nalep]
339 <   Float_t         aLepton_id95[4];   //[nalep]
340 <   Float_t         aLepton_vbtf[4];   //[nalep]
341 <   Float_t         aLepton_id80NoIso[4];   //[nalep]
342 <   Float_t         aLepton_genPt[4];   //[nalep]
343 <   Float_t         aLepton_genEta[4];   //[nalep]
344 <   Float_t         aLepton_genPhi[4];   //[nalep]
324 >   Float_t         vLepton_charge[2];   //[nvlep]
325 >   Float_t         vLepton_pfCorrIso[2];   //[nvlep]
326 >   Float_t         vLepton_id2012tight[2];   //[nvlep]
327 >   Float_t         vLepton_idMVAnotrig[2];   //[nvlep]
328 >   Float_t         vLepton_idMVAtrig[2];   //[nvlep]
329 >   Float_t         vLepton_innerHits[2];   //[nvlep]
330 >   Float_t         vLepton_photonIsoDoubleCount[2];   //[nvlep]
331 >   Float_t         vLepton_wp95[2];   //[nvlep]
332 >   Float_t         vLepton_wp90[2];   //[nvlep]
333 >   Float_t         vLepton_wp85[2];   //[nvlep]
334 >   Float_t         vLepton_wp80[2];   //[nvlep]
335 >   Float_t         vLepton_wp70[2];   //[nvlep]
336 >   Float_t         aLepton_mass[55];   //[nalep]
337 >   Float_t         aLepton_pt[55];   //[nalep]
338 >   Float_t         aLepton_eta[55];   //[nalep]
339 >   Float_t         aLepton_phi[55];   //[nalep]
340 >   Float_t         aLepton_aodCombRelIso[55];   //[nalep]
341 >   Float_t         aLepton_pfCombRelIso[55];   //[nalep]
342 >   Float_t         aLepton_photonIso[55];   //[nalep]
343 >   Float_t         aLepton_neutralHadIso[55];   //[nalep]
344 >   Float_t         aLepton_chargedHadIso[55];   //[nalep]
345 >   Float_t         aLepton_chargedPUIso[55];   //[nalep]
346 >   Float_t         aLepton_particleIso[55];   //[nalep]
347 >   Float_t         aLepton_dxy[55];   //[nalep]
348 >   Float_t         aLepton_dz[55];   //[nalep]
349 >   Int_t           aLepton_type[55];   //[nalep]
350 >   Float_t         aLepton_id80[55];   //[nalep]
351 >   Float_t         aLepton_id95[55];   //[nalep]
352 >   Float_t         aLepton_vbtf[55];   //[nalep]
353 >   Float_t         aLepton_id80NoIso[55];   //[nalep]
354 >   Float_t         aLepton_genPt[55];   //[nalep]
355 >   Float_t         aLepton_genEta[55];   //[nalep]
356 >   Float_t         aLepton_genPhi[55];   //[nalep]
357 >   Float_t         aLepton_charge[55];   //[nalep]
358 >   Float_t         aLepton_pfCorrIso[55];   //[nalep]
359 >   Float_t         aLepton_id2012tight[55];   //[nalep]
360 >   Float_t         aLepton_idMVAnotrig[55];   //[nalep]
361 >   Float_t         aLepton_idMVAtrig[55];   //[nalep]
362 >   Float_t         aLepton_innerHits[55];   //[nalep]
363 >   Float_t         aLepton_photonIsoDoubleCount[55];   //[nalep]
364 >   Float_t         aLepton_wp95[55];   //[nalep]
365 >   Float_t         aLepton_wp90[55];   //[nalep]
366 >   Float_t         aLepton_wp85[55];   //[nalep]
367 >   Float_t         aLepton_wp80[55];   //[nalep]
368 >   Float_t         aLepton_wp70[55];   //[nalep]
369     Float_t         top_mass;
370     Float_t         top_pt;
371     Float_t         top_wMass;
372     Int_t           WplusMode;
373     Int_t           WminusMode;
374     Int_t           nSvs;
375 <   Float_t         Sv_massBCand[5];   //[nSvs]
376 <   Float_t         Sv_massSv[5];   //[nSvs]
377 <   Float_t         Sv_pt[5];   //[nSvs]
378 <   Float_t         Sv_eta[5];   //[nSvs]
379 <   Float_t         Sv_phi[5];   //[nSvs]
380 <   Float_t         Sv_dist3D[5];   //[nSvs]
381 <   Float_t         Sv_dist2D[5];   //[nSvs]
382 <   Float_t         Sv_distSim2D[5];   //[nSvs]
383 <   Float_t         Sv_distSig3D[5];   //[nSvs]
384 <   Float_t         Sv_dist3D_norm[5];   //[nSvs]
375 >   Float_t         Sv_massBCand[4];   //[nSvs]
376 >   Float_t         Sv_massSv[4];   //[nSvs]
377 >   Float_t         Sv_pt[4];   //[nSvs]
378 >   Float_t         Sv_eta[4];   //[nSvs]
379 >   Float_t         Sv_phi[4];   //[nSvs]
380 >   Float_t         Sv_dist3D[4];   //[nSvs]
381 >   Float_t         Sv_dist2D[4];   //[nSvs]
382 >   Float_t         Sv_distSim2D[4];   //[nSvs]
383 >   Float_t         Sv_distSig3D[4];   //[nSvs]
384 >   Float_t         Sv_dist3D_norm[4];   //[nSvs]
385     Float_t         SVH_mass;
386     Float_t         SVH_pt;
387     Float_t         SVH_eta;
# Line 217 | Line 408 | public :
408     Float_t         SimBsH_dEta;
409     Float_t         rho;
410     Float_t         rho25;
411 +   Float_t         rhoN;
412     Int_t           nPVs;
413     Float_t         METnoPU_et;
414     Float_t         METnoPU_sumet;
# Line 230 | Line 422 | public :
422     Float_t         MET_sumet;
423     Float_t         MET_sig;
424     Float_t         MET_phi;
425 +   Float_t         METtype1corr_et;
426 +   Float_t         METtype1corr_sumet;
427 +   Float_t         METtype1corr_sig;
428 +   Float_t         METtype1corr_phi;
429 +   Float_t         METtype1p2corr_et;
430 +   Float_t         METtype1p2corr_sumet;
431 +   Float_t         METtype1p2corr_sig;
432 +   Float_t         METtype1p2corr_phi;
433 +   Float_t         METnoPUtype1corr_et;
434 +   Float_t         METnoPUtype1corr_sumet;
435 +   Float_t         METnoPUtype1corr_sig;
436 +   Float_t         METnoPUtype1corr_phi;
437 +   Float_t         METnoPUtype1p2corr_et;
438 +   Float_t         METnoPUtype1p2corr_sumet;
439 +   Float_t         METnoPUtype1p2corr_sig;
440 +   Float_t         METnoPUtype1p2corr_phi;
441 +   Float_t         metUnc_et[24];
442 +   Float_t         metUnc_phi[24];
443 +   Float_t         metUnc_sumet[24];
444     Float_t         fakeMET_et;
445     Float_t         fakeMET_sumet;
446     Float_t         fakeMET_sig;
# Line 240 | Line 451 | public :
451     Float_t         MHT_phi;
452     Float_t         minDeltaPhijetMET;
453     Float_t         jetPt_minDeltaPhijetMET;
454 <   UChar_t         triggerFlags[28];
454 >   UChar_t         triggerFlags[49];
455     Int_t           EVENT_run;
456     Int_t           EVENT_lumi;
457     Int_t           EVENT_event;
# Line 248 | Line 459 | public :
459     UChar_t         hbhe;
460     UChar_t         totalKinematics;
461     UChar_t         ecalFlag;
462 +   UChar_t         cschaloFlag;
463 +   UChar_t         hcallaserFlag;
464 +   UChar_t         trackingfailureFlag;
465     Float_t         btag1TSF;
466     Float_t         btag2TSF;
467     Float_t         btag1T2CSF;
# Line 255 | Line 469 | public :
469     Float_t         btagA0CSF;
470     Float_t         btagA0TSF;
471     Float_t         btag1TA1C;
472 +   Float_t         PUweight2011BUp;
473 +   Float_t         PUweight2011BDown;
474 +   Float_t         hJet_csvOld[2];   //[nhJets]
475 +   Float_t         hJet_csvDown[2];   //[nhJets]
476 +   Float_t         hJet_csvUp[2];   //[nhJets]
477 +   Float_t         hJet_csvFDown[2];   //[nhJets]
478 +   Float_t         hJet_csvFUp[2];   //[nhJets]
479 +   Float_t         weightTrig_up;
480 +   Float_t         weightTrigMay_up;
481 +   Float_t         weightTrigV4_up;
482 +   Float_t         weightTrigMET_up;
483 +   Float_t         weightTrigOrMu30_up;
484 +   Float_t         weightEleRecoAndId_up;
485 +   Float_t         weightEleTrigJetMETPart_up;
486 +   Float_t         weightEleTrigElePart_up;
487  
488     // List of branches
489     TBranch        *b_H;   //!
490     TBranch        *b_V;   //!
491 +   TBranch        *b_FatH;   //!
492 +   TBranch        *b_lheV_pt;   //!
493 +   TBranch        *b_genZ;   //!
494 +   TBranch        *b_genZstar;   //!
495 +   TBranch        *b_genW;   //!
496 +   TBranch        *b_genWstar;   //!
497 +   TBranch        *b_genH;   //!
498 +   TBranch        *b_genB;   //!
499 +   TBranch        *b_genBbar;   //!
500 +   TBranch        *b_genTop;   //!
501 +   TBranch        *b_genTbar;   //!
502 +   TBranch        *b_TkSharing;   //!
503     TBranch        *b_nhJets;   //!
504 +   TBranch        *b_nfathFilterJets;   //!
505     TBranch        *b_naJets;   //!
506     TBranch        *b_hJet_pt;   //!
507     TBranch        *b_hJet_eta;   //!
508     TBranch        *b_hJet_phi;   //!
509     TBranch        *b_hJet_e;   //!
510     TBranch        *b_hJet_csv;   //!
511 <   TBranch        *b_hJet_csvDown;   //!
512 <   TBranch        *b_hJet_csvUp;   //!
271 <   TBranch        *b_hJet_csvFDown;   //!
272 <   TBranch        *b_hJet_csvFUp;   //!
511 >   TBranch        *b_hJet_csvivf;   //!
512 >   TBranch        *b_hJet_cmva;   //!
513     TBranch        *b_hJet_cosTheta;   //!
514     TBranch        *b_hJet_numTracksSV;   //!
515     TBranch        *b_hJet_chf;   //!
# Line 279 | Line 519 | public :
519     TBranch        *b_hJet_nch;   //!
520     TBranch        *b_hJet_nconstituents;   //!
521     TBranch        *b_hJet_flavour;   //!
522 +   TBranch        *b_hJet_isSemiLept;   //!
523 +   TBranch        *b_hJet_isSemiLeptMCtruth;   //!
524 +   TBranch        *b_hJet_SoftLeptpdgId;   //!
525 +   TBranch        *b_hJet_SoftLeptIdlooseMu;   //!
526 +   TBranch        *b_hJet_SoftLeptId95;   //!
527 +   TBranch        *b_hJet_SoftLeptPt;   //!
528 +   TBranch        *b_hJet_SoftLeptdR;   //!
529 +   TBranch        *b_hJet_SoftLeptptRel;   //!
530 +   TBranch        *b_hJet_SoftLeptRelCombIso;   //!
531     TBranch        *b_hJet_genPt;   //!
532     TBranch        *b_hJet_genEta;   //!
533     TBranch        *b_hJet_genPhi;   //!
534     TBranch        *b_hJet_JECUnc;   //!
535     TBranch        *b_hJet_vtxMass;   //!
536 +   TBranch        *b_hJet_vtxPt;   //!
537 +   TBranch        *b_hJet_vtxEta;   //!
538 +   TBranch        *b_hJet_vtxPhi;   //!
539 +   TBranch        *b_hJet_vtxE;   //!
540     TBranch        *b_hJet_vtx3dL;   //!
541     TBranch        *b_hJet_vtx3deL;   //!
542     TBranch        *b_hJet_id;   //!
# Line 293 | Line 546 | public :
546     TBranch        *b_hJet_SF_CSVLerr;   //!
547     TBranch        *b_hJet_SF_CSVMerr;   //!
548     TBranch        *b_hJet_SF_CSVTerr;   //!
549 +   TBranch        *b_hJet_ptRaw;   //!
550 +   TBranch        *b_hJet_ptLeadTrack;   //!
551 +   TBranch        *b_hJet_puJetIdL;   //!
552 +   TBranch        *b_hJet_puJetIdM;   //!
553 +   TBranch        *b_hJet_puJetIdT;   //!
554 +   TBranch        *b_hJet_puJetIdMva;   //!
555 +   TBranch        *b_fathFilterJets_pt;   //!
556 +   TBranch        *b_fathFilterJets_eta;   //!
557 +   TBranch        *b_fathFilterJets_phi;   //!
558 +   TBranch        *b_fathFilterJets_e;   //!
559 +   TBranch        *b_fathFilterJets_csv;   //!
560 +   TBranch        *b_fathFilterJets_chf;   //!
561 +   TBranch        *b_fathFilterJets_ptRaw;   //!
562 +   TBranch        *b_fathFilterJets_ptLeadTrack;   //!
563 +   TBranch        *b_fathFilterJets_flavour;   //!
564 +   TBranch        *b_fathFilterJets_isSemiLept;   //!
565 +   TBranch        *b_fathFilterJets_isSemiLeptMCtruth;   //!
566 +   TBranch        *b_fathFilterJets_genPt;   //!
567 +   TBranch        *b_fathFilterJets_genEta;   //!
568 +   TBranch        *b_fathFilterJets_genPhi;   //!
569 +   TBranch        *b_fathFilterJets_vtxMass;   //!
570 +   TBranch        *b_fathFilterJets_vtx3dL;   //!
571 +   TBranch        *b_fathFilterJets_vtx3deL;   //!
572 +   TBranch        *b_fathFilterJets_vtxPt;   //!
573 +   TBranch        *b_fathFilterJets_vtxEta;   //!
574 +   TBranch        *b_fathFilterJets_vtxPhi;   //!
575 +   TBranch        *b_fathFilterJets_vtxE;   //!
576 +   TBranch        *b_fathFilterJets_AnglePVtoSVmom;   //!
577 +   TBranch        *b_fathFilterJets_AnglePVtoJetmom;   //!
578 +   TBranch        *b_fathFilterJets_csvivf;   //!
579 +   TBranch        *b_fathFilterJets_cmva;   //!
580     TBranch        *b_aJet_pt;   //!
581     TBranch        *b_aJet_eta;   //!
582     TBranch        *b_aJet_phi;   //!
583     TBranch        *b_aJet_e;   //!
584     TBranch        *b_aJet_csv;   //!
585 +   TBranch        *b_aJet_csvivf;   //!
586 +   TBranch        *b_aJet_cmva;   //!
587     TBranch        *b_aJet_cosTheta;   //!
588     TBranch        *b_aJet_numTracksSV;   //!
589     TBranch        *b_aJet_chf;   //!
# Line 307 | Line 593 | public :
593     TBranch        *b_aJet_nch;   //!
594     TBranch        *b_aJet_nconstituents;   //!
595     TBranch        *b_aJet_flavour;   //!
596 +   TBranch        *b_aJet_isSemiLept;   //!
597 +   TBranch        *b_aJet_isSemiLeptMCtruth;   //!
598 +   TBranch        *b_aJet_SoftLeptpdgId;   //!
599 +   TBranch        *b_aJet_SoftLeptIdlooseMu;   //!
600 +   TBranch        *b_aJet_SoftLeptId95;   //!
601 +   TBranch        *b_aJet_SoftLeptPt;   //!
602 +   TBranch        *b_aJet_SoftLeptdR;   //!
603 +   TBranch        *b_aJet_SoftLeptptRel;   //!
604 +   TBranch        *b_aJet_SoftLeptRelCombIso;   //!
605 +   TBranch        *b_aJet_puJetIdL;   //!
606 +   TBranch        *b_aJet_puJetIdM;   //!
607 +   TBranch        *b_aJet_puJetIdT;   //!
608 +   TBranch        *b_aJet_puJetIdMva;   //!
609     TBranch        *b_aJet_genPt;   //!
610     TBranch        *b_aJet_genEta;   //!
611     TBranch        *b_aJet_genPhi;   //!
# Line 321 | Line 620 | public :
620     TBranch        *b_aJet_SF_CSVLerr;   //!
621     TBranch        *b_aJet_SF_CSVMerr;   //!
622     TBranch        *b_aJet_SF_CSVTerr;   //!
623 +   TBranch        *b_naJetsFat;   //!
624 +   TBranch        *b_aJetFat_pt;   //!
625 +   TBranch        *b_aJetFat_eta;   //!
626 +   TBranch        *b_aJetFat_phi;   //!
627 +   TBranch        *b_aJetFat_e;   //!
628 +   TBranch        *b_aJetFat_csv;   //!
629     TBranch        *b_numJets;   //!
630     TBranch        *b_numBJets;   //!
631     TBranch        *b_deltaPullAngle;   //!
# Line 329 | Line 634 | public :
634     TBranch        *b_gendrbb;   //!
635     TBranch        *b_genZpt;   //!
636     TBranch        *b_genWpt;   //!
637 +   TBranch        *b_genHpt;   //!
638 +   TBranch        *b_lheWeight;   //!
639     TBranch        *b_weightTrig;   //!
640     TBranch        *b_weightTrigMay;   //!
641     TBranch        *b_weightTrigV4;   //!
# Line 345 | Line 652 | public :
652     TBranch        *b_weightTrigMET802CJet;   //!
653     TBranch        *b_weightTrigMET1002CJet;   //!
654     TBranch        *b_weightTrigMETLP;   //!
655 +   TBranch        *b_weightTrig2012A;   //!
656 +   TBranch        *b_weightTrig2012ADiMuon;   //!
657 +   TBranch        *b_weightTrig2012ADiEle;   //!
658 +   TBranch        *b_weightTrig2012ASingleMuon;   //!
659 +   TBranch        *b_weightTrig2012ASingleEle;   //!
660 +   TBranch        *b_weightTrig2012AMuonPlusWCandPt;   //!
661     TBranch        *b_deltaPullAngleAK7;   //!
662     TBranch        *b_deltaPullAngle2AK7;   //!
663     TBranch        *b_PU0;   //!
# Line 352 | Line 665 | public :
665     TBranch        *b_PUp1;   //!
666     TBranch        *b_PUweight;   //!
667     TBranch        *b_PUweight2011B;   //!
668 +   TBranch        *b_PUweight1DObs;   //!
669     TBranch        *b_eventFlav;   //!
670     TBranch        *b_Vtype;   //!
671     TBranch        *b_HVdPhi;   //!
# Line 381 | Line 695 | public :
695     TBranch        *b_vLepton_genPt;   //!
696     TBranch        *b_vLepton_genEta;   //!
697     TBranch        *b_vLepton_genPhi;   //!
698 +   TBranch        *b_vLepton_charge;   //!
699 +   TBranch        *b_vLepton_pfCorrIso;   //!
700 +   TBranch        *b_vLepton_id2012tight;   //!
701 +   TBranch        *b_vLepton_idMVAnotrig;   //!
702 +   TBranch        *b_vLepton_idMVAtrig;   //!
703 +   TBranch        *b_vLepton_innerHits;   //!
704 +   TBranch        *b_vLepton_photonIsoDoubleCount;   //!
705 +   TBranch        *b_vLepton_wp95;   //!
706 +   TBranch        *b_vLepton_wp90;   //!
707 +   TBranch        *b_vLepton_wp85;   //!
708 +   TBranch        *b_vLepton_wp80;   //!
709 +   TBranch        *b_vLepton_wp70;   //!
710     TBranch        *b_aLepton_mass;   //!
711     TBranch        *b_aLepton_pt;   //!
712     TBranch        *b_aLepton_eta;   //!
# Line 402 | Line 728 | public :
728     TBranch        *b_aLepton_genPt;   //!
729     TBranch        *b_aLepton_genEta;   //!
730     TBranch        *b_aLepton_genPhi;   //!
731 +   TBranch        *b_aLepton_charge;   //!
732 +   TBranch        *b_aLepton_pfCorrIso;   //!
733 +   TBranch        *b_aLepton_id2012tight;   //!
734 +   TBranch        *b_aLepton_idMVAnotrig;   //!
735 +   TBranch        *b_aLepton_idMVAtrig;   //!
736 +   TBranch        *b_aLepton_innerHits;   //!
737 +   TBranch        *b_aLepton_photonIsoDoubleCount;   //!
738 +   TBranch        *b_aLepton_wp95;   //!
739 +   TBranch        *b_aLepton_wp90;   //!
740 +   TBranch        *b_aLepton_wp85;   //!
741 +   TBranch        *b_aLepton_wp80;   //!
742 +   TBranch        *b_aLepton_wp70;   //!
743     TBranch        *b_top;   //!
744     TBranch        *b_WplusMode;   //!
745     TBranch        *b_WminusMode;   //!
# Line 430 | Line 768 | public :
768     TBranch        *b_SimBsH;   //!
769     TBranch        *b_rho;   //!
770     TBranch        *b_rho25;   //!
771 +   TBranch        *b_rhoN;   //!
772     TBranch        *b_nPVs;   //!
773     TBranch        *b_METnoPU;   //!
774     TBranch        *b_METnoPUCh;   //!
775     TBranch        *b_MET;   //!
776 +   TBranch        *b_METtype1corr;   //!
777 +   TBranch        *b_METtype1p2corr;   //!
778 +   TBranch        *b_METnoPUtype1corr;   //!
779 +   TBranch        *b_METnoPUtype1p2corr;   //!
780 +   TBranch        *b_et;   //!
781 +   TBranch        *b_phi;   //!
782 +   TBranch        *b_sumet;   //!
783     TBranch        *b_fakeMET;   //!
784     TBranch        *b_MHT;   //!
785     TBranch        *b_minDeltaPhijetMET;   //!
# Line 443 | Line 789 | public :
789     TBranch        *b_hbhe;   //!
790     TBranch        *b_totalKinematics;   //!
791     TBranch        *b_ecalFlag;   //!
792 +   TBranch        *b_cschaloFlag;   //!
793 +   TBranch        *b_hcallaserFlag;   //!
794 +   TBranch        *b_trackingfailureFlag;   //!
795     TBranch        *b_btag1TSF;   //!
796     TBranch        *b_btag2TSF;   //!
797     TBranch        *b_btag1T2CSF;   //!
# Line 450 | Line 799 | public :
799     TBranch        *b_btagA0CSF;   //!
800     TBranch        *b_btagA0TSF;   //!
801     TBranch        *b_btag1TA1C;   //!
802 +   TBranch        *b_PUweight2011BUp;   //!
803 +   TBranch        *b_PUweight2011BDown;   //!
804 +   TBranch        *b_hJet_csvOld;   //!
805 +   TBranch        *b_hJet_csvDown;   //!
806 +   TBranch        *b_hJet_csvUp;   //!
807 +   TBranch        *b_hJet_csvFDown;   //!
808 +   TBranch        *b_hJet_csvFUp;   //!
809 +   TBranch        *b_weightTrig_up;   //!
810 +   TBranch        *b_weightTrigMay_up;   //!
811 +   TBranch        *b_weightTrigV4_up;   //!
812 +   TBranch        *b_weightTrigMET_up;   //!
813 +   TBranch        *b_weightTrigOrMu30_up;   //!
814 +   TBranch        *b_weightEleRecoAndId_up;   //!
815 +   TBranch        *b_weightEleTrigJetMETPart_up;   //!
816 +   TBranch        *b_weightEleTrigElePart_up;   //!
817  
818 <   ntupleLoader(const char * infile);
818 >   ntupleLoader(const char *infile);
819     virtual ~ntupleLoader();
820     virtual Int_t    Cut(Long64_t entry);
821     virtual Int_t    GetEntry(Long64_t entry);
822     virtual Long64_t LoadTree(Long64_t entry);
823     virtual void     Init(TTree *tree);
460   virtual void     Loop();
824     virtual Bool_t   Notify();
825     virtual void     Show(Long64_t entry = -1);
463
826   };
827  
828  
# Line 471 | Line 833 | ntupleLoader::ntupleLoader(const char *
833    tree=0;
834     if (tree == 0) {
835        TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject(infile);
836 <      if (!f) {
837 <        f = new TFile(infile);
836 >      if (!f || !f->IsOpen()) {
837 >         f = new TFile(infile);
838        }
839 <      tree = (TTree*)gDirectory->Get("tree");
839 >      f->GetObject("tree",tree);
840  
841     }
842     Init(tree);
# Line 505 | Line 867 | Long64_t ntupleLoader::LoadTree(Long64_t
867     return centry;
868   }
869  
508
870   void ntupleLoader::Init(TTree *tree)
871   {
872     // The Init() function is called when the selector needs to initialize
# Line 522 | Line 883 | void ntupleLoader::Init(TTree *tree)
883     fCurrent = -1;
884     fChain->SetMakeClass(1);
885  
886 <   fChain->SetBranchAddress("H", &H_mass, &b_H);
886 >   fChain->SetBranchAddress("H", &H_HiggsFlag, &b_H);
887     fChain->SetBranchAddress("V", &V_mass, &b_V);
888 +   fChain->SetBranchAddress("FatH", &FatH_FatHiggsFlag, &b_FatH);
889 +   fChain->SetBranchAddress("lheV_pt", &lheV_pt, &b_lheV_pt);
890 +   fChain->SetBranchAddress("genZ", &genZ_mass, &b_genZ);
891 +   fChain->SetBranchAddress("genZstar", &genZstar_mass, &b_genZstar);
892 +   fChain->SetBranchAddress("genW", &genW_mass, &b_genW);
893 +   fChain->SetBranchAddress("genWstar", &genWstar_mass, &b_genWstar);
894 +   fChain->SetBranchAddress("genH", &genH_mass, &b_genH);
895 +   fChain->SetBranchAddress("genB", &genB_mass, &b_genB);
896 +   fChain->SetBranchAddress("genBbar", &genBbar_mass, &b_genBbar);
897 +   fChain->SetBranchAddress("genTop", &genTop_bmass, &b_genTop);
898 +   fChain->SetBranchAddress("genTbar", &genTbar_bmass, &b_genTbar);
899 +   fChain->SetBranchAddress("TkSharing", &TkSharing_HiggsCSVtkSharing, &b_TkSharing);
900     fChain->SetBranchAddress("nhJets", &nhJets, &b_nhJets);
901 +   fChain->SetBranchAddress("nfathFilterJets", &nfathFilterJets, &b_nfathFilterJets);
902     fChain->SetBranchAddress("naJets", &naJets, &b_naJets);
903     fChain->SetBranchAddress("hJet_pt", hJet_pt, &b_hJet_pt);
904     fChain->SetBranchAddress("hJet_eta", hJet_eta, &b_hJet_eta);
905     fChain->SetBranchAddress("hJet_phi", hJet_phi, &b_hJet_phi);
906     fChain->SetBranchAddress("hJet_e", hJet_e, &b_hJet_e);
907     fChain->SetBranchAddress("hJet_csv", hJet_csv, &b_hJet_csv);
908 <   fChain->SetBranchAddress("hJet_csvDown", hJet_csvDown, &b_hJet_csvDown);
909 <   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);
908 >   fChain->SetBranchAddress("hJet_csvivf", hJet_csvivf, &b_hJet_csvivf);
909 >   fChain->SetBranchAddress("hJet_cmva", hJet_cmva, &b_hJet_cmva);
910     fChain->SetBranchAddress("hJet_cosTheta", hJet_cosTheta, &b_hJet_cosTheta);
911     fChain->SetBranchAddress("hJet_numTracksSV", hJet_numTracksSV, &b_hJet_numTracksSV);
912     fChain->SetBranchAddress("hJet_chf", hJet_chf, &b_hJet_chf);
# Line 544 | Line 916 | void ntupleLoader::Init(TTree *tree)
916     fChain->SetBranchAddress("hJet_nch", hJet_nch, &b_hJet_nch);
917     fChain->SetBranchAddress("hJet_nconstituents", hJet_nconstituents, &b_hJet_nconstituents);
918     fChain->SetBranchAddress("hJet_flavour", hJet_flavour, &b_hJet_flavour);
919 +   fChain->SetBranchAddress("hJet_isSemiLept", hJet_isSemiLept, &b_hJet_isSemiLept);
920 +   fChain->SetBranchAddress("hJet_isSemiLeptMCtruth", hJet_isSemiLeptMCtruth, &b_hJet_isSemiLeptMCtruth);
921 +   fChain->SetBranchAddress("hJet_SoftLeptpdgId", hJet_SoftLeptpdgId, &b_hJet_SoftLeptpdgId);
922 +   fChain->SetBranchAddress("hJet_SoftLeptIdlooseMu", hJet_SoftLeptIdlooseMu, &b_hJet_SoftLeptIdlooseMu);
923 +   fChain->SetBranchAddress("hJet_SoftLeptId95", hJet_SoftLeptId95, &b_hJet_SoftLeptId95);
924 +   fChain->SetBranchAddress("hJet_SoftLeptPt", hJet_SoftLeptPt, &b_hJet_SoftLeptPt);
925 +   fChain->SetBranchAddress("hJet_SoftLeptdR", hJet_SoftLeptdR, &b_hJet_SoftLeptdR);
926 +   fChain->SetBranchAddress("hJet_SoftLeptptRel", hJet_SoftLeptptRel, &b_hJet_SoftLeptptRel);
927 +   fChain->SetBranchAddress("hJet_SoftLeptRelCombIso", hJet_SoftLeptRelCombIso, &b_hJet_SoftLeptRelCombIso);
928     fChain->SetBranchAddress("hJet_genPt", hJet_genPt, &b_hJet_genPt);
929     fChain->SetBranchAddress("hJet_genEta", hJet_genEta, &b_hJet_genEta);
930     fChain->SetBranchAddress("hJet_genPhi", hJet_genPhi, &b_hJet_genPhi);
931     fChain->SetBranchAddress("hJet_JECUnc", hJet_JECUnc, &b_hJet_JECUnc);
932     fChain->SetBranchAddress("hJet_vtxMass", hJet_vtxMass, &b_hJet_vtxMass);
933 +   fChain->SetBranchAddress("hJet_vtxPt", hJet_vtxPt, &b_hJet_vtxPt);
934 +   fChain->SetBranchAddress("hJet_vtxEta", hJet_vtxEta, &b_hJet_vtxEta);
935 +   fChain->SetBranchAddress("hJet_vtxPhi", hJet_vtxPhi, &b_hJet_vtxPhi);
936 +   fChain->SetBranchAddress("hJet_vtxE", hJet_vtxE, &b_hJet_vtxE);
937     fChain->SetBranchAddress("hJet_vtx3dL", hJet_vtx3dL, &b_hJet_vtx3dL);
938     fChain->SetBranchAddress("hJet_vtx3deL", hJet_vtx3deL, &b_hJet_vtx3deL);
939     fChain->SetBranchAddress("hJet_id", hJet_id, &b_hJet_id);
# Line 558 | Line 943 | void ntupleLoader::Init(TTree *tree)
943     fChain->SetBranchAddress("hJet_SF_CSVLerr", hJet_SF_CSVLerr, &b_hJet_SF_CSVLerr);
944     fChain->SetBranchAddress("hJet_SF_CSVMerr", hJet_SF_CSVMerr, &b_hJet_SF_CSVMerr);
945     fChain->SetBranchAddress("hJet_SF_CSVTerr", hJet_SF_CSVTerr, &b_hJet_SF_CSVTerr);
946 +   fChain->SetBranchAddress("hJet_ptRaw", hJet_ptRaw, &b_hJet_ptRaw);
947 +   fChain->SetBranchAddress("hJet_ptLeadTrack", hJet_ptLeadTrack, &b_hJet_ptLeadTrack);
948 +   fChain->SetBranchAddress("hJet_puJetIdL", hJet_puJetIdL, &b_hJet_puJetIdL);
949 +   fChain->SetBranchAddress("hJet_puJetIdM", hJet_puJetIdM, &b_hJet_puJetIdM);
950 +   fChain->SetBranchAddress("hJet_puJetIdT", hJet_puJetIdT, &b_hJet_puJetIdT);
951 +   fChain->SetBranchAddress("hJet_puJetIdMva", hJet_puJetIdMva, &b_hJet_puJetIdMva);
952 +   fChain->SetBranchAddress("fathFilterJets_pt", fathFilterJets_pt, &b_fathFilterJets_pt);
953 +   fChain->SetBranchAddress("fathFilterJets_eta", fathFilterJets_eta, &b_fathFilterJets_eta);
954 +   fChain->SetBranchAddress("fathFilterJets_phi", fathFilterJets_phi, &b_fathFilterJets_phi);
955 +   fChain->SetBranchAddress("fathFilterJets_e", fathFilterJets_e, &b_fathFilterJets_e);
956 +   fChain->SetBranchAddress("fathFilterJets_csv", fathFilterJets_csv, &b_fathFilterJets_csv);
957 +   fChain->SetBranchAddress("fathFilterJets_chf", fathFilterJets_chf, &b_fathFilterJets_chf);
958 +   fChain->SetBranchAddress("fathFilterJets_ptRaw", fathFilterJets_ptRaw, &b_fathFilterJets_ptRaw);
959 +   fChain->SetBranchAddress("fathFilterJets_ptLeadTrack", fathFilterJets_ptLeadTrack, &b_fathFilterJets_ptLeadTrack);
960 +   fChain->SetBranchAddress("fathFilterJets_flavour", fathFilterJets_flavour, &b_fathFilterJets_flavour);
961 +   fChain->SetBranchAddress("fathFilterJets_isSemiLept", fathFilterJets_isSemiLept, &b_fathFilterJets_isSemiLept);
962 +   fChain->SetBranchAddress("fathFilterJets_isSemiLeptMCtruth", fathFilterJets_isSemiLeptMCtruth, &b_fathFilterJets_isSemiLeptMCtruth);
963 +   fChain->SetBranchAddress("fathFilterJets_genPt", fathFilterJets_genPt, &b_fathFilterJets_genPt);
964 +   fChain->SetBranchAddress("fathFilterJets_genEta", fathFilterJets_genEta, &b_fathFilterJets_genEta);
965 +   fChain->SetBranchAddress("fathFilterJets_genPhi", fathFilterJets_genPhi, &b_fathFilterJets_genPhi);
966 +   fChain->SetBranchAddress("fathFilterJets_vtxMass", fathFilterJets_vtxMass, &b_fathFilterJets_vtxMass);
967 +   fChain->SetBranchAddress("fathFilterJets_vtx3dL", fathFilterJets_vtx3dL, &b_fathFilterJets_vtx3dL);
968 +   fChain->SetBranchAddress("fathFilterJets_vtx3deL", fathFilterJets_vtx3deL, &b_fathFilterJets_vtx3deL);
969 +   fChain->SetBranchAddress("fathFilterJets_vtxPt", fathFilterJets_vtxPt, &b_fathFilterJets_vtxPt);
970 +   fChain->SetBranchAddress("fathFilterJets_vtxEta", fathFilterJets_vtxEta, &b_fathFilterJets_vtxEta);
971 +   fChain->SetBranchAddress("fathFilterJets_vtxPhi", fathFilterJets_vtxPhi, &b_fathFilterJets_vtxPhi);
972 +   fChain->SetBranchAddress("fathFilterJets_vtxE", fathFilterJets_vtxE, &b_fathFilterJets_vtxE);
973 +   fChain->SetBranchAddress("fathFilterJets_AnglePVtoSVmom", fathFilterJets_AnglePVtoSVmom, &b_fathFilterJets_AnglePVtoSVmom);
974 +   fChain->SetBranchAddress("fathFilterJets_AnglePVtoJetmom", fathFilterJets_AnglePVtoJetmom, &b_fathFilterJets_AnglePVtoJetmom);
975 +   fChain->SetBranchAddress("fathFilterJets_csvivf", fathFilterJets_csvivf, &b_fathFilterJets_csvivf);
976 +   fChain->SetBranchAddress("fathFilterJets_cmva", fathFilterJets_cmva, &b_fathFilterJets_cmva);
977     fChain->SetBranchAddress("aJet_pt", aJet_pt, &b_aJet_pt);
978     fChain->SetBranchAddress("aJet_eta", aJet_eta, &b_aJet_eta);
979     fChain->SetBranchAddress("aJet_phi", aJet_phi, &b_aJet_phi);
980     fChain->SetBranchAddress("aJet_e", aJet_e, &b_aJet_e);
981     fChain->SetBranchAddress("aJet_csv", aJet_csv, &b_aJet_csv);
982 +   fChain->SetBranchAddress("aJet_csvivf", aJet_csvivf, &b_aJet_csvivf);
983 +   fChain->SetBranchAddress("aJet_cmva", aJet_cmva, &b_aJet_cmva);
984     fChain->SetBranchAddress("aJet_cosTheta", aJet_cosTheta, &b_aJet_cosTheta);
985     fChain->SetBranchAddress("aJet_numTracksSV", aJet_numTracksSV, &b_aJet_numTracksSV);
986     fChain->SetBranchAddress("aJet_chf", aJet_chf, &b_aJet_chf);
# Line 572 | Line 990 | void ntupleLoader::Init(TTree *tree)
990     fChain->SetBranchAddress("aJet_nch", aJet_nch, &b_aJet_nch);
991     fChain->SetBranchAddress("aJet_nconstituents", aJet_nconstituents, &b_aJet_nconstituents);
992     fChain->SetBranchAddress("aJet_flavour", aJet_flavour, &b_aJet_flavour);
993 +   fChain->SetBranchAddress("aJet_isSemiLept", aJet_isSemiLept, &b_aJet_isSemiLept);
994 +   fChain->SetBranchAddress("aJet_isSemiLeptMCtruth", aJet_isSemiLeptMCtruth, &b_aJet_isSemiLeptMCtruth);
995 +   fChain->SetBranchAddress("aJet_SoftLeptpdgId", aJet_SoftLeptpdgId, &b_aJet_SoftLeptpdgId);
996 +   fChain->SetBranchAddress("aJet_SoftLeptIdlooseMu", aJet_SoftLeptIdlooseMu, &b_aJet_SoftLeptIdlooseMu);
997 +   fChain->SetBranchAddress("aJet_SoftLeptId95", aJet_SoftLeptId95, &b_aJet_SoftLeptId95);
998 +   fChain->SetBranchAddress("aJet_SoftLeptPt", aJet_SoftLeptPt, &b_aJet_SoftLeptPt);
999 +   fChain->SetBranchAddress("aJet_SoftLeptdR", aJet_SoftLeptdR, &b_aJet_SoftLeptdR);
1000 +   fChain->SetBranchAddress("aJet_SoftLeptptRel", aJet_SoftLeptptRel, &b_aJet_SoftLeptptRel);
1001 +   fChain->SetBranchAddress("aJet_SoftLeptRelCombIso", aJet_SoftLeptRelCombIso, &b_aJet_SoftLeptRelCombIso);
1002 +   fChain->SetBranchAddress("aJet_puJetIdL", aJet_puJetIdL, &b_aJet_puJetIdL);
1003 +   fChain->SetBranchAddress("aJet_puJetIdM", aJet_puJetIdM, &b_aJet_puJetIdM);
1004 +   fChain->SetBranchAddress("aJet_puJetIdT", aJet_puJetIdT, &b_aJet_puJetIdT);
1005 +   fChain->SetBranchAddress("aJet_puJetIdMva", aJet_puJetIdMva, &b_aJet_puJetIdMva);
1006     fChain->SetBranchAddress("aJet_genPt", aJet_genPt, &b_aJet_genPt);
1007     fChain->SetBranchAddress("aJet_genEta", aJet_genEta, &b_aJet_genEta);
1008     fChain->SetBranchAddress("aJet_genPhi", aJet_genPhi, &b_aJet_genPhi);
# Line 586 | Line 1017 | void ntupleLoader::Init(TTree *tree)
1017     fChain->SetBranchAddress("aJet_SF_CSVLerr", aJet_SF_CSVLerr, &b_aJet_SF_CSVLerr);
1018     fChain->SetBranchAddress("aJet_SF_CSVMerr", aJet_SF_CSVMerr, &b_aJet_SF_CSVMerr);
1019     fChain->SetBranchAddress("aJet_SF_CSVTerr", aJet_SF_CSVTerr, &b_aJet_SF_CSVTerr);
1020 +   fChain->SetBranchAddress("naJetsFat", &naJetsFat, &b_naJetsFat);
1021 +   fChain->SetBranchAddress("aJetFat_pt", aJetFat_pt, &b_aJetFat_pt);
1022 +   fChain->SetBranchAddress("aJetFat_eta", aJetFat_eta, &b_aJetFat_eta);
1023 +   fChain->SetBranchAddress("aJetFat_phi", aJetFat_phi, &b_aJetFat_phi);
1024 +   fChain->SetBranchAddress("aJetFat_e", aJetFat_e, &b_aJetFat_e);
1025 +   fChain->SetBranchAddress("aJetFat_csv", aJetFat_csv, &b_aJetFat_csv);
1026     fChain->SetBranchAddress("numJets", &numJets, &b_numJets);
1027     fChain->SetBranchAddress("numBJets", &numBJets, &b_numBJets);
1028     fChain->SetBranchAddress("deltaPullAngle", &deltaPullAngle, &b_deltaPullAngle);
# Line 594 | Line 1031 | void ntupleLoader::Init(TTree *tree)
1031     fChain->SetBranchAddress("gendrbb", &gendrbb, &b_gendrbb);
1032     fChain->SetBranchAddress("genZpt", &genZpt, &b_genZpt);
1033     fChain->SetBranchAddress("genWpt", &genWpt, &b_genWpt);
1034 +   fChain->SetBranchAddress("genHpt", &genHpt, &b_genHpt);
1035 +   fChain->SetBranchAddress("lheWeight", &lheWeight, &b_lheWeight);
1036     fChain->SetBranchAddress("weightTrig", &weightTrig, &b_weightTrig);
1037     fChain->SetBranchAddress("weightTrigMay", &weightTrigMay, &b_weightTrigMay);
1038     fChain->SetBranchAddress("weightTrigV4", &weightTrigV4, &b_weightTrigV4);
# Line 610 | Line 1049 | void ntupleLoader::Init(TTree *tree)
1049     fChain->SetBranchAddress("weightTrigMET802CJet", &weightTrigMET802CJet, &b_weightTrigMET802CJet);
1050     fChain->SetBranchAddress("weightTrigMET1002CJet", &weightTrigMET1002CJet, &b_weightTrigMET1002CJet);
1051     fChain->SetBranchAddress("weightTrigMETLP", &weightTrigMETLP, &b_weightTrigMETLP);
1052 +   fChain->SetBranchAddress("weightTrig2012A", &weightTrig2012A, &b_weightTrig2012A);
1053 +   fChain->SetBranchAddress("weightTrig2012ADiMuon", &weightTrig2012ADiMuon, &b_weightTrig2012ADiMuon);
1054 +   fChain->SetBranchAddress("weightTrig2012ADiEle", &weightTrig2012ADiEle, &b_weightTrig2012ADiEle);
1055 +   fChain->SetBranchAddress("weightTrig2012ASingleMuon", &weightTrig2012ASingleMuon, &b_weightTrig2012ASingleMuon);
1056 +   fChain->SetBranchAddress("weightTrig2012ASingleEle", &weightTrig2012ASingleEle, &b_weightTrig2012ASingleEle);
1057 +   fChain->SetBranchAddress("weightTrig2012AMuonPlusWCandPt", &weightTrig2012AMuonPlusWCandPt, &b_weightTrig2012AMuonPlusWCandPt);
1058     fChain->SetBranchAddress("deltaPullAngleAK7", &deltaPullAngleAK7, &b_deltaPullAngleAK7);
1059     fChain->SetBranchAddress("deltaPullAngle2AK7", &deltaPullAngle2AK7, &b_deltaPullAngle2AK7);
1060     fChain->SetBranchAddress("PU0", &PU0, &b_PU0);
# Line 617 | Line 1062 | void ntupleLoader::Init(TTree *tree)
1062     fChain->SetBranchAddress("PUp1", &PUp1, &b_PUp1);
1063     fChain->SetBranchAddress("PUweight", &PUweight, &b_PUweight);
1064     fChain->SetBranchAddress("PUweight2011B", &PUweight2011B, &b_PUweight2011B);
1065 +   fChain->SetBranchAddress("PUweight1DObs", &PUweight1DObs, &b_PUweight1DObs);
1066     fChain->SetBranchAddress("eventFlav", &eventFlav, &b_eventFlav);
1067     fChain->SetBranchAddress("Vtype", &Vtype, &b_Vtype);
1068     fChain->SetBranchAddress("HVdPhi", &HVdPhi, &b_HVdPhi);
# Line 646 | Line 1092 | void ntupleLoader::Init(TTree *tree)
1092     fChain->SetBranchAddress("vLepton_genPt", vLepton_genPt, &b_vLepton_genPt);
1093     fChain->SetBranchAddress("vLepton_genEta", vLepton_genEta, &b_vLepton_genEta);
1094     fChain->SetBranchAddress("vLepton_genPhi", vLepton_genPhi, &b_vLepton_genPhi);
1095 +   fChain->SetBranchAddress("vLepton_charge", vLepton_charge, &b_vLepton_charge);
1096 +   fChain->SetBranchAddress("vLepton_pfCorrIso", vLepton_pfCorrIso, &b_vLepton_pfCorrIso);
1097 +   fChain->SetBranchAddress("vLepton_id2012tight", vLepton_id2012tight, &b_vLepton_id2012tight);
1098 +   fChain->SetBranchAddress("vLepton_idMVAnotrig", vLepton_idMVAnotrig, &b_vLepton_idMVAnotrig);
1099 +   fChain->SetBranchAddress("vLepton_idMVAtrig", vLepton_idMVAtrig, &b_vLepton_idMVAtrig);
1100 +   fChain->SetBranchAddress("vLepton_innerHits", vLepton_innerHits, &b_vLepton_innerHits);
1101 +   fChain->SetBranchAddress("vLepton_photonIsoDoubleCount", vLepton_photonIsoDoubleCount, &b_vLepton_photonIsoDoubleCount);
1102 +   fChain->SetBranchAddress("vLepton_wp95", vLepton_wp95, &b_vLepton_wp95);
1103 +   fChain->SetBranchAddress("vLepton_wp90", vLepton_wp90, &b_vLepton_wp90);
1104 +   fChain->SetBranchAddress("vLepton_wp85", vLepton_wp85, &b_vLepton_wp85);
1105 +   fChain->SetBranchAddress("vLepton_wp80", vLepton_wp80, &b_vLepton_wp80);
1106 +   fChain->SetBranchAddress("vLepton_wp70", vLepton_wp70, &b_vLepton_wp70);
1107     fChain->SetBranchAddress("aLepton_mass", aLepton_mass, &b_aLepton_mass);
1108     fChain->SetBranchAddress("aLepton_pt", aLepton_pt, &b_aLepton_pt);
1109     fChain->SetBranchAddress("aLepton_eta", aLepton_eta, &b_aLepton_eta);
# Line 667 | Line 1125 | void ntupleLoader::Init(TTree *tree)
1125     fChain->SetBranchAddress("aLepton_genPt", aLepton_genPt, &b_aLepton_genPt);
1126     fChain->SetBranchAddress("aLepton_genEta", aLepton_genEta, &b_aLepton_genEta);
1127     fChain->SetBranchAddress("aLepton_genPhi", aLepton_genPhi, &b_aLepton_genPhi);
1128 +   fChain->SetBranchAddress("aLepton_charge", aLepton_charge, &b_aLepton_charge);
1129 +   fChain->SetBranchAddress("aLepton_pfCorrIso", aLepton_pfCorrIso, &b_aLepton_pfCorrIso);
1130 +   fChain->SetBranchAddress("aLepton_id2012tight", aLepton_id2012tight, &b_aLepton_id2012tight);
1131 +   fChain->SetBranchAddress("aLepton_idMVAnotrig", aLepton_idMVAnotrig, &b_aLepton_idMVAnotrig);
1132 +   fChain->SetBranchAddress("aLepton_idMVAtrig", aLepton_idMVAtrig, &b_aLepton_idMVAtrig);
1133 +   fChain->SetBranchAddress("aLepton_innerHits", aLepton_innerHits, &b_aLepton_innerHits);
1134 +   fChain->SetBranchAddress("aLepton_photonIsoDoubleCount", aLepton_photonIsoDoubleCount, &b_aLepton_photonIsoDoubleCount);
1135 +   fChain->SetBranchAddress("aLepton_wp95", aLepton_wp95, &b_aLepton_wp95);
1136 +   fChain->SetBranchAddress("aLepton_wp90", aLepton_wp90, &b_aLepton_wp90);
1137 +   fChain->SetBranchAddress("aLepton_wp85", aLepton_wp85, &b_aLepton_wp85);
1138 +   fChain->SetBranchAddress("aLepton_wp80", aLepton_wp80, &b_aLepton_wp80);
1139 +   fChain->SetBranchAddress("aLepton_wp70", aLepton_wp70, &b_aLepton_wp70);
1140     fChain->SetBranchAddress("top", &top_mass, &b_top);
1141     fChain->SetBranchAddress("WplusMode", &WplusMode, &b_WplusMode);
1142     fChain->SetBranchAddress("WminusMode", &WminusMode, &b_WminusMode);
# Line 695 | Line 1165 | void ntupleLoader::Init(TTree *tree)
1165     fChain->SetBranchAddress("SimBsH", &SimBsH_mass, &b_SimBsH);
1166     fChain->SetBranchAddress("rho", &rho, &b_rho);
1167     fChain->SetBranchAddress("rho25", &rho25, &b_rho25);
1168 +   fChain->SetBranchAddress("rhoN", &rhoN, &b_rhoN);
1169     fChain->SetBranchAddress("nPVs", &nPVs, &b_nPVs);
1170     fChain->SetBranchAddress("METnoPU", &METnoPU_et, &b_METnoPU);
1171     fChain->SetBranchAddress("METnoPUCh", &METnoPUCh_et, &b_METnoPUCh);
1172     fChain->SetBranchAddress("MET", &MET_et, &b_MET);
1173 +   fChain->SetBranchAddress("METtype1corr", &METtype1corr_et, &b_METtype1corr);
1174 +   fChain->SetBranchAddress("METtype1p2corr", &METtype1p2corr_et, &b_METtype1p2corr);
1175 +   fChain->SetBranchAddress("METnoPUtype1corr", &METnoPUtype1corr_et, &b_METnoPUtype1corr);
1176 +   fChain->SetBranchAddress("METnoPUtype1p2corr", &METnoPUtype1p2corr_et, &b_METnoPUtype1p2corr);
1177 +   fChain->SetBranchAddress("metUnc_et", metUnc_et, &b_et);
1178 +   fChain->SetBranchAddress("metUnc_phi", metUnc_phi, &b_phi);
1179 +   fChain->SetBranchAddress("metUnc_sumet", metUnc_sumet, &b_sumet);
1180     fChain->SetBranchAddress("fakeMET", &fakeMET_et, &b_fakeMET);
1181     fChain->SetBranchAddress("MHT", &MHT_mht, &b_MHT);
1182     fChain->SetBranchAddress("minDeltaPhijetMET", &minDeltaPhijetMET, &b_minDeltaPhijetMET);
# Line 708 | Line 1186 | void ntupleLoader::Init(TTree *tree)
1186     fChain->SetBranchAddress("hbhe", &hbhe, &b_hbhe);
1187     fChain->SetBranchAddress("totalKinematics", &totalKinematics, &b_totalKinematics);
1188     fChain->SetBranchAddress("ecalFlag", &ecalFlag, &b_ecalFlag);
1189 +   fChain->SetBranchAddress("cschaloFlag", &cschaloFlag, &b_cschaloFlag);
1190 +   fChain->SetBranchAddress("hcallaserFlag", &hcallaserFlag, &b_hcallaserFlag);
1191 +   fChain->SetBranchAddress("trackingfailureFlag", &trackingfailureFlag, &b_trackingfailureFlag);
1192     fChain->SetBranchAddress("btag1TSF", &btag1TSF, &b_btag1TSF);
1193     fChain->SetBranchAddress("btag2TSF", &btag2TSF, &b_btag2TSF);
1194     fChain->SetBranchAddress("btag1T2CSF", &btag1T2CSF, &b_btag1T2CSF);
# Line 715 | Line 1196 | void ntupleLoader::Init(TTree *tree)
1196     fChain->SetBranchAddress("btagA0CSF", &btagA0CSF, &b_btagA0CSF);
1197     fChain->SetBranchAddress("btagA0TSF", &btagA0TSF, &b_btagA0TSF);
1198     fChain->SetBranchAddress("btag1TA1C", &btag1TA1C, &b_btag1TA1C);
1199 +   fChain->SetBranchAddress("PUweight2011BUp", &PUweight2011BUp, &b_PUweight2011BUp);
1200 +   fChain->SetBranchAddress("PUweight2011BDown", &PUweight2011BDown, &b_PUweight2011BDown);
1201 +   fChain->SetBranchAddress("hJet_csvOld", hJet_csvOld, &b_hJet_csvOld);
1202 +   fChain->SetBranchAddress("hJet_csvDown", hJet_csvDown, &b_hJet_csvDown);
1203 +   fChain->SetBranchAddress("hJet_csvUp", hJet_csvUp, &b_hJet_csvUp);
1204 +   fChain->SetBranchAddress("hJet_csvFDown", hJet_csvFDown, &b_hJet_csvFDown);
1205 +   fChain->SetBranchAddress("hJet_csvFUp", hJet_csvFUp, &b_hJet_csvFUp);
1206 +   fChain->SetBranchAddress("weightTrig_up", &weightTrig_up, &b_weightTrig_up);
1207 +   fChain->SetBranchAddress("weightTrigMay_up", &weightTrigMay_up, &b_weightTrigMay);
1208 +   fChain->SetBranchAddress("weightTrigV4_up", &weightTrigV4_up, &b_weightTrigV4);
1209 +   fChain->SetBranchAddress("weightTrigMET_up", &weightTrigMET_up, &b_weightTrigMET);
1210 +   fChain->SetBranchAddress("weightTrigOrMu30_up", &weightTrigOrMu30_up, &b_weightTrigOrMu30);
1211 +   fChain->SetBranchAddress("weightEleRecoAndId_up", &weightEleRecoAndId_up, &b_weightEleRecoAndId);
1212 +   fChain->SetBranchAddress("weightEleTrigJetMETPart_up", &weightEleTrigJetMETPart_up, &b_weightEleTrigJetMETPart);
1213 +   fChain->SetBranchAddress("weightEleTrigElePart_up", &weightEleTrigElePart_up, &b_weightEleTrigElePart);
1214     Notify();
1215   }
1216  
# Line 743 | Line 1239 | Int_t ntupleLoader::Cut(Long64_t entry)
1239   // returns -1 otherwise.
1240     return 1;
1241   }
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 }
1242   #endif // #ifdef ntupleLoader_cxx
762

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines