diff --git a/benchmarks/barrel_ecal/scripts/e_pi_separation.cxx b/benchmarks/barrel_ecal/scripts/e_pi_separation.cxx
index c5bca1095918d4ec72cf91560b61509d91058516..49a0a0bb64e7d28d89e3db641ebf3cf8660d126c 100644
--- a/benchmarks/barrel_ecal/scripts/e_pi_separation.cxx
+++ b/benchmarks/barrel_ecal/scripts/e_pi_separation.cxx
@@ -85,7 +85,7 @@ void e_pi_separation(const char* input_fname =
     auto total_edep = 0.0;
     for (const auto& i: evt) {
       fmt::print("cell id {}, layer {}\n",i.cellID, decoder->get(i.cellID, layer_index));
-      if( decoder->get(i.cellID, layer_index) < 7 ){
+      if( decoder->get(i.cellID, layer_index) < 4 ){
         total_edep += i.energyDeposit;
       }
     }