StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
macros
graphics
EventDemosHelp.C
1
{
2
//
3
gROOT->Reset();
4
c1 =
new
TCanvas(
"c1"
,
"Help to run demos"
,200,10,700,500);
5
6
welcome =
new
TPaveText(.1,.8,.9,.97);
7
welcome->AddText(
"Welcome to the STAR event demos"
);
8
welcome->SetTextColor(4);
9
welcome->SetFillColor(24);
10
welcome->Draw();
11
12
hdemo =
new
TPaveText(.05,.05,.95,.7);
13
hdemo->SetTextAlign(12);
14
hdemo->SetTextFont(61);
15
hdemo->AddText(
"- Run either \"Read StEvent\" or any \"Make StEvent\" first. Then some \"draw\" operation"
);
16
hdemo->AddText(
"- Click left mouse button to execute one demo"
);
17
hdemo->AddText(
"- Click right mouse button to see the title of the demo"
);
18
hdemo->AddText(
"- Click on 'Close Bar' to exit from the demo menu"
);
19
hdemo->AddText(
"- Select 'File/Print' to print a Postscript view of the canvas"
);
20
hdemo->AddText(
"- You can execute a demo with the mouse or type commands"
);
21
hdemo->AddText(
"- During the demo (try on this canvas) you can :"
);
22
hdemo->AddText(
".... Use left button to move/grow/etc objects"
);
23
hdemo->AddText(
".... Use middle button to pop overlapping objects"
);
24
hdemo->AddText(
" (with 2-buttons mouse just use left and right buttons simultaneously)"
);
25
hdemo->AddText(
".... Use right button to get an object sensitive pop-up"
);
26
hdemo->SetAllWith(
"...."
,
"color"
,2);
27
hdemo->SetAllWith(
"...."
,
"font"
,72);
28
hdemo->SetAllWith(
"(with"
,
"color"
,4);
29
hdemo->SetAllWith(
"(with"
,
"font"
,8);
30
31
hdemo->Draw();
32
}
Generated by
1.8.5