Inheritance diagram for PerTime:

Public Member Functions | |
| PerTime (TGTextView *text) | |
| void | Init (TCanvas *canvas) |
| Implement to get one-time notification of the canvas. | |
| void | Expose () |
| Notified each time the tab this canvas is in is selected. | |
Private Attributes | |
| TGTextView * | fText |
|
|
Definition at line 67 of file BDQViewer.cxx. References fText. 00067 : fText(text) {}
|
|
|
Notified each time the tab this canvas is in is selected.
Reimplemented from CanvasTab. Definition at line 90 of file BDQViewer.cxx. References fText. 00090 {
00091 fText->Clear();
00092 fText->AddLine("Number of protons and spills per hour and minute. ");
00093 fText->AddLine("Any drop outs not associated with actual beam down time ");
00094 fText->AddLine("indicates a problem.");
00095 }
|
|
|
Implement to get one-time notification of the canvas.
Reimplemented from CanvasTab. Definition at line 69 of file BDQViewer.cxx. References HistMan::Get(). 00069 {
00070 HistMan file_hists("BDP Data Quality/File Hists");
00071 const char* per_names[] = {
00072 "npot_per_hour",
00073 "npot_per_min",
00074 "spills_per_hour",
00075 "spills_per_min",
00076 0
00077 };
00078 canvas->SetTitle("Per time plots");
00079 canvas->Divide(2,2);
00080 for (int ind=0; per_names[ind]; ++ind) {
00081 canvas->cd(ind+1);
00082 gPad->SetLogy();
00083 TH1F* h = file_hists.Get<TH1F>(per_names[ind]);
00084 if (!h) continue;
00085 h->SetXTitle("Time from start of file");
00086 h->DrawCopy();
00087 }
00088 }
|
|
|
Definition at line 64 of file BDQViewer.cxx. |
1.3.9.1