1 | { |
---|
2 | // |
---|
3 | gROOT->Reset(); |
---|
4 | new TCanvas("help","Help to run macros",200,10,700,500); |
---|
5 | |
---|
6 | welcome = new TPaveText(.1,.8,.9,.97); |
---|
7 | welcome->AddText("Welcome to the ESAF Analysis Macros"); |
---|
8 | welcome->SetTextFont(32); |
---|
9 | welcome->SetTextColor(4); |
---|
10 | welcome->SetFillColor(3); |
---|
11 | welcome->SetFillStyle(3010); |
---|
12 | welcome->Draw(); |
---|
13 | |
---|
14 | hdemo = new TPaveText(.05,.05,.95,.7); |
---|
15 | hdemo->SetTextAlign(12); |
---|
16 | hdemo->SetTextFont(52); |
---|
17 | hdemo->AddText("- Run \"Init\" first. Then all available macros in any order"); |
---|
18 | hdemo->AddText("- Clicking \"OneEventAnalysis\" will produce various plots for one event"); |
---|
19 | hdemo->AddText("storing them as gif and eps files into gif/ and eps/ directories. "); |
---|
20 | hdemo->AddText("- Clicking \"MultiEventsAnalysis\" will do some plots for all events read"); |
---|
21 | hdemo->AddText("from ListOfFiles file stored in esaf/macros/ directory. "); |
---|
22 | hdemo->AddText("- If you modified GlobalHisto.C/h you should unload GlobalHisto.so"); |
---|
23 | hdemo->AddText("typing \"root[].U path/GlobalHisto.so\" where path is the absolute path"); |
---|
24 | hdemo->AddText("to your GlobalHisto.so file. (You can find it via \"root[].file\" command)"); |
---|
25 | hdemo->AddText("- Then Click \"Init\" again and produce your plots"); |
---|
26 | hdemo->SetAllWith("....","color",2); |
---|
27 | hdemo->SetAllWith("....","font",72); |
---|
28 | hdemo->SetAllWith("....","size",0.04); |
---|
29 | hdemo->SetFillColor(10); |
---|
30 | hdemo->Draw(); |
---|
31 | } |
---|