|Message: ROOT histograms: cycle number and hadd.||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
Greetings I'm using G4AnalysisManager to save histogram data to ROOT files for multiple runs of my application. The histogram names and titles are identical for all runs although a new filename is generated in RunAction for each run. I write the data and close the files in RunAction::EndOfRunAction. All works well except that I get a new cycle number added to each histogram with each run. In ROOT if I open the file from the first run (runO) and do run0file.ls(), I get:- KEY: THD det0;1 det0 If I do the same with the file from the third run (run2) I get:- KEY: THD det0;3 det0 KEY: THD det0;2 det0 KEY: THD det0;1 det0 and so on. My problem is that all the data is held under the lowest cycle number key with the remaining higher key number histograms containing no entries. If I run hadd on the root files generated by multiple runs of my application, it automatically loads the highest cycle number available and reports successfully combining the correct number of histograms. However, it is in effect just copying the data from run0. Does anyone have any advice on how to correctly combine the root data from many runs? Am I doing something wrong? Thanks Steve
|Inline Depth:||Outline Depth:||Add message:|