From 6cdb04d5f60b1e1991c475ff2dfc788058137eed Mon Sep 17 00:00:00 2001
From: Philip Chang
Date: Sat, 14 Oct 2023 10:48:48 -0400
Subject: [PATCH] update
---
NanoCORE/ElectronSelections.cc | 6 +++---
NanoCORE/MuonSelections.cc | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/NanoCORE/ElectronSelections.cc b/NanoCORE/ElectronSelections.cc
index 729df5f..049c194 100644
--- a/NanoCORE/ElectronSelections.cc
+++ b/NanoCORE/ElectronSelections.cc
@@ -460,13 +460,13 @@ bool WWZ::electronID(int idx, WWZ::IDLevel id_level, int year) {
// Year-specific checks
switch (year) {
case (2016):
- return WWZ::electron2016ID(idx, id_level);
+ return WWZ::electronRun2ID(idx, id_level);
break;
case (2017):
- return WWZ::electron2017ID(idx, id_level);
+ return WWZ::electronRun2ID(idx, id_level);
break;
case (2018):
- return WWZ::electron2018ID(idx, id_level);
+ return WWZ::electronRun2ID(idx, id_level);
break;
case (2022):
return WWZ::electron2022ID(idx, id_level);
diff --git a/NanoCORE/MuonSelections.cc b/NanoCORE/MuonSelections.cc
index aee8736..d440b26 100644
--- a/NanoCORE/MuonSelections.cc
+++ b/NanoCORE/MuonSelections.cc
@@ -241,13 +241,13 @@ bool WWZ::muonID(int idx, WWZ::IDLevel id_level, int year) {
// Year-specific checks
switch (year) {
case (2016):
- return WWZ::muon2016ID(idx, id_level);
+ return WWZ::muonRun2ID(idx, id_level);
break;
case (2017):
- return WWZ::muon2017ID(idx, id_level);
+ return WWZ::muonRun2ID(idx, id_level);
break;
case (2018):
- return WWZ::muon2018ID(idx, id_level);
+ return WWZ::muonRun2ID(idx, id_level);
break;
case (2022):
return WWZ::muon2022ID(idx, id_level);