Problem 1478 - Root analysis manager .ascii output file is empty
Summary: Root analysis manager .ascii output file is empty
Status: RESOLVED DUPLICATE of problem 1473
Alias: None
Product: Geant4
Classification: Unclassified
Component: analysis (show other problems)
Version: 9.6
Hardware: PC Linux
: P5 minor
Assignee: Ivana.Hrivnacova
URL:
Depends on:
Blocks:
 
Reported: 2013-06-13 13:14 CEST by alexandre.l.bosser
Modified: 2013-06-17 14:12 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description alexandre.l.bosser 2013-06-13 13:14:58 CEST
I'm using version 9.6.p02.
Whenever I try to run a simulation thanks to the TestEm3 example, using the following in my .mac file :

/analysis/setFileName Output/test
/analysis/h1/set 1 1024 0 3 MeV
/analysis/h1/setAscii 1 true

the output test.ascii file is always empty and I can only use the test.root output.

We fixed the problem by replacing the character "i" by a "j" in geant4.9.6.p02/source/analysis/src/G4RootAnalysisManager.cc, Ln 325
(the loop variable for the local block being "j" and not "i".

Best regards
Comment 1 Ivana.Hrivnacova 2013-06-17 14:12:03 CEST
This problem has been already reported as #1473.

*** This problem has been marked as a duplicate of problem 1473 ***