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.3 by bortigno, Tue Jun 5 09:10:00 2012 UTC vs.
Revision 1.6 by bortigno, Mon Oct 22 14:51:03 2012 UTC

# Line 1 | Line 1
1   //////////////////////////////////////////////////////////
2   // This class has been automatically generated on
3 < // Fri Jun  1 19:10:13 2012 by ROOT version 5.27/06b
3 > // Thu Jun 14 17:42:52 2012 by ROOT version 5.32/00
4   // from TTree tree/myTree
5 < // found on file: histos/ZllH.Jun01.T_tW-channel-DR_TuneZ2star_8TeV-powheg-tauola.root
5 > // found on file: ZllH.Jun14.DYJetsToLL_PtZ-70To100_TuneZ2star_8TeV-madgraph-tarball.root
6   //////////////////////////////////////////////////////////
7  
8   #ifndef ntupleLoader_hpp
# Line 11 | Line 11
11   #include <TROOT.h>
12   #include <TChain.h>
13   #include <TFile.h>
14 + #include "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;
# Line 41 | Line 50 | public :
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;
# Line 134 | Line 145 | public :
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]
# Line 203 | Line 219 | public :
219     Float_t         fathFilterJets_cmva[3];   //[nfathFilterJets]
220     Float_t         fathFilterJets_AnglePVtoSVmom[3];   //!
221     Float_t         fathFilterJets_AnglePVtoJetmom[3];   //!
222 <   Float_t         aJet_pt[9];   //[naJets]
223 <   Float_t         aJet_eta[9];   //[naJets]
224 <   Float_t         aJet_phi[9];   //[naJets]
225 <   Float_t         aJet_e[9];   //[naJets]
226 <   Float_t         aJet_csv[9];   //[naJets]
227 <   Float_t         aJet_csvivf[9];   //[naJets]
228 <   Float_t         aJet_cmva[9];   //[naJets]
229 <   Float_t         aJet_cosTheta[9];   //[naJets]
230 <   Int_t           aJet_numTracksSV[9];   //[naJets]
231 <   Float_t         aJet_chf[9];   //[naJets]
232 <   Float_t         aJet_nhf[9];   //[naJets]
233 <   Float_t         aJet_cef[9];   //[naJets]
234 <   Float_t         aJet_nef[9];   //[naJets]
235 <   Float_t         aJet_nch[9];   //[naJets]
236 <   Float_t         aJet_nconstituents[9];   //[naJets]
237 <   Float_t         aJet_flavour[9];   //[naJets]
238 <   Int_t           aJet_isSemiLept[9];   //[naJets]
239 <   Int_t           aJet_isSemiLeptMCtruth[9];   //[naJets]
240 <   Int_t           aJet_SoftLeptpdgId[9];   //[naJets]
241 <   Int_t           aJet_SoftLeptIdlooseMu[9];   //[naJets]
242 <   Int_t           aJet_SoftLeptId95[9];   //[naJets]
243 <   Float_t         aJet_SoftLeptPt[9];   //[naJets]
244 <   Float_t         aJet_SoftLeptdR[9];   //[naJets]
245 <   Float_t         aJet_SoftLeptptRel[9];   //[naJets]
246 <   Float_t         aJet_SoftLeptRelCombIso[9];   //[naJets]
247 <   Float_t         aJet_puJetIdL[9];   //[naJets]
248 <   Float_t         aJet_puJetIdM[9];   //[naJets]
249 <   Float_t         aJet_puJetIdT[9];   //[naJets]
250 <   Float_t         aJet_puJetIdMva[9];   //[naJets]
251 <   Float_t         aJet_genPt[9];   //[naJets]
252 <   Float_t         aJet_genEta[9];   //[naJets]
253 <   Float_t         aJet_genPhi[9];   //[naJets]
254 <   Float_t         aJet_JECUnc[9];   //[naJets]
255 <   Float_t         aJet_vtxMass[9];   //[naJets]
256 <   Float_t         aJet_vtx3dL[9];   //[naJets]
257 <   Float_t         aJet_vtx3deL[9];   //[naJets]
258 <   UChar_t         aJet_id[9];   //[naJets]
259 <   UChar_t         aJet_SF_CSVL[9];   //[naJets]
260 <   UChar_t         aJet_SF_CSVM[9];   //[naJets]
261 <   UChar_t         aJet_SF_CSVT[9];   //[naJets]
262 <   UChar_t         aJet_SF_CSVLerr[9];   //[naJets]
263 <   UChar_t         aJet_SF_CSVMerr[9];   //[naJets]
264 <   UChar_t         aJet_SF_CSVTerr[9];   //[naJets]
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;
# Line 278 | Line 299 | public :
299     Float_t         weightTrigMET802CJet;
300     Float_t         weightTrigMET1002CJet;
301     Float_t         weightTrigMETLP;
302 +   Float_t         weightTrig2012;
303     Float_t         weightTrig2012A;
304     Float_t         weightTrig2012ADiMuon;
305     Float_t         weightTrig2012ADiEle;
306     Float_t         weightTrig2012ASingleMuon;
307     Float_t         weightTrig2012ASingleEle;
308     Float_t         weightTrig2012AMuonPlusWCandPt;
309 +   Float_t         weightTrig2012DiJet30MHT80;
310 +   Float_t         weightTrig2012PFMET150;
311 +   Float_t         weightTrig2012SumpT100MET100;
312     Float_t         deltaPullAngleAK7;
313     Float_t         deltaPullAngle2AK7;
314     Float_t         PU0;
# Line 326 | Line 351 | public :
351     Float_t         vLepton_id2012tight[2];   //[nvlep]
352     Float_t         vLepton_idMVAnotrig[2];   //[nvlep]
353     Float_t         vLepton_idMVAtrig[2];   //[nvlep]
354 +   Float_t         vLepton_idMVApresel[2];   //[nvlep]
355     Float_t         vLepton_innerHits[2];   //[nvlep]
356     Float_t         vLepton_photonIsoDoubleCount[2];   //[nvlep]
357 +   Float_t         vLepton_wpHWW[2];   //[nvlep]
358     Float_t         vLepton_wp95[2];   //[nvlep]
359     Float_t         vLepton_wp90[2];   //[nvlep]
360     Float_t         vLepton_wp85[2];   //[nvlep]
# Line 359 | Line 386 | public :
386     Float_t         aLepton_id2012tight[55];   //[nalep]
387     Float_t         aLepton_idMVAnotrig[55];   //[nalep]
388     Float_t         aLepton_idMVAtrig[55];   //[nalep]
389 +   Float_t         aLepton_idMVApresel[55];   //[nalep]
390     Float_t         aLepton_innerHits[55];   //[nalep]
391     Float_t         aLepton_photonIsoDoubleCount[55];   //[nalep]
392 +   Float_t         aLepton_wpHWW[55];   //[nalep]
393     Float_t         aLepton_wp95[55];   //[nalep]
394     Float_t         aLepton_wp90[55];   //[nalep]
395     Float_t         aLepton_wp85[55];   //[nalep]
# Line 451 | Line 480 | public :
480     Float_t         MHT_phi;
481     Float_t         minDeltaPhijetMET;
482     Float_t         jetPt_minDeltaPhijetMET;
483 <   UChar_t         triggerFlags[49];
483 >   UChar_t         triggerFlags[50];
484     Int_t           EVENT_run;
485     Int_t           EVENT_lumi;
486     Int_t           EVENT_event;
# Line 490 | Line 519 | public :
519     TBranch        *b_V;   //!
520     TBranch        *b_FatH;   //!
521     TBranch        *b_lheV_pt;   //!
522 +   TBranch        *b_lheHT;   //!
523 +   TBranch        *b_lheNj;   //!
524     TBranch        *b_genZ;   //!
525     TBranch        *b_genZstar;   //!
526     TBranch        *b_genW;   //!
# Line 508 | Line 539 | public :
539     TBranch        *b_hJet_phi;   //!
540     TBranch        *b_hJet_e;   //!
541     TBranch        *b_hJet_csv;   //!
542 +   TBranch        *b_hJet_csv_nominal;   //!
543 +   TBranch        *b_hJet_csv_upBC;   //!
544 +   TBranch        *b_hJet_csv_downBC;   //!
545 +   TBranch        *b_hJet_csv_upL;   //!
546 +   TBranch        *b_hJet_csv_downL;   //!
547     TBranch        *b_hJet_csvivf;   //!
548     TBranch        *b_hJet_cmva;   //!
549     TBranch        *b_hJet_cosTheta;   //!
# Line 582 | Line 618 | public :
618     TBranch        *b_aJet_phi;   //!
619     TBranch        *b_aJet_e;   //!
620     TBranch        *b_aJet_csv;   //!
621 +   TBranch        *b_aJet_csv_nominal;   //!
622 +   TBranch        *b_aJet_csv_upBC;   //!
623 +   TBranch        *b_aJet_csv_downBC;   //!
624 +   TBranch        *b_aJet_csv_upL;   //!
625 +   TBranch        *b_aJet_csv_downL;   //!
626     TBranch        *b_aJet_csvivf;   //!
627     TBranch        *b_aJet_cmva;   //!
628     TBranch        *b_aJet_cosTheta;   //!
# Line 652 | Line 693 | public :
693     TBranch        *b_weightTrigMET802CJet;   //!
694     TBranch        *b_weightTrigMET1002CJet;   //!
695     TBranch        *b_weightTrigMETLP;   //!
696 +   TBranch        *b_weightTrig2012;   //!
697     TBranch        *b_weightTrig2012A;   //!
698     TBranch        *b_weightTrig2012ADiMuon;   //!
699     TBranch        *b_weightTrig2012ADiEle;   //!
700     TBranch        *b_weightTrig2012ASingleMuon;   //!
701     TBranch        *b_weightTrig2012ASingleEle;   //!
702     TBranch        *b_weightTrig2012AMuonPlusWCandPt;   //!
703 +   TBranch        *b_weightTrig2012DiJet30MHT80;   //!
704 +   TBranch        *b_weightTrig2012PFMET150;   //!
705 +   TBranch        *b_weightTrig2012SumpT100MET100;   //!
706     TBranch        *b_deltaPullAngleAK7;   //!
707     TBranch        *b_deltaPullAngle2AK7;   //!
708     TBranch        *b_PU0;   //!
# Line 700 | Line 745 | public :
745     TBranch        *b_vLepton_id2012tight;   //!
746     TBranch        *b_vLepton_idMVAnotrig;   //!
747     TBranch        *b_vLepton_idMVAtrig;   //!
748 +   TBranch        *b_vLepton_idMVApresel;   //!
749     TBranch        *b_vLepton_innerHits;   //!
750     TBranch        *b_vLepton_photonIsoDoubleCount;   //!
751 +   TBranch        *b_vLepton_wpHWW;   //!
752     TBranch        *b_vLepton_wp95;   //!
753     TBranch        *b_vLepton_wp90;   //!
754     TBranch        *b_vLepton_wp85;   //!
# Line 733 | Line 780 | public :
780     TBranch        *b_aLepton_id2012tight;   //!
781     TBranch        *b_aLepton_idMVAnotrig;   //!
782     TBranch        *b_aLepton_idMVAtrig;   //!
783 +   TBranch        *b_aLepton_idMVApresel;   //!
784     TBranch        *b_aLepton_innerHits;   //!
785     TBranch        *b_aLepton_photonIsoDoubleCount;   //!
786 +   TBranch        *b_aLepton_wpHWW;   //!
787     TBranch        *b_aLepton_wp95;   //!
788     TBranch        *b_aLepton_wp90;   //!
789     TBranch        *b_aLepton_wp85;   //!
# Line 826 | Line 875 | public :
875   };
876  
877  
878 < ntupleLoader::ntupleLoader(const char * infile)
878 > ntupleLoader::ntupleLoader(const char * infile):
879 >  reshape("../data/csvdiscr.root",0,0),
880 >  reshape_bTagUp("../data/csvdiscr.root",1,0),
881 >  reshape_bTagDown("../data/csvdiscr.root",-1,0),
882 >  reshape_misTagUp("../data/csvdiscr.root",0,1),
883 >  reshape_misTagDown("../data/csvdiscr.root",0,-1)
884   {
885   // if parameter tree is not specified (or zero), connect the file
886   // used to generate this class and read the Tree.
# Line 840 | Line 894 | ntupleLoader::ntupleLoader(const char *
894  
895     }
896     Init(tree);
897 +
898 + //    //for the reshaping
899 + //    BTagShapeInterface btagSh("../data/csvdisc.root",0,0);
900 + //    sh = btagSh;
901 +
902   }
903  
904   ntupleLoader::~ntupleLoader()
# Line 887 | Line 946 | void ntupleLoader::Init(TTree *tree)
946     fChain->SetBranchAddress("V", &V_mass, &b_V);
947     fChain->SetBranchAddress("FatH", &FatH_FatHiggsFlag, &b_FatH);
948     fChain->SetBranchAddress("lheV_pt", &lheV_pt, &b_lheV_pt);
949 +   fChain->SetBranchAddress("lheHT", &lheHT, &b_lheHT);
950 +   fChain->SetBranchAddress("lheNj", &lheNj, &b_lheNj);
951     fChain->SetBranchAddress("genZ", &genZ_mass, &b_genZ);
952     fChain->SetBranchAddress("genZstar", &genZstar_mass, &b_genZstar);
953     fChain->SetBranchAddress("genW", &genW_mass, &b_genW);
# Line 905 | Line 966 | void ntupleLoader::Init(TTree *tree)
966     fChain->SetBranchAddress("hJet_phi", hJet_phi, &b_hJet_phi);
967     fChain->SetBranchAddress("hJet_e", hJet_e, &b_hJet_e);
968     fChain->SetBranchAddress("hJet_csv", hJet_csv, &b_hJet_csv);
969 +   fChain->SetBranchAddress("hJet_csv_nominal", hJet_csv_nominal, &b_hJet_csv_nominal);
970 +   fChain->SetBranchAddress("hJet_csv_upBC", hJet_csv_upBC, &b_hJet_csv_upBC);
971 +   fChain->SetBranchAddress("hJet_csv_downBC", hJet_csv_downBC, &b_hJet_csv_downBC);
972 +   fChain->SetBranchAddress("hJet_csv_upL", hJet_csv_upL, &b_hJet_csv_upL);
973 +   fChain->SetBranchAddress("hJet_csv_downL", hJet_csv_downL, &b_hJet_csv_downL);
974     fChain->SetBranchAddress("hJet_csvivf", hJet_csvivf, &b_hJet_csvivf);
975     fChain->SetBranchAddress("hJet_cmva", hJet_cmva, &b_hJet_cmva);
976     fChain->SetBranchAddress("hJet_cosTheta", hJet_cosTheta, &b_hJet_cosTheta);
# Line 979 | Line 1045 | void ntupleLoader::Init(TTree *tree)
1045     fChain->SetBranchAddress("aJet_phi", aJet_phi, &b_aJet_phi);
1046     fChain->SetBranchAddress("aJet_e", aJet_e, &b_aJet_e);
1047     fChain->SetBranchAddress("aJet_csv", aJet_csv, &b_aJet_csv);
1048 +   fChain->SetBranchAddress("aJet_csv_nominal", aJet_csv_nominal, &b_aJet_csv_nominal);
1049 +   fChain->SetBranchAddress("aJet_csv_upBC", aJet_csv_upBC, &b_aJet_csv_upBC);
1050 +   fChain->SetBranchAddress("aJet_csv_downBC", aJet_csv_downBC, &b_aJet_csv_downBC);
1051 +   fChain->SetBranchAddress("aJet_csv_upL", aJet_csv_upL, &b_aJet_csv_upL);
1052 +   fChain->SetBranchAddress("aJet_csv_downL", aJet_csv_downL, &b_aJet_csv_downL);
1053     fChain->SetBranchAddress("aJet_csvivf", aJet_csvivf, &b_aJet_csvivf);
1054     fChain->SetBranchAddress("aJet_cmva", aJet_cmva, &b_aJet_cmva);
1055     fChain->SetBranchAddress("aJet_cosTheta", aJet_cosTheta, &b_aJet_cosTheta);
# Line 1049 | Line 1120 | void ntupleLoader::Init(TTree *tree)
1120     fChain->SetBranchAddress("weightTrigMET802CJet", &weightTrigMET802CJet, &b_weightTrigMET802CJet);
1121     fChain->SetBranchAddress("weightTrigMET1002CJet", &weightTrigMET1002CJet, &b_weightTrigMET1002CJet);
1122     fChain->SetBranchAddress("weightTrigMETLP", &weightTrigMETLP, &b_weightTrigMETLP);
1123 +   fChain->SetBranchAddress("weightTrig2012", &weightTrig2012, &b_weightTrig2012);
1124     fChain->SetBranchAddress("weightTrig2012A", &weightTrig2012A, &b_weightTrig2012A);
1125     fChain->SetBranchAddress("weightTrig2012ADiMuon", &weightTrig2012ADiMuon, &b_weightTrig2012ADiMuon);
1126     fChain->SetBranchAddress("weightTrig2012ADiEle", &weightTrig2012ADiEle, &b_weightTrig2012ADiEle);
1127     fChain->SetBranchAddress("weightTrig2012ASingleMuon", &weightTrig2012ASingleMuon, &b_weightTrig2012ASingleMuon);
1128     fChain->SetBranchAddress("weightTrig2012ASingleEle", &weightTrig2012ASingleEle, &b_weightTrig2012ASingleEle);
1129     fChain->SetBranchAddress("weightTrig2012AMuonPlusWCandPt", &weightTrig2012AMuonPlusWCandPt, &b_weightTrig2012AMuonPlusWCandPt);
1130 +   fChain->SetBranchAddress("weightTrig2012DiJet30MHT80", &weightTrig2012DiJet30MHT80, &b_weightTrig2012DiJet30MHT80);
1131 +   fChain->SetBranchAddress("weightTrig2012PFMET150", &weightTrig2012PFMET150, &b_weightTrig2012PFMET150);
1132 +   fChain->SetBranchAddress("weightTrig2012SumpT100MET100", &weightTrig2012SumpT100MET100, &b_weightTrig2012SumpT100MET100);
1133     fChain->SetBranchAddress("deltaPullAngleAK7", &deltaPullAngleAK7, &b_deltaPullAngleAK7);
1134     fChain->SetBranchAddress("deltaPullAngle2AK7", &deltaPullAngle2AK7, &b_deltaPullAngle2AK7);
1135     fChain->SetBranchAddress("PU0", &PU0, &b_PU0);
# Line 1097 | Line 1172 | void ntupleLoader::Init(TTree *tree)
1172     fChain->SetBranchAddress("vLepton_id2012tight", vLepton_id2012tight, &b_vLepton_id2012tight);
1173     fChain->SetBranchAddress("vLepton_idMVAnotrig", vLepton_idMVAnotrig, &b_vLepton_idMVAnotrig);
1174     fChain->SetBranchAddress("vLepton_idMVAtrig", vLepton_idMVAtrig, &b_vLepton_idMVAtrig);
1175 +   fChain->SetBranchAddress("vLepton_idMVApresel", vLepton_idMVApresel, &b_vLepton_idMVApresel);
1176     fChain->SetBranchAddress("vLepton_innerHits", vLepton_innerHits, &b_vLepton_innerHits);
1177     fChain->SetBranchAddress("vLepton_photonIsoDoubleCount", vLepton_photonIsoDoubleCount, &b_vLepton_photonIsoDoubleCount);
1178 +   fChain->SetBranchAddress("vLepton_wpHWW", vLepton_wpHWW, &b_vLepton_wpHWW);
1179     fChain->SetBranchAddress("vLepton_wp95", vLepton_wp95, &b_vLepton_wp95);
1180     fChain->SetBranchAddress("vLepton_wp90", vLepton_wp90, &b_vLepton_wp90);
1181     fChain->SetBranchAddress("vLepton_wp85", vLepton_wp85, &b_vLepton_wp85);
# Line 1130 | Line 1207 | void ntupleLoader::Init(TTree *tree)
1207     fChain->SetBranchAddress("aLepton_id2012tight", aLepton_id2012tight, &b_aLepton_id2012tight);
1208     fChain->SetBranchAddress("aLepton_idMVAnotrig", aLepton_idMVAnotrig, &b_aLepton_idMVAnotrig);
1209     fChain->SetBranchAddress("aLepton_idMVAtrig", aLepton_idMVAtrig, &b_aLepton_idMVAtrig);
1210 +   fChain->SetBranchAddress("aLepton_idMVApresel", aLepton_idMVApresel, &b_aLepton_idMVApresel);
1211     fChain->SetBranchAddress("aLepton_innerHits", aLepton_innerHits, &b_aLepton_innerHits);
1212     fChain->SetBranchAddress("aLepton_photonIsoDoubleCount", aLepton_photonIsoDoubleCount, &b_aLepton_photonIsoDoubleCount);
1213 +   fChain->SetBranchAddress("aLepton_wpHWW", aLepton_wpHWW, &b_aLepton_wpHWW);
1214     fChain->SetBranchAddress("aLepton_wp95", aLepton_wp95, &b_aLepton_wp95);
1215     fChain->SetBranchAddress("aLepton_wp90", aLepton_wp90, &b_aLepton_wp90);
1216     fChain->SetBranchAddress("aLepton_wp85", aLepton_wp85, &b_aLepton_wp85);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines