From f130181f5bb9555efd0b78e9cc0299cfaa7cde9b Mon Sep 17 00:00:00 2001
From: Haoyu Shi <shihy@ihep.ac.cn>
Date: Wed, 6 Mar 2024 00:43:30 +0000
Subject: [PATCH] Update file BeamBackgroundFileParserV0.cpp

---
 Generator/src/BeamBackgroundFileParserV0.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Generator/src/BeamBackgroundFileParserV0.cpp b/Generator/src/BeamBackgroundFileParserV0.cpp
index 02593428..261443eb 100644
--- a/Generator/src/BeamBackgroundFileParserV0.cpp
+++ b/Generator/src/BeamBackgroundFileParserV0.cpp
@@ -38,8 +38,8 @@ bool BeamBackgroundFileParserV0::load(IBeamBackgroundFileParser::BeamBackgroundD
         ss >> loss_turn;        if (ss.fail()) { continue; }
         ss >> z;                if (ss.fail()) { continue; }
         ss >> x;                if (ss.fail()) { continue; }
-        ss >> y;                if (ss.fail()) { continue; }
         ss >> cosx;             if (ss.fail()) { continue; }
+        ss >> y;                if (ss.fail()) { continue; }
         ss >> cosy;             if (ss.fail()) { continue; }
         ss >> dz;               if (ss.fail()) { continue; }
         ss >> dp;               if (ss.fail()) { continue; }
-- 
GitLab