When I make histograms with certain cuts (TCut) the cuts appear in the title box of the histogram:
MyTree->Draw(leave1 + “>>newHisto1”,cut1,"");
Some of the titles are too long and the fonts become small and unreadable. Is there a way to get several lines in the title box? Then, by resizing the title box and setting the font it should be possible to read the title again.
you can change the title plot and write it on several lines with:
You can also add as many lines as you need:
TH1F *h = new TH1F("h", "first", 100, -10, 10);
TPaveText * pt = (TPaveText *)gPad->FindObject("title");