From 1701ebeb5ab45778d4a910c4951fed0ba83a0172 Mon Sep 17 00:00:00 2001 From: jaimenorman Date: Wed, 28 Aug 2024 11:59:31 +0100 Subject: [PATCH] fix full acceptance cut (#1704) --- MC/run/common/detector_acceptance.C | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/MC/run/common/detector_acceptance.C b/MC/run/common/detector_acceptance.C index 3d6fd1d1c..a8f4b381b 100644 --- a/MC/run/common/detector_acceptance.C +++ b/MC/run/common/detector_acceptance.C @@ -26,9 +26,7 @@ enum EDetectorAcceptance_t { // bool full(Float_t phi, Float_t eta) { - if (phi > 0. && - phi < 360. * TMath::DegToRad() && - TMath::Abs(eta) < 1.5) + if (TMath::Abs(eta) < 1.5) return true; else return false;