diff --git a/NPSimulation/src/EventGeneratorTransfert.cc b/NPSimulation/src/EventGeneratorTransfert.cc index 833a5d95cb387dfa9e0e784c8163d09108e674bd..f70272bd2b2200fb4304192b0beeff8005d82262 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 ;