#include <PlotCompareUtility.h>
Public Types | |
enum | Axis { axisX, axisY } |
Public Member Functions | |
HistoData * | AddHistoData (std::string Name) |
HistoData * | addHistoData (std::string NewName, std::string RefName, int PlotType) |
HistoData * | addHistoData (std::string Name, int PlotType) |
HistoData * | addProjectionXData (HistoData *Parent, std::string Name, int PlotType, int Bin, TH1 *NewHisto, TH1 *RefHisto) |
HistoData * | addProjectionYData (HistoData *Parent, std::string Name, int PlotType, int Bin, TH1 *NewHisto, TH1 *RefHisto) |
void | clearHistos () |
void | clearProjectionsX (HistoData *Parent) |
void | clearProjectionsY (HistoData *Parent) |
double | Compare (TH1F *, TH1F *, int) |
bool | compare (HistoData *) |
void | dump () |
float | GetChi2Threshold () |
double | getChi2Threshold () const |
std::string | GetDataPath () |
bool | getFinalResult () const |
HistoData * | GetHistoData (std::string Name) |
HistoData * | GetHistoData (int) |
std::vector< HistoData > * | getHistos () |
double | getKSThreshold () const |
float | GetKSThreshold () |
TFile * | GetNewFile () |
TObject * | GetNewHisto (std::string Name) |
int | GetNumHistos () |
int | getNumHistos () const |
std::string | GetPageTitle () |
int | getPlotsBottomMargin () const |
int | getPlotsHeight () const |
int | getPlotsLeftMargin () const |
int | getPlotsRightMargin () const |
int | getPlotsTopMargin () const |
int | getPlotsWidth () const |
std::string | GetPrefix () |
int | getProjectionsBarsThickness () const |
int | getProjectionsBottomMargin () const |
int | getProjectionsHeight () const |
int | getProjectionsLeftMargin () const |
int | getProjectionsRightMargin () const |
int | getProjectionsTopMargin () const |
int | getProjectionsWidth () const |
std::vector< HistoData > * | getProjectionsX (HistoData *HD) |
std::vector< HistoData > * | getProjectionsY (HistoData *HD) |
TFile * | GetRefFile () |
TObject * | GetRefHisto (std::string Name) |
int | GetStatus () |
TStyle | GetStyle () |
int | getSummaryBarsThickness () const |
int | getSummaryBottomMargin () const |
int | getSummaryHeight () const |
int | getSummaryLeftMargin () const |
int | getSummaryRightMargin () const |
int | getSummaryTopMargin () const |
int | getSummaryWidth () const |
double | getThreshold () const |
bool | isValid () const |
void | makeDefaultPlots () |
void | makeHTML (HistoData *) |
void | makePlots (HistoData *) |
void | makeSummary (std::string Name) |
void | makeSummaryHTML (std::string Name) |
void | makeSummaryPlot (std::string Name) |
PlotCompareUtility (std::string Reference, std::string New, std::string NewBasePath, std::string NewPrefix="", std::string RefBasePath="", std::string RefPrefix="") | |
PlotCompareUtility (std::string Reference, std::string New, std::string DataPath, std::string Prefix="") | |
void | SetChi2Threshold (float v) |
void | setChi2Threshold (double Threshold) |
void | SetDataPath (std::string v) |
void | setKSThreshold (double Threshold) |
void | SetKSThreshold (float v) |
void | SetPageTitle (std::string v) |
void | setPlotsBottomMargin (int Pixels) |
void | setPlotsHeight (int Pixels) |
void | setPlotsLeftMargin (int Pixels) |
void | setPlotsRightMargin (int Pixels) |
void | setPlotsTopMargin (int Pixels) |
void | setPlotsWidth (int Pixels) |
void | setProjectionsBarsThickness (int Pixels) |
void | setProjectionsBottomMargin (int Pixels) |
void | setProjectionsHeight (int Pixels) |
void | setProjectionsiWidth (int Pixels) |
void | setProjectionsLeftMargin (int Pixels) |
void | setProjectionsRightMargin (int Pixels) |
void | setProjectionsTopMargin (int Pixels) |
void | SetStyle (TStyle v) |
void | setSummaryBarsThickness (int Pixels) |
void | setSummaryBottomMargin (int Pixels) |
void | setSummaryHeight (int Pixels) |
void | setSummaryLeftMargin (int Pixels) |
void | setSummaryRightMargin (int Pixels) |
void | setSummaryTopMargin (int Pixels) |
void | setSummaryWidth (int Pixels) |
virtual | ~PlotCompareUtility () |
virtual | ~PlotCompareUtility () |
Private Member Functions | |
void | centerRebin (TH1 *, TH1 *) |
template<int PlotType> | |
bool | compare (HistoData *) |
template<int PlotType> | |
void | makeHTML (HistoData *) |
template<int PlotType> | |
void | makePlots (HistoData *) |
void | renormalize (TH1 *, TH1 *) |
Private Attributes | |
std::string | base_path |
float | chi2_threshold |
double | chi2Threshold |
std::string | comp_title |
bool | finalResult |
std::vector< HistoData * > | histo_d |
std::vector< HistoData > | histos |
float | ks_threshold |
double | ksThreshold |
TFile * | new_file |
std::string | newBasePath |
TFile * | newFile |
std::string | newPrefix |
int | plotsBottomMargin |
int | plotsHeight |
int | plotsLeftMargin |
int | plotsRightMargin |
int | plotsTopMargin |
int | plotsWidth |
std::string | prefix |
int | projectionsBarsThickness |
int | projectionsBottomMargin |
int | projectionsHeight |
int | projectionsLeftMargin |
int | projectionsRightMargin |
int | projectionsTopMargin |
int | projectionsWidth |
std::map< HistoData *, std::vector< HistoData > > | projectionsX |
std::map< HistoData *, std::vector< HistoData > > | projectionsY |
TFile * | ref_file |
std::string | refBasePath |
TFile * | refFile |
std::string | refPrefix |
int | status |
TStyle | style |
int | summaryBarsThickness |
int | summaryBottomMargin |
int | summaryHeight |
int | summaryLeftMargin |
int | summaryRightMargin |
int | summaryTopMargin |
int | summaryWidth |
Definition at line 16 of file PlotCompareUtility.h.
Definition at line 27 of file PlotCompareUtility.h.
PlotCompareUtility::PlotCompareUtility | ( | std::string | Reference, |
std::string | New, | ||
std::string | DataPath, | ||
std::string | Prefix = "" |
||
) |
virtual PlotCompareUtility::~PlotCompareUtility | ( | ) | [virtual] |
PlotCompareUtility::PlotCompareUtility | ( | std::string | Reference, |
std::string | New, | ||
std::string | NewBasePath, | ||
std::string | NewPrefix = "" , |
||
std::string | RefBasePath = "" , |
||
std::string | RefPrefix = "" |
||
) |
virtual PlotCompareUtility::~PlotCompareUtility | ( | ) | [virtual] |
HistoData* PlotCompareUtility::AddHistoData | ( | std::string | Name | ) |
HistoData* PlotCompareUtility::addHistoData | ( | std::string | NewName, |
std::string | RefName, | ||
int | PlotType | ||
) |
HistoData* PlotCompareUtility::addHistoData | ( | std::string | Name, |
int | PlotType | ||
) | [inline] |
Definition at line 93 of file PlotCompareUtility.h.
References addHistoData().
Referenced by addHistoData().
{ return addHistoData(Name,Name,PlotType); }
HistoData* PlotCompareUtility::addProjectionXData | ( | HistoData * | Parent, |
std::string | Name, | ||
int | PlotType, | ||
int | Bin, | ||
TH1 * | NewHisto, | ||
TH1 * | RefHisto | ||
) |
HistoData* PlotCompareUtility::addProjectionYData | ( | HistoData * | Parent, |
std::string | Name, | ||
int | PlotType, | ||
int | Bin, | ||
TH1 * | NewHisto, | ||
TH1 * | RefHisto | ||
) |
void PlotCompareUtility::centerRebin | ( | TH1 * | , |
TH1 * | |||
) | [private] |
void PlotCompareUtility::clearHistos | ( | ) | [inline] |
void PlotCompareUtility::clearProjectionsX | ( | HistoData * | Parent | ) | [inline] |
Definition at line 97 of file PlotCompareUtility.h.
References projectionsX.
{ projectionsX[Parent].clear(); }
void PlotCompareUtility::clearProjectionsY | ( | HistoData * | Parent | ) | [inline] |
Definition at line 98 of file PlotCompareUtility.h.
References projectionsY.
{ projectionsY[Parent].clear(); }
double PlotCompareUtility::Compare | ( | TH1F * | , |
TH1F * | , | ||
int | |||
) |
bool PlotCompareUtility::compare< Plot2D > | ( | HistoData * | HD | ) |
Definition at line 18 of file Plot1D.h.
References dtNoiseDBValidation_cfg::cerr, and NULL.
{ // get the reference and comparison histograms TH1F *href = (TH1F *)HD->getRefHisto(); TH1F *hnew = (TH1F *)HD->getNewHisto(); // do not run comparisons if either histogram is empty/broken if (hnew == NULL || href == NULL || hnew->GetEntries() <= 1 || href->GetEntries() <= 1) { //std::cerr << HD->getName() << " error: unable to retrieve histogram (or no entries)\n"; HD->setIsEmpty(true); return false; } // rebin histograms and center on common range if (HD->getDoAllow1DRebinning()) centerRebin(href,hnew); // run statistical comparisons double ksScore = hnew->KolmogorovTest(href,"D"); double chi2Score = hnew->Chi2Test(href,"uup"); // renormalize histograms for common display renormalize(href,hnew); // set ks/chi2 and determine high/low scores HD->setKSScore(ksScore); HD->setChi2Score(chi2Score); if (ksThreshold > 0 && chi2Threshold > 0) { HD->setLowScore(ksScore < chi2Score ? ksScore : chi2Score); HD->setHighScore(ksScore > chi2Score ? ksScore : chi2Score); } else if (ksThreshold > 0) { HD->setLowScore(ksScore); HD->setHighScore(ksScore); } else if (chi2Threshold > 0) { HD->setLowScore(chi2Score); HD->setHighScore(chi2Score); } else std::cerr << "error: no test performed? chi2Threshold and ksThreshold <= 0\n"; // check overall result bool passed = (ksScore >= ksThreshold && chi2Score >= chi2Threshold); HD->setResult(passed); // if (!passed) std::cout << "NOTPASSED!!!!"; else std::cout << "YESPASSED!"; // returns true on test passed and false on test failed HD->setIsEmpty(false); return passed; }
bool PlotCompareUtility::compare | ( | HistoData * | ) | [private] |
void PlotCompareUtility::dump | ( | ) |
float PlotCompareUtility::GetChi2Threshold | ( | ) | [inline] |
Definition at line 37 of file PlotCompareUtility.h.
References chi2_threshold.
{ return chi2_threshold; }
double PlotCompareUtility::getChi2Threshold | ( | ) | const [inline] |
Definition at line 39 of file PlotCompareUtility.h.
References chi2Threshold.
{ return chi2Threshold; }
std::string PlotCompareUtility::GetDataPath | ( | ) | [inline] |
bool PlotCompareUtility::getFinalResult | ( | ) | const [inline] |
HistoData* PlotCompareUtility::GetHistoData | ( | std::string | Name | ) |
HistoData* PlotCompareUtility::GetHistoData | ( | int | ) |
std::vector<HistoData>* PlotCompareUtility::getHistos | ( | void | ) | [inline] |
float PlotCompareUtility::GetKSThreshold | ( | ) | [inline] |
Definition at line 36 of file PlotCompareUtility.h.
References ks_threshold.
{ return ks_threshold; }
double PlotCompareUtility::getKSThreshold | ( | ) | const [inline] |
TFile* PlotCompareUtility::GetNewFile | ( | ) | [inline] |
TObject* PlotCompareUtility::GetNewHisto | ( | std::string | Name | ) |
int PlotCompareUtility::GetNumHistos | ( | ) |
int PlotCompareUtility::getNumHistos | ( | ) | const [inline] |
std::string PlotCompareUtility::GetPageTitle | ( | ) | [inline] |
int PlotCompareUtility::getPlotsBottomMargin | ( | ) | const [inline] |
Definition at line 63 of file PlotCompareUtility.h.
References plotsBottomMargin.
{ return plotsBottomMargin; }
int PlotCompareUtility::getPlotsHeight | ( | ) | const [inline] |
int PlotCompareUtility::getPlotsLeftMargin | ( | ) | const [inline] |
Definition at line 61 of file PlotCompareUtility.h.
References plotsLeftMargin.
{ return plotsLeftMargin; }
int PlotCompareUtility::getPlotsRightMargin | ( | ) | const [inline] |
Definition at line 62 of file PlotCompareUtility.h.
References plotsRightMargin.
{ return plotsRightMargin; }
int PlotCompareUtility::getPlotsTopMargin | ( | ) | const [inline] |
Definition at line 60 of file PlotCompareUtility.h.
References plotsTopMargin.
{ return plotsTopMargin; }
int PlotCompareUtility::getPlotsWidth | ( | ) | const [inline] |
std::string PlotCompareUtility::GetPrefix | ( | ) | [inline] |
int PlotCompareUtility::getProjectionsBarsThickness | ( | ) | const [inline] |
Definition at line 53 of file PlotCompareUtility.h.
References projectionsBarsThickness.
{ return projectionsBarsThickness; }
int PlotCompareUtility::getProjectionsBottomMargin | ( | ) | const [inline] |
Definition at line 57 of file PlotCompareUtility.h.
References projectionsBottomMargin.
{ return projectionsBottomMargin; }
int PlotCompareUtility::getProjectionsHeight | ( | ) | const [inline] |
Definition at line 51 of file PlotCompareUtility.h.
References projectionsHeight.
{ return projectionsHeight; }
int PlotCompareUtility::getProjectionsLeftMargin | ( | ) | const [inline] |
Definition at line 55 of file PlotCompareUtility.h.
References projectionsLeftMargin.
{ return projectionsLeftMargin; }
int PlotCompareUtility::getProjectionsRightMargin | ( | ) | const [inline] |
Definition at line 56 of file PlotCompareUtility.h.
References projectionsRightMargin.
{ return projectionsRightMargin; }
int PlotCompareUtility::getProjectionsTopMargin | ( | ) | const [inline] |
Definition at line 54 of file PlotCompareUtility.h.
References projectionsTopMargin.
{ return projectionsTopMargin; }
int PlotCompareUtility::getProjectionsWidth | ( | ) | const [inline] |
Definition at line 52 of file PlotCompareUtility.h.
References projectionsWidth.
{ return projectionsWidth; }
Definition at line 31 of file PlotCompareUtility.h.
References projectionsX.
{ return &projectionsX[HD]; }
Definition at line 32 of file PlotCompareUtility.h.
References projectionsY.
{ return &projectionsY[HD]; }
TFile* PlotCompareUtility::GetRefFile | ( | ) | [inline] |
TObject* PlotCompareUtility::GetRefHisto | ( | std::string | Name | ) |
int PlotCompareUtility::GetStatus | ( | ) | [inline] |
TStyle PlotCompareUtility::GetStyle | ( | ) | [inline] |
int PlotCompareUtility::getSummaryBarsThickness | ( | ) | const [inline] |
Definition at line 46 of file PlotCompareUtility.h.
References summaryBarsThickness.
{ return summaryBarsThickness; }
int PlotCompareUtility::getSummaryBottomMargin | ( | ) | const [inline] |
Definition at line 50 of file PlotCompareUtility.h.
References summaryBottomMargin.
{ return summaryBottomMargin; }
int PlotCompareUtility::getSummaryHeight | ( | ) | const [inline] |
Definition at line 45 of file PlotCompareUtility.h.
References summaryHeight.
{ return summaryHeight; }
int PlotCompareUtility::getSummaryLeftMargin | ( | ) | const [inline] |
Definition at line 48 of file PlotCompareUtility.h.
References summaryLeftMargin.
{ return summaryLeftMargin; }
int PlotCompareUtility::getSummaryRightMargin | ( | ) | const [inline] |
Definition at line 49 of file PlotCompareUtility.h.
References summaryRightMargin.
{ return summaryRightMargin; }
int PlotCompareUtility::getSummaryTopMargin | ( | ) | const [inline] |
Definition at line 47 of file PlotCompareUtility.h.
References summaryTopMargin.
{ return summaryTopMargin; }
int PlotCompareUtility::getSummaryWidth | ( | ) | const [inline] |
Definition at line 44 of file PlotCompareUtility.h.
References summaryWidth.
{ return summaryWidth; }
double PlotCompareUtility::getThreshold | ( | ) | const |
bool PlotCompareUtility::isValid | ( | ) | const |
void PlotCompareUtility::makeDefaultPlots | ( | ) |
void PlotCompareUtility::makeHTML< Plot2D > | ( | HistoData * | HD | ) |
Definition at line 135 of file Plot1D.h.
{ /* HTML is not presently required for 1D histograms -- do nothing // create HTML support code for this HistoData std::string Name = hd->getName(); std::string gifName = Name + "_Results.gif"; std::string html = Name + "_Results.html"; ofstream fout(html.c_str()); // simply link to the appropriate image overlay fout << "<html><body><img src=\"" << gifName << "\"></body></html>" << endl; // close the file fout.close(); */ }
void PlotCompareUtility::makeHTML | ( | HistoData * | ) | [private] |
void PlotCompareUtility::makePlots< Plot2D > | ( | HistoData * | HD | ) |
Definition at line 61 of file Plot1D.h.
References dtNoiseDBValidation_cfg::cerr, WDecay::kNone, and indexGen::title.
{ std::cerr << HD->getName() << "makePlots<Plot1D>\n"; // do not make any new plot if empty if (HD->getIsEmpty()) { HD->setResultImage("NoData_Results.gif"); HD->setResultTarget("NoData_Results.gif"); return; } // get the reference and comparison histograms TH1F *href = (TH1F *)HD->getRefHisto(); TH1F *hnew = (TH1F *)HD->getNewHisto(); // set drawing options on the reference histogram href->SetStats(0); href->SetLineWidth(2); href->SetLineColor(14); href->SetMarkerColor(14); href->SetFillColor(18); // set drawing options on the new histogram hnew->SetStats(0); hnew->SetLineWidth(2); hnew->SetLineColor(HD->getShadedLineColor()); hnew->SetFillStyle(HD->getShadedFillStyle()); hnew->SetFillColor(HD->getShadedFillColor()); // place the test results as the title TString title = HD->getName(); if (ksThreshold > 0) title += " KS Score = "; title += HD->getKSScore(); if (chi2Threshold > 0) title += " Chi^2 Score = "; title += HD->getChi2Score(); // the canvas is rescaled during gif conversion, so add padding to Canvas dimensions int plotsCanvasWidth = plotsWidth + 4; int plotsCanvasHeight = plotsHeight + 28; // setup canvas for displaying the compared histograms TCanvas hCanvas("hCanvas","hCanvas",plotsCanvasWidth,plotsCanvasHeight); hCanvas.SetTopMargin(float(plotsTopMargin) / plotsHeight); hCanvas.SetLeftMargin(float(plotsLeftMargin) / plotsWidth); hCanvas.SetRightMargin(float(plotsRightMargin) / plotsWidth); hCanvas.SetBottomMargin(float(plotsBottomMargin) / plotsHeight); hCanvas.SetFrameFillColor(10); hCanvas.SetGrid(); hCanvas.SetLogy(1); hCanvas.Draw(); TText canvasTitle(0.1,0.97,title.Data()); canvasTitle.Draw("SAME"); // draw the histograms href->Draw(); hnew->Draw("SAME"); if (HD->getDoDrawErrorBars()) hnew->Draw("E1SAME"); // draw a legend TLegend legend(0.15,0.01,0.3, 0.08); legend.AddEntry(hnew,"New","lF"); legend.AddEntry(href,"Reference","lF"); legend.SetFillColor(kNone); legend.Draw("SAME"); // create the plots overlay image std::string gifName = HD->getName() + "_Results.gif"; if (HD->getResultImage() == "") HD->setResultImage(gifName); if (HD->getResultTarget() == "") HD->setResultTarget(gifName); std::cerr << "About to print" << gifName << "\n"; hCanvas.Print(gifName.c_str()); }
void PlotCompareUtility::makePlots | ( | HistoData * | ) | [private] |
void PlotCompareUtility::makeSummary | ( | std::string | Name | ) |
void PlotCompareUtility::makeSummaryHTML | ( | std::string | Name | ) |
void PlotCompareUtility::makeSummaryPlot | ( | std::string | Name | ) |
void PlotCompareUtility::renormalize | ( | TH1 * | , |
TH1 * | |||
) | [private] |
void PlotCompareUtility::setChi2Threshold | ( | double | Threshold | ) | [inline] |
Definition at line 67 of file PlotCompareUtility.h.
References chi2Threshold.
{ chi2Threshold = Threshold; }
void PlotCompareUtility::SetChi2Threshold | ( | float | v | ) | [inline] |
Definition at line 26 of file PlotCompareUtility.h.
References chi2_threshold, and v.
{ chi2_threshold = v; }
void PlotCompareUtility::SetDataPath | ( | std::string | v | ) | [inline] |
void PlotCompareUtility::SetKSThreshold | ( | float | v | ) | [inline] |
Definition at line 25 of file PlotCompareUtility.h.
References ks_threshold, and v.
{ ks_threshold = v; }
void PlotCompareUtility::setKSThreshold | ( | double | Threshold | ) | [inline] |
Definition at line 66 of file PlotCompareUtility.h.
References ksThreshold.
{ ksThreshold = Threshold; }
void PlotCompareUtility::SetPageTitle | ( | std::string | v | ) | [inline] |
Definition at line 29 of file PlotCompareUtility.h.
References comp_title, and v.
{ comp_title = v; }
void PlotCompareUtility::setPlotsBottomMargin | ( | int | Pixels | ) | [inline] |
Definition at line 89 of file PlotCompareUtility.h.
References plotsBottomMargin.
{ plotsBottomMargin = Pixels; }
void PlotCompareUtility::setPlotsHeight | ( | int | Pixels | ) | [inline] |
Definition at line 84 of file PlotCompareUtility.h.
References plotsHeight.
{ plotsHeight = Pixels; }
void PlotCompareUtility::setPlotsLeftMargin | ( | int | Pixels | ) | [inline] |
Definition at line 87 of file PlotCompareUtility.h.
References plotsLeftMargin.
{ plotsLeftMargin = Pixels; }
void PlotCompareUtility::setPlotsRightMargin | ( | int | Pixels | ) | [inline] |
Definition at line 88 of file PlotCompareUtility.h.
References plotsRightMargin.
{ plotsRightMargin = Pixels; }
void PlotCompareUtility::setPlotsTopMargin | ( | int | Pixels | ) | [inline] |
Definition at line 86 of file PlotCompareUtility.h.
References plotsTopMargin.
{ plotsTopMargin = Pixels; }
void PlotCompareUtility::setPlotsWidth | ( | int | Pixels | ) | [inline] |
void PlotCompareUtility::setProjectionsBarsThickness | ( | int | Pixels | ) | [inline] |
Definition at line 79 of file PlotCompareUtility.h.
References projectionsBarsThickness.
{ projectionsBarsThickness = Pixels; }
void PlotCompareUtility::setProjectionsBottomMargin | ( | int | Pixels | ) | [inline] |
Definition at line 83 of file PlotCompareUtility.h.
References projectionsBottomMargin.
{ projectionsBottomMargin = Pixels; }
void PlotCompareUtility::setProjectionsHeight | ( | int | Pixels | ) | [inline] |
Definition at line 78 of file PlotCompareUtility.h.
References projectionsHeight.
{ projectionsHeight = Pixels; }
void PlotCompareUtility::setProjectionsiWidth | ( | int | Pixels | ) | [inline] |
Definition at line 77 of file PlotCompareUtility.h.
References projectionsWidth.
{ projectionsWidth = Pixels; }
void PlotCompareUtility::setProjectionsLeftMargin | ( | int | Pixels | ) | [inline] |
Definition at line 81 of file PlotCompareUtility.h.
References projectionsLeftMargin.
{ projectionsLeftMargin = Pixels; }
void PlotCompareUtility::setProjectionsRightMargin | ( | int | Pixels | ) | [inline] |
Definition at line 82 of file PlotCompareUtility.h.
References projectionsRightMargin.
{ projectionsRightMargin = Pixels; }
void PlotCompareUtility::setProjectionsTopMargin | ( | int | Pixels | ) | [inline] |
Definition at line 80 of file PlotCompareUtility.h.
References projectionsTopMargin.
{ projectionsTopMargin = Pixels; }
void PlotCompareUtility::SetStyle | ( | TStyle | v | ) | [inline] |
void PlotCompareUtility::setSummaryBarsThickness | ( | int | Pixels | ) | [inline] |
Definition at line 72 of file PlotCompareUtility.h.
References summaryBarsThickness.
{ summaryBarsThickness = Pixels; }
void PlotCompareUtility::setSummaryBottomMargin | ( | int | Pixels | ) | [inline] |
Definition at line 76 of file PlotCompareUtility.h.
References summaryBottomMargin.
{ summaryBottomMargin = Pixels; }
void PlotCompareUtility::setSummaryHeight | ( | int | Pixels | ) | [inline] |
Definition at line 71 of file PlotCompareUtility.h.
References summaryHeight.
{ summaryHeight = Pixels; }
void PlotCompareUtility::setSummaryLeftMargin | ( | int | Pixels | ) | [inline] |
Definition at line 74 of file PlotCompareUtility.h.
References summaryLeftMargin.
{ summaryLeftMargin = Pixels; }
void PlotCompareUtility::setSummaryRightMargin | ( | int | Pixels | ) | [inline] |
Definition at line 75 of file PlotCompareUtility.h.
References summaryRightMargin.
{ summaryRightMargin = Pixels; }
void PlotCompareUtility::setSummaryTopMargin | ( | int | Pixels | ) | [inline] |
Definition at line 73 of file PlotCompareUtility.h.
References summaryTopMargin.
{ summaryTopMargin = Pixels; }
void PlotCompareUtility::setSummaryWidth | ( | int | Pixels | ) | [inline] |
Definition at line 70 of file PlotCompareUtility.h.
References summaryWidth.
{ summaryWidth = Pixels; }
std::string PlotCompareUtility::base_path [private] |
Definition at line 64 of file PlotCompareUtility.h.
Referenced by GetDataPath(), and SetDataPath().
float PlotCompareUtility::chi2_threshold [private] |
Definition at line 61 of file PlotCompareUtility.h.
Referenced by GetChi2Threshold(), and SetChi2Threshold().
double PlotCompareUtility::chi2Threshold [private] |
Definition at line 131 of file PlotCompareUtility.h.
Referenced by getChi2Threshold(), and setChi2Threshold().
std::string PlotCompareUtility::comp_title [private] |
Definition at line 70 of file PlotCompareUtility.h.
Referenced by GetPageTitle(), and SetPageTitle().
bool PlotCompareUtility::finalResult [private] |
Definition at line 167 of file PlotCompareUtility.h.
Referenced by getFinalResult().
std::vector<HistoData *> PlotCompareUtility::histo_d [private] |
Definition at line 53 of file PlotCompareUtility.h.
std::vector<HistoData> PlotCompareUtility::histos [private] |
Definition at line 117 of file PlotCompareUtility.h.
Referenced by clearHistos(), getHistos(), and getNumHistos().
float PlotCompareUtility::ks_threshold [private] |
Definition at line 60 of file PlotCompareUtility.h.
Referenced by GetKSThreshold(), and SetKSThreshold().
double PlotCompareUtility::ksThreshold [private] |
Definition at line 130 of file PlotCompareUtility.h.
Referenced by getKSThreshold(), and setKSThreshold().
TFile* PlotCompareUtility::new_file [private] |
Definition at line 57 of file PlotCompareUtility.h.
Referenced by GetNewFile().
std::string PlotCompareUtility::newBasePath [private] |
Definition at line 124 of file PlotCompareUtility.h.
TFile* PlotCompareUtility::newFile [private] |
Definition at line 123 of file PlotCompareUtility.h.
std::string PlotCompareUtility::newPrefix [private] |
Definition at line 125 of file PlotCompareUtility.h.
int PlotCompareUtility::plotsBottomMargin [private] |
Definition at line 164 of file PlotCompareUtility.h.
Referenced by getPlotsBottomMargin(), and setPlotsBottomMargin().
int PlotCompareUtility::plotsHeight [private] |
Definition at line 160 of file PlotCompareUtility.h.
Referenced by getPlotsHeight(), and setPlotsHeight().
int PlotCompareUtility::plotsLeftMargin [private] |
Definition at line 162 of file PlotCompareUtility.h.
Referenced by getPlotsLeftMargin(), and setPlotsLeftMargin().
int PlotCompareUtility::plotsRightMargin [private] |
Definition at line 163 of file PlotCompareUtility.h.
Referenced by getPlotsRightMargin(), and setPlotsRightMargin().
int PlotCompareUtility::plotsTopMargin [private] |
Definition at line 161 of file PlotCompareUtility.h.
Referenced by getPlotsTopMargin(), and setPlotsTopMargin().
int PlotCompareUtility::plotsWidth [private] |
Definition at line 159 of file PlotCompareUtility.h.
Referenced by getPlotsWidth(), and setPlotsWidth().
std::string PlotCompareUtility::prefix [private] |
Definition at line 67 of file PlotCompareUtility.h.
Referenced by GetPrefix().
int PlotCompareUtility::projectionsBarsThickness [private] |
Definition at line 152 of file PlotCompareUtility.h.
Referenced by getProjectionsBarsThickness(), and setProjectionsBarsThickness().
int PlotCompareUtility::projectionsBottomMargin [private] |
Definition at line 156 of file PlotCompareUtility.h.
Referenced by getProjectionsBottomMargin(), and setProjectionsBottomMargin().
int PlotCompareUtility::projectionsHeight [private] |
Definition at line 151 of file PlotCompareUtility.h.
Referenced by getProjectionsHeight(), and setProjectionsHeight().
int PlotCompareUtility::projectionsLeftMargin [private] |
Definition at line 154 of file PlotCompareUtility.h.
Referenced by getProjectionsLeftMargin(), and setProjectionsLeftMargin().
int PlotCompareUtility::projectionsRightMargin [private] |
Definition at line 155 of file PlotCompareUtility.h.
Referenced by getProjectionsRightMargin(), and setProjectionsRightMargin().
int PlotCompareUtility::projectionsTopMargin [private] |
Definition at line 153 of file PlotCompareUtility.h.
Referenced by getProjectionsTopMargin(), and setProjectionsTopMargin().
int PlotCompareUtility::projectionsWidth [private] |
Definition at line 150 of file PlotCompareUtility.h.
Referenced by getProjectionsWidth(), and setProjectionsiWidth().
std::map<HistoData *,std::vector<HistoData> > PlotCompareUtility::projectionsX [private] |
Definition at line 118 of file PlotCompareUtility.h.
Referenced by clearProjectionsX(), and getProjectionsX().
std::map<HistoData *,std::vector<HistoData> > PlotCompareUtility::projectionsY [private] |
Definition at line 119 of file PlotCompareUtility.h.
Referenced by clearProjectionsY(), and getProjectionsY().
TFile* PlotCompareUtility::ref_file [private] |
Definition at line 56 of file PlotCompareUtility.h.
Referenced by GetRefFile().
std::string PlotCompareUtility::refBasePath [private] |
Definition at line 126 of file PlotCompareUtility.h.
TFile* PlotCompareUtility::refFile [private] |
Definition at line 122 of file PlotCompareUtility.h.
std::string PlotCompareUtility::refPrefix [private] |
Definition at line 127 of file PlotCompareUtility.h.
int PlotCompareUtility::status [private] |
Definition at line 76 of file PlotCompareUtility.h.
Referenced by GetStatus().
TStyle PlotCompareUtility::style [private] |
Definition at line 73 of file PlotCompareUtility.h.
Referenced by GetStyle(), and SetStyle().
int PlotCompareUtility::summaryBarsThickness [private] |
Definition at line 143 of file PlotCompareUtility.h.
Referenced by getSummaryBarsThickness(), and setSummaryBarsThickness().
int PlotCompareUtility::summaryBottomMargin [private] |
Definition at line 147 of file PlotCompareUtility.h.
Referenced by getSummaryBottomMargin(), and setSummaryBottomMargin().
int PlotCompareUtility::summaryHeight [private] |
Definition at line 142 of file PlotCompareUtility.h.
Referenced by getSummaryHeight(), and setSummaryHeight().
int PlotCompareUtility::summaryLeftMargin [private] |
Definition at line 145 of file PlotCompareUtility.h.
Referenced by getSummaryLeftMargin(), and setSummaryLeftMargin().
int PlotCompareUtility::summaryRightMargin [private] |
Definition at line 146 of file PlotCompareUtility.h.
Referenced by getSummaryRightMargin(), and setSummaryRightMargin().
int PlotCompareUtility::summaryTopMargin [private] |
Definition at line 144 of file PlotCompareUtility.h.
Referenced by getSummaryTopMargin(), and setSummaryTopMargin().
int PlotCompareUtility::summaryWidth [private] |
Definition at line 141 of file PlotCompareUtility.h.
Referenced by getSummaryWidth(), and setSummaryWidth().