I have added a Qtwidget in my Qt Application to plot root histograms and so on. I plot my histogram like so:
TBranch *branch = tree->GetBranch(“Event_Branch”); //"Event_Branch"
Everything works fine and Ican see the plot. Now I want to change (customize) the axis titles which is by default set by the names given in the tree parameters.
usually one would use:
graph = new TGraph(…);
but here my Object a TQtWidget not a Tgraph Object.
How do I set the Title and other parameters in this case?
And, how do I superimpose two histograms when using TQtWidget and the tree->Draw Method.