From 11eae3345bd4b04275539cdd3a7e8f096a5d6ec9 Mon Sep 17 00:00:00 2001 From: Unknown <unknown> Date: Wed, 2 Oct 2013 10:00:25 +0000 Subject: [PATCH] --- NPSimulation/src/EventGeneratorTransfert.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NPSimulation/src/EventGeneratorTransfert.cc b/NPSimulation/src/EventGeneratorTransfert.cc index 833a5d95c..f70272bd2 100644 --- a/NPSimulation/src/EventGeneratorTransfert.cc +++ b/NPSimulation/src/EventGeneratorTransfert.cc @@ -150,7 +150,7 @@ while(ReadingStatus){ ReactionFile >> DataBuffer; //Search for comment Symbol % - if (DataBuffer.compare(0, 1, "%") == 0) {/* Do Nothing */;G4cout << "Comment"<<endl;} + if (DataBuffer.compare(0, 1, "%") == 0) {/* Do Nothing */;} else if (DataBuffer.compare(0, 5, "Beam=") == 0) { check_Beam = true ; -- GitLab