#include <Validation/RecoParticleFlow/bin/include/PlotCompareUtility.h>
Definition at line 17 of file PlotCompareUtility.h.
PlotCompareUtility::PlotCompareUtility | ( | std::string | Reference, | |
std::string | New, | |||
std::string | NewBasePath, | |||
std::string | NewPrefix = "" , |
|||
std::string | RefBasePath = "" , |
|||
std::string | RefPrefix = "" | |||
) |
virtual PlotCompareUtility::~PlotCompareUtility | ( | ) | [virtual] |
Definition at line 93 of file PlotCompareUtility.h.
References addHistoData().
00093 { return addHistoData(Name,Name,PlotType); }
HistoData* PlotCompareUtility::addHistoData | ( | std::string | NewName, | |
std::string | RefName, | |||
int | PlotType | |||
) |
Referenced by addHistoData().
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] |
Definition at line 97 of file PlotCompareUtility.h.
References projectionsX.
00097 { projectionsX[Parent].clear(); }
Definition at line 98 of file PlotCompareUtility.h.
References projectionsY.
00098 { projectionsY[Parent].clear(); }
void PlotCompareUtility::dump | ( | ) |
double PlotCompareUtility::getChi2Threshold | ( | ) | const [inline] |
Definition at line 39 of file PlotCompareUtility.h.
References chi2Threshold.
00039 { return chi2Threshold; }
bool PlotCompareUtility::getFinalResult | ( | ) | const [inline] |
Definition at line 41 of file PlotCompareUtility.h.
References finalResult.
00041 { return finalResult; }
std::vector<HistoData>* PlotCompareUtility::getHistos | ( | ) | [inline] |
double PlotCompareUtility::getKSThreshold | ( | ) | const [inline] |
Definition at line 38 of file PlotCompareUtility.h.
References ksThreshold.
00038 { return ksThreshold; }
int PlotCompareUtility::getNumHistos | ( | ) | const [inline] |
Definition at line 33 of file PlotCompareUtility.h.
References histos.
00033 { return histos.size(); }
int PlotCompareUtility::getPlotsBottomMargin | ( | ) | const [inline] |
Definition at line 63 of file PlotCompareUtility.h.
References plotsBottomMargin.
00063 { return plotsBottomMargin; }
int PlotCompareUtility::getPlotsHeight | ( | ) | const [inline] |
Definition at line 58 of file PlotCompareUtility.h.
References plotsHeight.
00058 { return plotsHeight; }
int PlotCompareUtility::getPlotsLeftMargin | ( | ) | const [inline] |
Definition at line 61 of file PlotCompareUtility.h.
References plotsLeftMargin.
00061 { return plotsLeftMargin; }
int PlotCompareUtility::getPlotsRightMargin | ( | ) | const [inline] |
Definition at line 62 of file PlotCompareUtility.h.
References plotsRightMargin.
00062 { return plotsRightMargin; }
int PlotCompareUtility::getPlotsTopMargin | ( | ) | const [inline] |
Definition at line 60 of file PlotCompareUtility.h.
References plotsTopMargin.
00060 { return plotsTopMargin; }
int PlotCompareUtility::getPlotsWidth | ( | ) | const [inline] |
Definition at line 59 of file PlotCompareUtility.h.
References plotsWidth.
00059 { return plotsWidth; }
int PlotCompareUtility::getProjectionsBarsThickness | ( | ) | const [inline] |
Definition at line 53 of file PlotCompareUtility.h.
References projectionsBarsThickness.
00053 { return projectionsBarsThickness; }
int PlotCompareUtility::getProjectionsBottomMargin | ( | ) | const [inline] |
Definition at line 57 of file PlotCompareUtility.h.
References projectionsBottomMargin.
00057 { return projectionsBottomMargin; }
int PlotCompareUtility::getProjectionsHeight | ( | ) | const [inline] |
Definition at line 51 of file PlotCompareUtility.h.
References projectionsHeight.
00051 { return projectionsHeight; }
int PlotCompareUtility::getProjectionsLeftMargin | ( | ) | const [inline] |
Definition at line 55 of file PlotCompareUtility.h.
References projectionsLeftMargin.
00055 { return projectionsLeftMargin; }
int PlotCompareUtility::getProjectionsRightMargin | ( | ) | const [inline] |
Definition at line 56 of file PlotCompareUtility.h.
References projectionsRightMargin.
00056 { return projectionsRightMargin; }
int PlotCompareUtility::getProjectionsTopMargin | ( | ) | const [inline] |
Definition at line 54 of file PlotCompareUtility.h.
References projectionsTopMargin.
00054 { return projectionsTopMargin; }
int PlotCompareUtility::getProjectionsWidth | ( | ) | const [inline] |
Definition at line 52 of file PlotCompareUtility.h.
References projectionsWidth.
00052 { return projectionsWidth; }
Definition at line 31 of file PlotCompareUtility.h.
References projectionsX.
00031 { return &projectionsX[HD]; }
Definition at line 32 of file PlotCompareUtility.h.
References projectionsY.
00032 { return &projectionsY[HD]; }
int PlotCompareUtility::getSummaryBarsThickness | ( | ) | const [inline] |
Definition at line 46 of file PlotCompareUtility.h.
References summaryBarsThickness.
00046 { return summaryBarsThickness; }
int PlotCompareUtility::getSummaryBottomMargin | ( | ) | const [inline] |
Definition at line 50 of file PlotCompareUtility.h.
References summaryBottomMargin.
00050 { return summaryBottomMargin; }
int PlotCompareUtility::getSummaryHeight | ( | ) | const [inline] |
Definition at line 45 of file PlotCompareUtility.h.
References summaryHeight.
00045 { return summaryHeight; }
int PlotCompareUtility::getSummaryLeftMargin | ( | ) | const [inline] |
Definition at line 48 of file PlotCompareUtility.h.
References summaryLeftMargin.
00048 { return summaryLeftMargin; }
int PlotCompareUtility::getSummaryRightMargin | ( | ) | const [inline] |
Definition at line 49 of file PlotCompareUtility.h.
References summaryRightMargin.
00049 { return summaryRightMargin; }
int PlotCompareUtility::getSummaryTopMargin | ( | ) | const [inline] |
Definition at line 47 of file PlotCompareUtility.h.
References summaryTopMargin.
00047 { return summaryTopMargin; }
int PlotCompareUtility::getSummaryWidth | ( | ) | const [inline] |
Definition at line 44 of file PlotCompareUtility.h.
References summaryWidth.
00044 { return summaryWidth; }
double PlotCompareUtility::getThreshold | ( | ) | const |
bool PlotCompareUtility::isValid | ( | ) | const |
void PlotCompareUtility::makeDefaultPlots | ( | ) |
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.
00067 { chi2Threshold = Threshold; }
void PlotCompareUtility::setKSThreshold | ( | double | Threshold | ) | [inline] |
Definition at line 66 of file PlotCompareUtility.h.
References ksThreshold.
00066 { ksThreshold = Threshold; }
Definition at line 89 of file PlotCompareUtility.h.
References plotsBottomMargin.
00089 { plotsBottomMargin = Pixels; }
Definition at line 84 of file PlotCompareUtility.h.
References plotsHeight.
00084 { plotsHeight = Pixels; }
Definition at line 87 of file PlotCompareUtility.h.
References plotsLeftMargin.
00087 { plotsLeftMargin = Pixels; }
Definition at line 88 of file PlotCompareUtility.h.
References plotsRightMargin.
00088 { plotsRightMargin = Pixels; }
Definition at line 86 of file PlotCompareUtility.h.
References plotsTopMargin.
00086 { plotsTopMargin = Pixels; }
Definition at line 85 of file PlotCompareUtility.h.
References plotsWidth.
00085 { plotsWidth = Pixels; }
Definition at line 79 of file PlotCompareUtility.h.
References projectionsBarsThickness.
00079 { projectionsBarsThickness = Pixels; }
Definition at line 83 of file PlotCompareUtility.h.
References projectionsBottomMargin.
00083 { projectionsBottomMargin = Pixels; }
Definition at line 78 of file PlotCompareUtility.h.
References projectionsHeight.
00078 { projectionsHeight = Pixels; }
Definition at line 77 of file PlotCompareUtility.h.
References projectionsWidth.
00077 { projectionsWidth = Pixels; }
Definition at line 81 of file PlotCompareUtility.h.
References projectionsLeftMargin.
00081 { projectionsLeftMargin = Pixels; }
Definition at line 82 of file PlotCompareUtility.h.
References projectionsRightMargin.
00082 { projectionsRightMargin = Pixels; }
Definition at line 80 of file PlotCompareUtility.h.
References projectionsTopMargin.
00080 { projectionsTopMargin = Pixels; }
Definition at line 72 of file PlotCompareUtility.h.
References summaryBarsThickness.
00072 { summaryBarsThickness = Pixels; }
Definition at line 76 of file PlotCompareUtility.h.
References summaryBottomMargin.
00076 { summaryBottomMargin = Pixels; }
Definition at line 71 of file PlotCompareUtility.h.
References summaryHeight.
00071 { summaryHeight = Pixels; }
Definition at line 74 of file PlotCompareUtility.h.
References summaryLeftMargin.
00074 { summaryLeftMargin = Pixels; }
Definition at line 75 of file PlotCompareUtility.h.
References summaryRightMargin.
00075 { summaryRightMargin = Pixels; }
Definition at line 73 of file PlotCompareUtility.h.
References summaryTopMargin.
00073 { summaryTopMargin = Pixels; }
Definition at line 70 of file PlotCompareUtility.h.
References summaryWidth.
00070 { summaryWidth = Pixels; }
double PlotCompareUtility::chi2Threshold [private] |
Definition at line 131 of file PlotCompareUtility.h.
Referenced by getChi2Threshold(), and setChi2Threshold().
bool PlotCompareUtility::finalResult [private] |
std::vector<HistoData> PlotCompareUtility::histos [private] |
Definition at line 117 of file PlotCompareUtility.h.
Referenced by clearHistos(), getHistos(), and getNumHistos().
double PlotCompareUtility::ksThreshold [private] |
Definition at line 130 of file PlotCompareUtility.h.
Referenced by getKSThreshold(), and setKSThreshold().
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().
Definition at line 152 of file PlotCompareUtility.h.
Referenced by getProjectionsBarsThickness(), and setProjectionsBarsThickness().
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().
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().
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::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().