Please read tips for efficient and successful posting and posting code
ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided
Hi, i made a simple macros DrawBox.C :
void DrawBox (double energy)
{
TBox box (0.02, energy - 0.02, 0.06, energy + 0.02);
box.SetLineColor(1);
box.SetFillStyle(0);
box.SetLineWidth(2);
box.Draw();
}
I open histogram in .root file, use DrawBox, but box didn’t draw on histogram. Why&