33 setWindowTitle(
"Histogram Info:");
54 return !cl ? false : cl->InheritsFrom(TH1::Class());
61 if (cl->InheritsFrom(TH1::Class()))
81 HisnameLbl->setText(itemname);
87 AddLink(itemname,
"HistogramLock");
100 HisnameLbl->setText(
"");
102 PropertyBox->item(
HISTITLE)->setText(
"Title");
103 PropertyBox->item(
HISCLASS)->setText(
"Class");
104 PropertyBox->item(
HISENTRIES)->setText(
"Entries");
105 PropertyBox->item(
HISX)->setText(
"Xrange");
106 PropertyBox->item(
HISXSTAT)->setText(
"Xstats");
107 PropertyBox->item(
HISY)->setText(
"Yrange");
108 PropertyBox->item(
HISYSTAT)->setText(
"Ystats");
109 PropertyBox->item(
HISZ)->setText(
"Title");
110 PropertyBox->item(
HISZSTAT)->setText(
"Zstats");
111 PropertyBox->item(
HISSIZE)->setText(
"Size");
113 PropertyBox->item(
HISTIME)->setText(now.AsSQLString());
134 PropertyBox->item(
HISTITLE)->setText(hstate->GetTitle());
136 str.Form(
"Entries:%.5g",hstate->
GetEntries());
137 PropertyBox->item(
HISENTRIES)->setText(str.Data());
139 PropertyBox->item(
HISX)->setText(str.Data());
141 PropertyBox->item(
HISXSTAT)->setText(str.Data());
143 PropertyBox->item(
HISY)->setText(
"-");
144 PropertyBox->item(
HISYSTAT)->setText(
"-");
145 PropertyBox->item(
HISZ)->setText(
"-");
146 PropertyBox->item(
HISZSTAT)->setText(
"-");
151 PropertyBox->item(
HISY)->setText(str.Data());
153 PropertyBox->item(
HISYSTAT)->setText(str.Data());
157 PropertyBox->item(
HISZ)->setText(str.Data());
159 PropertyBox->item(
HISZSTAT)->setText(str.Data());
162 PropertyBox->item(
HISSIZE)->setText(str.Data());
175 textbuffer=
"Histogram ";
176 textbuffer+=HisnameLbl->text();
177 textbuffer+=
" Status: \n ";
178 textbuffer+=
"Title: ";
179 textbuffer+=PropertyBox->item(
HISTITLE)->text();
180 textbuffer+=
" Class: ";
181 textbuffer+=PropertyBox->item(
HISCLASS)->text();
183 textbuffer+=PropertyBox->item(
HISENTRIES)->text();
185 textbuffer+=PropertyBox->item(
HISX)->text();
187 textbuffer+=PropertyBox->item(
HISXSTAT)->text();
189 textbuffer+=PropertyBox->item(
HISY)->text();
191 textbuffer+=PropertyBox->item(
HISYSTAT)->text();
193 textbuffer+=PropertyBox->item(
HISZ)->text();
195 textbuffer+=PropertyBox->item(
HISZSTAT)->text();
197 textbuffer+=PropertyBox->item(
HISSIZE)->text();
198 textbuffer+=
" Status received at: ";
199 textbuffer+=PropertyBox->item(
HISTIME)->text();
void RequestObjectStatus(const char *name, TGo4Slot *tgtslot)
Bool_t IsAnalysisItem(const char *name)
virtual void HisDrawButton_clicked()
TGo4HistogramInfo(QWidget *parent=nullptr, const char *name=nullptr)
void DropItem(const char *itemname, TClass *cl, int kind) override
virtual void HisInfoButton_clicked()
virtual void PrintLog_clicked()
virtual void HisPrintButton_clicked()
virtual void RefreshHistogramInfo(TH1 *h1)
void ResetWidget() override
virtual void WorkWithHistogram(const char *itemname)
void linkedObjectUpdated(const char *linkname, TObject *obj) override
bool IsAcceptDrag(const char *itemname, TClass *cl, int kind) override
Runtime status of a histogram object.
Stat_t GetEntries() const
Int_t GetDimension() const
static Bool_t IsAutoEnabled()
get current user boolean
static const char * Message(Int_t prio, const char *text,...) GO4_PRINTF2_ARGS
Display a message.
const char * GetTimeString() const
Creation time string; sql format.
const char * GetObjectClass() const
ClassName of the described object.
Int_t GetObjectSize() const
Size of described object in byte.