17void hist057_TExec_th1()
20 Error(
"hist057_TExec_th1",
"gPad is null, you are not supposed to run this macro");
25 int px =
gPad->GetEventX();
33 printf(
"event=%d, hist:%s, bin=%d, content=%f\n",
event,
h->GetName(), binx,
h->GetBinContent(binx));
int Int_t
Signed integer 4 bytes (int)
float Float_t
Float 4 bytes (float)
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
virtual Int_t FindBin(Double_t x)
Find bin number corresponding to abscissa x.
TH1 is the base class of all histogram classes in ROOT.
Mother of all ROOT objects.