Hall-D Software
alpha
|
#include <stdio.h>
#include <time.h>
#include <iostream>
#include <fstream>
#include <cmath>
#include <TROOT.h>
#include <TLatex.h>
#include <TH2.h>
#include <TCanvas.h>
Go to the source code of this file.
Functions | |
void | ConvertFromNDC1D (TLatex *obj, TH1D *h=NULL) |
void | ConvertFromNDC2D (TLatex *obj, TH2D *h=NULL) |
void | StandardLabels1D (TH1D *axes=NULL, string mess1="", string mess2="", string mess3="", string mess4="") |
void | StandardLabels2D (TH2D *axes=NULL, string mess1="", string mess2="", string mess3="", string mess4="") |
string | GetRevision (void) |
string | GetDate (void) |
string | GetInitials (void) |
void | DateLabel (char *date_lab) |
void | StandardLabels (TH1 *h, string mess1="", string mess2="", string mess3="", string mess4="") |
void ConvertFromNDC1D | ( | TLatex * | obj, |
TH1D * | h = NULL |
||
) |
Definition at line 338 of file StandardLabels.C.
References c1, x, y, ymax, and ymin.
Referenced by StandardLabels1D().
void ConvertFromNDC2D | ( | TLatex * | obj, |
TH2D * | h = NULL |
||
) |
Definition at line 286 of file StandardLabels.C.
References c1, x, y, ymax, and ymin.
Referenced by StandardLabels2D().
void DateLabel | ( | char * | date_lab | ) |
Definition at line 128 of file StandardLabels.C.
References GetDate(), GetInitials(), and sprintf().
Referenced by StandardLabels1D(), and StandardLabels2D().
string GetDate | ( | void | ) |
Definition at line 90 of file StandardLabels.C.
Referenced by DateLabel().
string GetInitials | ( | void | ) |
Definition at line 106 of file StandardLabels.C.
Referenced by DateLabel().
string GetRevision | ( | void | ) |
Definition at line 63 of file StandardLabels.C.
References sprintf(), and string.
Referenced by StandardLabels1D(), and StandardLabels2D().
void StandardLabels | ( | TH1 * | h, |
string | mess1 = "" , |
||
string | mess2 = "" , |
||
string | mess3 = "" , |
||
string | mess4 = "" |
||
) |
Definition at line 136 of file StandardLabels.C.
References h, StandardLabels1D(), and StandardLabels2D().
void StandardLabels1D | ( | TH1D * | axes = NULL , |
string | mess1 = "" , |
||
string | mess2 = "" , |
||
string | mess3 = "" , |
||
string | mess4 = "" |
||
) |
Definition at line 222 of file StandardLabels.C.
References ConvertFromNDC1D(), DateLabel(), and GetRevision().
Referenced by StandardLabels().
void StandardLabels2D | ( | TH2D * | axes = NULL , |
string | mess1 = "" , |
||
string | mess2 = "" , |
||
string | mess3 = "" , |
||
string | mess4 = "" |
||
) |
Definition at line 154 of file StandardLabels.C.
References ConvertFromNDC2D(), DateLabel(), and GetRevision().
Referenced by StandardLabels().