21 Error(
"exec1",
"gPad is null, you are not supposed to run this macro");
25 int event =
gPad->GetEvent();
26 if (event != 11)
return;
27 int px =
gPad->GetEventX();
35 printf(
"event=%d, hist:%s, bin=%d, content=%f\n",event,h->
GetName(),binx,h->
GetBinContent(binx));
virtual const char * GetName() const
Returns name of object.
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
void Error(const char *location, const char *msgfmt,...)
virtual Bool_t InheritsFrom(const char *classname) const
Returns kTRUE if object inherits from class "classname".
virtual Int_t FindBin(Double_t x)
Find bin number corresponding to abscissa x.
Mother of all ROOT objects.