Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
sgnoohc committed Oct 14, 2023
1 parent 6cdb04d commit 734cf07
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions NanoCORE/ElectronSelections.cc
Original file line number Diff line number Diff line change
Expand Up @@ -460,13 +460,13 @@ bool WWZ::electronID(int idx, WWZ::IDLevel id_level, int year) {
// Year-specific checks
switch (year) {
case (2016):
return WWZ::electronRun2ID(idx, id_level);
return WWZ::electronRun2ID(idx);
break;
case (2017):
return WWZ::electronRun2ID(idx, id_level);
return WWZ::electronRun2ID(idx);
break;
case (2018):
return WWZ::electronRun2ID(idx, id_level);
return WWZ::electronRun2ID(idx);
break;
case (2022):
return WWZ::electron2022ID(idx, id_level);
Expand Down
8 changes: 4 additions & 4 deletions NanoCORE/MuonSelections.cc
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ bool WWZ::muonID(int idx, WWZ::IDLevel id_level, int year) {
// Year-specific checks
switch (year) {
case (2016):
return WWZ::muonRun2ID(idx, id_level);
return WWZ::muonRun2ID(idx);
break;
case (2017):
return WWZ::muonRun2ID(idx, id_level);
return WWZ::muonRun2ID(idx);
break;
case (2018):
return WWZ::muonRun2ID(idx, id_level);
return WWZ::muonRun2ID(idx);
break;
case (2022):
return WWZ::muon2022ID(idx, id_level);
Expand All @@ -259,7 +259,7 @@ bool WWZ::muonID(int idx, WWZ::IDLevel id_level, int year) {
}
}

bool WWZ::muonRun2ID(unsigned int idx, WWZ::IDLevel id_level) {
bool WWZ::muonRun2ID(unsigned int idx) {
// These cuts are common for all ID levels of Muon
if (not (tas::Muon_pt().at(idx) > 10. )) return false;
if (not (fabs(tas::Muon_eta().at(idx)) < 2.4 )) return false;
Expand Down

0 comments on commit 734cf07

Please sign in to comment.