#include <NearlinePlotMaker.h>
Public Member Functions | |
NearlinePlot (std::string this_hist_name, NearlinePlotInfo this_plot_info, NearlinePlotEnables this_plot_enable=NearlinePlotEnables(), NearlinePlotLogScale this_plot_log_scale=NearlinePlotLogScale()) | |
bool | AddHistogram (TFile const &file, TTree *header, int Xsrtime, int XNow, int GMToffset, int time_ago) |
bool | AddHistogram1D (TFile const &file, TTree *header, int Xsrtime, int XNow, int GMToffset, int time_ago) |
bool | AddHistogram2D (TFile const &file, TTree *header, int Xsrtime, int XNow, int GMToffset, int time_ago) |
void | normaliseHisto1D () |
TCanvas * | makeHistoCanvas (TPaveText *updateText, int width=1200, int height=800) |
TCanvas * | makeHisto2DCanvas (TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
TCanvas * | makeGraphMetricTimeCanvas (TPaveText *updateText, int time_ago, int XNow, bool rms=false, bool zoom=false, int width=1200, int height=800, std::string taxis_labels="") |
TCanvas * | makeBinByBinGraphTime (unsigned int bin, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | printPlots (std::string plot_dir, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | printHistogram1D (std::string plot_dir, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | printHistogram2D (std::string plot_dir, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | printGraphs (std::string plot_dir, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | printBinByBinGraphs (std::string plot_dir, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | setMetricDetails (std::string metric_details) |
void | setHistTitle (std::string hist_title) |
void | setPlotInfo (NearlinePlotInfo this_plot_info) |
NearlinePlot (std::string this_hist_name, NearlinePlotInfo this_plot_info, NearlinePlotEnables this_plot_enable=NearlinePlotEnables(), NearlinePlotLogScale this_plot_log_scale=NearlinePlotLogScale()) | |
bool | AddHistogram (TFile const &file, TTree *header, int Xsrtime, int XNow, int GMToffset, int time_ago) |
bool | AddHistogram1D (TFile const &file, TTree *header, int Xsrtime, int XNow, int GMToffset, int time_ago) |
bool | AddHistogram2D (TFile const &file, TTree *header, int Xsrtime, int XNow, int GMToffset, int time_ago) |
void | normaliseHisto1D () |
TCanvas * | makeHistoCanvas (TPaveText *updateText, int width=1200, int height=800) |
TCanvas * | makeHisto2DCanvas (TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
TCanvas * | makeGraphMetricTimeCanvas (TPaveText *updateText, int time_ago, int XNow, bool rms=false, bool zoom=false, int width=1200, int height=800, std::string taxis_labels="") |
TCanvas * | makeBinByBinGraphTime (unsigned int bin, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | printPlots (std::string plot_dir, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | printHistogram1D (std::string plot_dir, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | printHistogram2D (std::string plot_dir, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | printGraphs (std::string plot_dir, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | printBinByBinGraphs (std::string plot_dir, TPaveText *updateText, int time_ago, int XNow, int width=1200, int height=800, std::string taxis_labels="") |
void | setMetricDetails (std::string metric_details) |
void | setHistTitle (std::string hist_title) |
void | setPlotInfo (NearlinePlotInfo this_plot_info) |
NearlinePlot (int Npoint, std::string this_hist_name, std::string this_output_name, std::string hist_title, int num_bins, int min_x, int max_x, bool RMS=false) | |
bool | AddHistogram (TFile const &file, TTree *header, int Xstrtime, int Xsrtime, int XNow, int GMToffset) |
TCanvas * | makeHistoCanvas (std::string can_name, std::string can_title, int width, int height, TPaveText *updateText) |
TCanvas * | makeGraphTimeCanvas (std::string can_name, std::string can_title, int width, int height) |
Public Attributes | |
NearlinePlotEnables | fPlotEnables |
NearlinePlotLogScale | fPlotLogScale |
TH1F * | fHistogram |
std::string | fHistName |
NearlinePlotInfo | fPlotInfo |
std::string | fHistTitle |
TH2F * | fHistogram2D |
TH1F * | fHistogram2DNormalisation |
bool | fNormalised |
TGraph * | fGraphMetricTime |
TGraph * | fGraphMetricRmsTime |
std::vector< float > | fMetricVec |
std::vector< float > | fMetricRmsVec |
std::vector< float > | fTimeVec |
int | fPlotCount |
std::vector< TGraphErrors * > | fBinByBinGraphMetricTime |
std::vector< std::vector< float > > | fBinByBinMetricVec |
std::vector< std::vector< float > > | fBinByBinMetricErrorVec |
std::vector< std::string > | fBinByBinLabels |
std::string | fBinByBinYAxisTitle |
TGraph * | fGraphTime |
std::string | fOutputName |
int | fNumPoints |
bool | fRMSPlot |
bool | fMakeHistogram |
Definition at line 166 of file NearlinePlotMaker.h.
NearlinePlot::NearlinePlot | ( | std::string | this_hist_name, |
NearlinePlotInfo | this_plot_info, | ||
NearlinePlotEnables | this_plot_enable = NearlinePlotEnables() , |
||
NearlinePlotLogScale | this_plot_log_scale = NearlinePlotLogScale() |
||
) |
Definition at line 219 of file NearlinePlotMaker.h.
NearlinePlot::NearlinePlot | ( | std::string | this_hist_name, |
NearlinePlotInfo | this_plot_info, | ||
NearlinePlotEnables | this_plot_enable = NearlinePlotEnables() , |
||
NearlinePlotLogScale | this_plot_log_scale = NearlinePlotLogScale() |
||
) |
NearlinePlot::NearlinePlot | ( | int | Npoint, |
std::string | this_hist_name, | ||
std::string | this_output_name, | ||
std::string | hist_title, | ||
int | num_bins, | ||
int | min_x, | ||
int | max_x, | ||
bool | RMS = false |
||
) |
Definition at line 78 of file NearlinePlotMakerJPD.h.
bool NearlinePlot::AddHistogram | ( | TFile const & | file, |
TTree * | header, | ||
int | Xstrtime, | ||
int | Xsrtime, | ||
int | XNow, | ||
int | GMToffset | ||
) |
bool NearlinePlot::AddHistogram | ( | TFile const & | file, |
TTree * | header, | ||
int | Xsrtime, | ||
int | XNow, | ||
int | GMToffset, | ||
int | time_ago | ||
) |
Definition at line 261 of file NearlinePlotMaker.h.
bool NearlinePlot::AddHistogram | ( | TFile const & | file, |
TTree * | header, | ||
int | Xsrtime, | ||
int | XNow, | ||
int | GMToffset, | ||
int | time_ago | ||
) |
bool NearlinePlot::AddHistogram1D | ( | TFile const & | file, |
TTree * | header, | ||
int | Xsrtime, | ||
int | XNow, | ||
int | GMToffset, | ||
int | time_ago | ||
) |
Definition at line 270 of file NearlinePlotMaker.h.
bool NearlinePlot::AddHistogram1D | ( | TFile const & | file, |
TTree * | header, | ||
int | Xsrtime, | ||
int | XNow, | ||
int | GMToffset, | ||
int | time_ago | ||
) |
bool NearlinePlot::AddHistogram2D | ( | TFile const & | file, |
TTree * | header, | ||
int | Xsrtime, | ||
int | XNow, | ||
int | GMToffset, | ||
int | time_ago | ||
) |
bool NearlinePlot::AddHistogram2D | ( | TFile const & | file, |
TTree * | header, | ||
int | Xsrtime, | ||
int | XNow, | ||
int | GMToffset, | ||
int | time_ago | ||
) |
Definition at line 338 of file NearlinePlotMaker.h.
TCanvas * NearlinePlot::makeBinByBinGraphTime | ( | unsigned int | bin, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
Definition at line 473 of file NearlinePlotMaker.h.
TCanvas* NearlinePlot::makeBinByBinGraphTime | ( | unsigned int | bin, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
TCanvas* NearlinePlot::makeGraphMetricTimeCanvas | ( | TPaveText * | updateText, |
int | time_ago, | ||
int | XNow, | ||
bool | rms = false , |
||
bool | zoom = false , |
||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
TCanvas * NearlinePlot::makeGraphMetricTimeCanvas | ( | TPaveText * | updateText, |
int | time_ago, | ||
int | XNow, | ||
bool | rms = false , |
||
bool | zoom = false , |
||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
Definition at line 544 of file NearlinePlotMaker.h.
TCanvas * NearlinePlot::makeGraphTimeCanvas | ( | std::string | can_name, |
std::string | can_title, | ||
int | width, | ||
int | height | ||
) |
Definition at line 122 of file NearlinePlotMakerJPD.h.
TCanvas* NearlinePlot::makeHisto2DCanvas | ( | TPaveText * | updateText, |
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
TCanvas * NearlinePlot::makeHisto2DCanvas | ( | TPaveText * | updateText, |
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
Definition at line 429 of file NearlinePlotMaker.h.
TCanvas * NearlinePlot::makeHistoCanvas | ( | std::string | can_name, |
std::string | can_title, | ||
int | width, | ||
int | height, | ||
TPaveText * | updateText | ||
) |
Definition at line 110 of file NearlinePlotMakerJPD.h.
TCanvas* NearlinePlot::makeHistoCanvas | ( | TPaveText * | updateText, |
int | width = 1200 , |
||
int | height = 800 |
||
) |
TCanvas * NearlinePlot::makeHistoCanvas | ( | TPaveText * | updateText, |
int | width = 1200 , |
||
int | height = 800 |
||
) |
Definition at line 406 of file NearlinePlotMaker.h.
void NearlinePlot::normaliseHisto1D | ( | ) |
Definition at line 402 of file NearlinePlotMaker.h.
void NearlinePlot::normaliseHisto1D | ( | ) |
void NearlinePlot::printBinByBinGraphs | ( | std::string | plot_dir, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
Definition at line 655 of file NearlinePlotMaker.h.
void NearlinePlot::printBinByBinGraphs | ( | std::string | plot_dir, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
void NearlinePlot::printGraphs | ( | std::string | plot_dir, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
void NearlinePlot::printGraphs | ( | std::string | plot_dir, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
Definition at line 669 of file NearlinePlotMaker.h.
void NearlinePlot::printHistogram1D | ( | std::string | plot_dir, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
Definition at line 641 of file NearlinePlotMaker.h.
void NearlinePlot::printHistogram1D | ( | std::string | plot_dir, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
void NearlinePlot::printHistogram2D | ( | std::string | plot_dir, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
void NearlinePlot::printHistogram2D | ( | std::string | plot_dir, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
Definition at line 648 of file NearlinePlotMaker.h.
void NearlinePlot::printPlots | ( | std::string | plot_dir, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
void NearlinePlot::printPlots | ( | std::string | plot_dir, |
TPaveText * | updateText, | ||
int | time_ago, | ||
int | XNow, | ||
int | width = 1200 , |
||
int | height = 800 , |
||
std::string | taxis_labels = "" |
||
) |
Definition at line 629 of file NearlinePlotMaker.h.
void NearlinePlot::setHistTitle | ( | std::string | hist_title | ) |
Definition at line 248 of file NearlinePlotMaker.h.
void NearlinePlot::setHistTitle | ( | std::string | hist_title | ) |
void NearlinePlot::setMetricDetails | ( | std::string | metric_details | ) |
void NearlinePlot::setMetricDetails | ( | std::string | metric_details | ) |
Definition at line 256 of file NearlinePlotMaker.h.
void NearlinePlot::setPlotInfo | ( | NearlinePlotInfo | this_plot_info | ) |
Definition at line 252 of file NearlinePlotMaker.h.
void NearlinePlot::setPlotInfo | ( | NearlinePlotInfo | this_plot_info | ) |
std::vector< TGraphErrors * > NearlinePlot::fBinByBinGraphMetricTime |
Definition at line 187 of file NearlinePlotMaker.h.
std::vector< std::string > NearlinePlot::fBinByBinLabels |
Definition at line 190 of file NearlinePlotMaker.h.
std::vector< std::vector< float > > NearlinePlot::fBinByBinMetricErrorVec |
Definition at line 189 of file NearlinePlotMaker.h.
std::vector< std::vector< float > > NearlinePlot::fBinByBinMetricVec |
Definition at line 188 of file NearlinePlotMaker.h.
std::string NearlinePlot::fBinByBinYAxisTitle |
Definition at line 191 of file NearlinePlotMaker.h.
TGraph * NearlinePlot::fGraphMetricRmsTime |
Definition at line 181 of file NearlinePlotMaker.h.
TGraph * NearlinePlot::fGraphMetricTime |
Definition at line 180 of file NearlinePlotMaker.h.
TGraph* NearlinePlot::fGraphTime |
Definition at line 58 of file NearlinePlotMakerJPD.h.
std::string NearlinePlot::fHistName |
Definition at line 172 of file NearlinePlotMaker.h.
TH1F * NearlinePlot::fHistogram |
Definition at line 171 of file NearlinePlotMaker.h.
TH2F * NearlinePlot::fHistogram2D |
Definition at line 176 of file NearlinePlotMaker.h.
TH1F * NearlinePlot::fHistogram2DNormalisation |
Definition at line 177 of file NearlinePlotMaker.h.
std::string NearlinePlot::fHistTitle |
Definition at line 174 of file NearlinePlotMaker.h.
bool NearlinePlot::fMakeHistogram |
Definition at line 67 of file NearlinePlotMakerJPD.h.
std::vector< float > NearlinePlot::fMetricRmsVec |
Definition at line 183 of file NearlinePlotMaker.h.
std::vector< float > NearlinePlot::fMetricVec |
Definition at line 182 of file NearlinePlotMaker.h.
bool NearlinePlot::fNormalised |
Definition at line 178 of file NearlinePlotMaker.h.
int NearlinePlot::fNumPoints |
Definition at line 61 of file NearlinePlotMakerJPD.h.
std::string NearlinePlot::fOutputName |
Definition at line 60 of file NearlinePlotMakerJPD.h.
int NearlinePlot::fPlotCount |
Definition at line 185 of file NearlinePlotMaker.h.
NearlinePlotEnables NearlinePlot::fPlotEnables |
Definition at line 168 of file NearlinePlotMaker.h.
NearlinePlotInfo NearlinePlot::fPlotInfo |
Definition at line 173 of file NearlinePlotMaker.h.
NearlinePlotLogScale NearlinePlot::fPlotLogScale |
Definition at line 169 of file NearlinePlotMaker.h.
bool NearlinePlot::fRMSPlot |
Definition at line 66 of file NearlinePlotMakerJPD.h.
std::vector< float > NearlinePlot::fTimeVec |
Definition at line 184 of file NearlinePlotMaker.h.