Dear G4 users,
I have a Multi Threading application in which I create and fill histograms and tuples that are then written to a root file at the end of the run.
I am working in geant4 version 10.5.p1 and the implementation is done using the RootAnalysisManager.
To this point everything is working fine.
The question I have is if it is possible to write the histograms to a file in the middle of the run (lets say every x events), in order to access them and monitor the progress of the simulation.
To my understanding, the file (only one open file is supported at a time) has to be opened at the beginning of the run and kept always open for the tuples to get filled, but if I don’t close the file then I cannot access it from ROOT to read it!
Am I missing something, or it is not possible!
In the latter case what is the proposed method to monitor the progress of the simulation?
Thanks in advance!