Demonstates how to use EVE as a histogram browser.
void histobrowser(const char* name="HLT Histos")
{
h =
new TH1F(
"Foo",
"Bar", 51, 0, 1);
for (
Int_t i=0; i<500; ++i)
h =
new TH1F(
"Fooes",
"Baros", 51, 0, 1);
for (
Int_t i=0; i<2000; ++i) {
}
h =
new TH1F(
"Fooesoto",
"Barosana", 51, 0, 1);
for (
Int_t i=0; i<4000; ++i) {
}
m->
AddLine(
"{ g_hlt_canvas->Clear();"
" g_hlt_canvas->cd();"
" g_hlt_canvas->Update(); }");
m->
AddLine(
"{ g_hlt_canvas->Clear();"
" g_hlt_canvas->Divide(2,2);"
" g_hlt_canvas->cd(1);"
" g_hlt_canvas->Update(); }");
}
- Author
- Matevz Tadel
Definition in file histobrowser.C.