| Summary: | "RandEngine.stat" file has no "newline" at the end | ||
|---|---|---|---|
| Product: | Geant4 | Reporter: | Sanya.Solodkov |
| Component: | run | Assignee: | Gabriele Cosmo <Gabriele.Cosmo> |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | ||
| Priority: | P2 | ||
| Version: | 3.0 | ||
| Hardware: | All | ||
| OS: | All | ||
Problem reported to CLHEP editor. Thanks. |
when I do > cat RandEngine.stat I see only one zero, because second line has no "newline" at the end Is it possible to add one more "endl" in G4RunManager::StoreRandomNumberStatus() ? in fact, this is bug(or feature) of CLHEP - in some generators they have "endl" as separator, and in others - space without any "endl" e.g. for (HepInt i=0; i<3; ++i) { outFile << cseed[i] << HepStd::endl; dummy[i] = cseed[i]; } and for (HepInt i=0; i<2; ++i) outFile << table[theSeed][i] << " ";