diff --git a/benchmarks/barrel_ecal/scripts/e_pi_separation.cxx b/benchmarks/barrel_ecal/scripts/e_pi_separation.cxx
index e5651d53aaaf1ec2a0f9339613fcf54eecb76100..c5bca1095918d4ec72cf91560b61509d91058516 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) < 5 ){
+      if( decoder->get(i.cellID, layer_index) < 7 ){
         total_edep += i.energyDeposit;
       }
     }