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");