From 746eabcd705c1fc1b04abb1eed2c63321121b6bb Mon Sep 17 00:00:00 2001 From: weihua19900704 Date: Fri, 27 Feb 2015 22:28:25 +0100 Subject: [PATCH] fix typo to make ntop right --- Tool/LostLepton_ElCS_TTbar.cc | 2 +- Tool/LostLepton_MuCS_TTbar.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tool/LostLepton_ElCS_TTbar.cc b/Tool/LostLepton_ElCS_TTbar.cc index 3c72017..c756f37 100644 --- a/Tool/LostLepton_ElCS_TTbar.cc +++ b/Tool/LostLepton_ElCS_TTbar.cc @@ -668,7 +668,7 @@ int main(int argc, char* argv[]) double metphi = trCS.getVar("metphi"); int njets30 = trCS.getVar("cntNJetsPt30Eta24"); - int ntopjets = tr.getVar("nTopCandSortedCnt"); + int ntopjets = trCS.getVar("nTopCandSortedCnt"); double MT2 = trCS.getVar("MT22"); double bestTopJetMass = trCS.getVar("bestTopJetMass2"); double ht = trCS.getVar("ht"); diff --git a/Tool/LostLepton_MuCS_TTbar.cc b/Tool/LostLepton_MuCS_TTbar.cc index 327b425..3274c40 100644 --- a/Tool/LostLepton_MuCS_TTbar.cc +++ b/Tool/LostLepton_MuCS_TTbar.cc @@ -669,7 +669,7 @@ int main(int argc, char* argv[]) double metphi = trCS.getVar("metphi"); int njets30 = trCS.getVar("cntNJetsPt30Eta24"); - int ntopjets = tr.getVar("nTopCandSortedCnt"); + int ntopjets = trCS.getVar("nTopCandSortedCnt"); double MT2 = trCS.getVar("MT22"); double bestTopJetMass = trCS.getVar("bestTopJetMass2"); double ht = trCS.getVar("ht");