Revision ecf7359668211cb1e8df55be47e00d6d46b47825 authored by Gerardo Ganis on 28 April 2015, 08:23:45 UTC, committed by Gerardo Ganis on 28 April 2015, 09:48:43 UTC
TProofPerfAnalysis internally creates temporary histograms or graphs for basic visualisation.
This patch adds the possibility to save these objects to a file for further usage, for example
to create more elaborate plots.

Saving is enabled by a call to SetSaveResult, which can be used to change file and/or to disable:

    root [] TProofPerfAnalysis paf("perf_analysis_output.root")
    root [] paf.SetSaveResult()
    Drawn objects will be saved in file 'results.root'
    root [] paf.RatePlot()
    root [] paf.SetSaveResult("results-global.root", "UPDATE")
    Drawn objects will be saved in file 'results-global.root'
    root [] paf.RatePlot()
    root [] paf.SetSaveResult(0)
    Drawn objects saving disabled
1 parent e9d15aa
History

back to top