14 c1->Range(0, 0, 14, 15.5);
16 event->SetFillColor(11);
18 event->AddText(
"Event");
28 arrow->SetFillStyle(1001);
29 arrow->SetFillColor(1);
31 arrow->DrawArrow(1.3, 3.5, 3.9, 3.5, 0.02,
"|>");
32 arrow->DrawArrow(1.5, 5.5, 3.9, 5.5, 0.02,
"|>");
33 arrow->DrawArrow(1.7, 7.5, 3.9, 7.5, 0.02,
"|>");
34 arrow->DrawArrow(1.9, 9.5, 3.9, 9.5, 0.02,
"|>");
35 arrow->DrawArrow(2.1, 11.5, 3.9, 11.5, 0.02,
"|>");
67 text.SetTextAlign(12);
68 text.SetTextSize(0.04);
70 text.DrawText(6.2, 11.5,
"Header:Event_flag");
71 text.DrawText(7.2, 9.5,
"Trigger_Info");
72 text.DrawText(8.2, 7.5,
"Muon_Detector: TOF");
73 text.DrawText(9.2, 5.5,
"Calorimeters");
74 text.DrawText(10.2, 3.5,
"Forward_Detectors");
75 text.DrawText(11.2, 1.5,
"TPCs");
Option_t Option_t TPoint TPoint const char text
Draw all kinds of Arrows.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
Use the TLine constructor to create a simple line.
virtual TLine * DrawLine(Double_t x1, Double_t y1, Double_t x2, Double_t y2)
Draw this line with new coordinates.
virtual void Draw(Option_t *option="")
Default Draw method for all objects.
A Pave (see TPave) with text, lines or/and boxes inside.
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
void Draw(Option_t *option="") override
Draw this pavetext with its current attributes.
Base class for several text objects.