void event()
{
c1->Range(0, 0, 14, 15.5);
event->SetFillColor(11);
event->Draw();
event->AddText("Event");
line->DrawLine(1.3, 13, 1.3, 3.5);
line->DrawLine(1.5, 13, 1.5, 5.5);
line->DrawLine(1.7, 13, 1.7, 7.5);
line->DrawLine(1.9, 13, 1.9, 9.5);
line->DrawLine(2.1, 13, 2.1, 11.5);
arrow->SetFillStyle(1001);
arrow->DrawArrow(1.3, 3.5, 3.9, 3.5, 0.02,
"|>");
arrow->DrawArrow(1.5, 5.5, 3.9, 5.5, 0.02,
"|>");
arrow->DrawArrow(1.7, 7.5, 3.9, 7.5, 0.02,
"|>");
arrow->DrawArrow(1.9, 9.5, 3.9, 9.5, 0.02,
"|>");
arrow->DrawArrow(2.1, 11.5, 3.9, 11.5, 0.02,
"|>");
text.DrawText(6.2, 11.5,
"Header:Event_flag");
text.DrawText(7.2, 9.5,
"Trigger_Info");
text.DrawText(8.2, 7.5,
"Muon_Detector: TOF");
text.DrawText(9.2, 5.5,
"Calorimeters");
text.DrawText(10.2, 3.5,
"Forward_Detectors");
text.DrawText(11.2, 1.5,
"TPCs");
}
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
Use the TLine constructor to create a simple line.
void Draw(Option_t *option="") override
Draw this pave with its current attributes.
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)