Earliest Class Reference

Inheritance diagram for Earliest:
CanvasTab

List of all members.

Public Member Functions

 Earliest (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

Detailed Description

Definition at line 21 of file BDQViewer.cxx.


Constructor & Destructor Documentation

Earliest::Earliest ( TGTextView *  text  )  [inline]

Definition at line 26 of file BDQViewer.cxx.

00026 : fText(text) {}


Member Function Documentation

void Earliest::Expose (  )  [inline, virtual]

Notified each time the tab this canvas is in is selected.

Reimplemented from CanvasTab.

Definition at line 50 of file BDQViewer.cxx.

References fText.

00050                   {
00051         fText->Clear();
00052         fText->AddLine("(a) The time between the first device time (DAE) "
00053                            "and the spill time from SpillTimeND DB table.  ");
00054         fText->AddLine("Inherent jitter should be well less than 0.5 seconds.  ");
00055         fText->AddLine("Anything more than 1 second indicates a missing entry ");
00056         fText->AddLine("in the SpillTimeND table.");
00057         fText->AddLine("(b) Same but using the time of the earliest SWIC-like device ");
00058         fText->AddLine("(from the Hadron/muon/profile monitor's VME crate).");
00059         fText->AddLine("(c) Repetition period. Typically 2 seconds, but can be larger.");
00060     }

void Earliest::Init ( TCanvas *  canvas  )  [inline, virtual]

Implement to get one-time notification of the canvas.

Reimplemented from CanvasTab.

Definition at line 28 of file BDQViewer.cxx.

References HistMan::Get().

00028                                {
00029 
00030         HistMan file_hists("BDP Data Quality/File Hists");
00031 
00032         const char* earliest_names[] = {
00033             "earliest_dae_stnd",
00034             "earliest_vme_stnd",
00035             "earliest_last_dae",
00036             0
00037         };
00038         canvas->SetTitle("Earliest-time plots");
00039         canvas->Divide(1,3);
00040         for (int ind=0; earliest_names[ind]; ++ind) {
00041             canvas->cd(ind+1);
00042             gPad->SetLogy();
00043             TH1F* h = file_hists.Get<TH1F>(earliest_names[ind]);
00044             if (!h) continue;
00045             h->SetXTitle("#Delta Time (seconds)");
00046             h->DrawCopy();
00047         }
00048     }


Member Data Documentation

TGTextView* Earliest::fText [private]

Definition at line 23 of file BDQViewer.cxx.

Referenced by Expose().


The documentation for this class was generated from the following file:

Generated on 18 Oct 2018 for loon by  doxygen 1.6.1