Inheritance diagram for DbCheck:

Public Member Functions | |
| DbCheck (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 102 of file BDQViewer.cxx. References fText. 00102 : fText(text) {}
|
|
|
Notified each time the tab this canvas is in is selected.
Reimplemented from CanvasTab. Definition at line 134 of file BDQViewer.cxx. References fText. Referenced by BDQViewer::BDQViewer(). 00134 {
00135 fText->Clear();
00136 fText->AddLine("(a)Difference between SpillTimeND and BeamMonSpill DB entries.");
00137 fText->AddLine("Anything more than 1 sec from zero indicates lost BeamMonSpill.");
00138 fText->AddLine("(b)This difference version time in hour bins. ");
00139 fText->AddLine("This indicates when any loss occurs");
00140 fText->AddLine("(c)Same but for minute bins");
00141 }
|
|
|
Implement to get one-time notification of the canvas.
Reimplemented from CanvasTab. Definition at line 104 of file BDQViewer.cxx. References HistMan::Get(). 00104 {
00105 HistMan db_hists("BDP Data Quality/DB Hists");
00106 const char* db_names[] = {
00107 "stnd_bdp_dt",
00108 "stnd_bdp_dt_hour",
00109 "stnd_bdp_dt_min",
00110 0
00111 };
00112 canvas->SetTitle("STND-BDP plots");
00113 canvas->Divide(1,3);
00114 for (int ind=0; db_names[ind]; ++ind) {
00115 canvas->cd(ind+1);
00116 if (!ind) {
00117 gPad->SetLogy();
00118 TH1F* h1 = db_hists.Get<TH1F>(db_names[ind]);
00119 if (!h1) continue;
00120 h1->SetXTitle("SpillTimeND - BDP time");
00121 h1->DrawCopy();
00122 }
00123 else {
00124 gPad->SetLogy(false);
00125 TH2F* h2 = db_hists.Get<TH2F>(db_names[ind]);
00126 if (!h2) continue;
00127 h2->SetXTitle("Time from begin of file");
00128 h2->SetYTitle("SpillTimeND - BDP time");
00129 h2->DrawCopy("colz");
00130 }
00131
00132 }
00133 }
|
|
|
Definition at line 100 of file BDQViewer.cxx. |
1.3.9.1