Problem 1478

Summary: Root analysis manager .ascii output file is empty
Product: Geant4 Reporter: alexandre.l.bosser
Component: analysisAssignee: Ivana.Hrivnacova
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: P5    
Version: 9.6   
Hardware: PC   
OS: Linux   

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 ***