#include <PlotCompareUtility.h>
Public Types | |
enum | Axis { axisX, axisY } |
Public Member Functions | |
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) |
bool | compare (HistoData *) |
void | dump () |
double | getChi2Threshold () const |
bool | getFinalResult () const |
std::vector< HistoData > * | getHistos () |
double | getKSThreshold () const |
int | getNumHistos () const |
int | getPlotsBottomMargin () const |
int | getPlotsHeight () const |
int | getPlotsLeftMargin () const |
int | getPlotsRightMargin () const |
int | getPlotsTopMargin () const |
int | getPlotsWidth () const |
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) |
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="") | |
void | setChi2Threshold (double Threshold) |
void | setKSThreshold (double Threshold) |
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 | 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 () |
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 | |
double | chi2Threshold |
bool | finalResult |
std::vector< HistoData > | histos |
double | ksThreshold |
std::string | newBasePath |
TFile * | newFile |
std::string | newPrefix |
int | plotsBottomMargin |
int | plotsHeight |
int | plotsLeftMargin |
int | plotsRightMargin |
int | plotsTopMargin |
int | plotsWidth |
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 |
std::string | refBasePath |
TFile * | refFile |
std::string | refPrefix |
int | summaryBarsThickness |
int | summaryBottomMargin |
int | summaryHeight |
int | summaryLeftMargin |
int | summaryRightMargin |
int | summaryTopMargin |
int | summaryWidth |
Definition at line 17 of file PlotCompareUtility.h.
Enumerator | |
---|---|
axisX | |
axisY |
Definition at line 27 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 |
HistoData* PlotCompareUtility::addHistoData | ( | std::string | NewName, |
std::string | RefName, | ||
int | PlotType | ||
) |
|
inline |
Definition at line 93 of file PlotCompareUtility.h.
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 | ||
) |
|
private |
|
inline |
Definition at line 96 of file PlotCompareUtility.h.
|
inline |
Definition at line 97 of file PlotCompareUtility.h.
|
inline |
Definition at line 98 of file PlotCompareUtility.h.
Definition at line 18 of file Plot1D.h.
References ecal_dqm_sourceclient-live_cfg::cerr, and NULL.
|
private |
void PlotCompareUtility::dump | ( | ) |
|
inline |
Definition at line 39 of file PlotCompareUtility.h.
|
inline |
Definition at line 41 of file PlotCompareUtility.h.
|
inline |
Definition at line 30 of file PlotCompareUtility.h.
|
inline |
Definition at line 38 of file PlotCompareUtility.h.
|
inline |
Definition at line 33 of file PlotCompareUtility.h.
|
inline |
Definition at line 63 of file PlotCompareUtility.h.
|
inline |
Definition at line 58 of file PlotCompareUtility.h.
|
inline |
Definition at line 61 of file PlotCompareUtility.h.
|
inline |
Definition at line 62 of file PlotCompareUtility.h.
|
inline |
Definition at line 60 of file PlotCompareUtility.h.
|
inline |
Definition at line 59 of file PlotCompareUtility.h.
|
inline |
Definition at line 53 of file PlotCompareUtility.h.
|
inline |
Definition at line 57 of file PlotCompareUtility.h.
|
inline |
Definition at line 51 of file PlotCompareUtility.h.
|
inline |
Definition at line 55 of file PlotCompareUtility.h.
|
inline |
Definition at line 56 of file PlotCompareUtility.h.
|
inline |
Definition at line 54 of file PlotCompareUtility.h.
|
inline |
Definition at line 52 of file PlotCompareUtility.h.
Definition at line 31 of file PlotCompareUtility.h.
Definition at line 32 of file PlotCompareUtility.h.
|
inline |
Definition at line 46 of file PlotCompareUtility.h.
|
inline |
Definition at line 50 of file PlotCompareUtility.h.
|
inline |
Definition at line 45 of file PlotCompareUtility.h.
|
inline |
Definition at line 48 of file PlotCompareUtility.h.
|
inline |
Definition at line 49 of file PlotCompareUtility.h.
|
inline |
Definition at line 47 of file PlotCompareUtility.h.
|
inline |
Definition at line 44 of file PlotCompareUtility.h.
double PlotCompareUtility::getThreshold | ( | ) | const |
bool PlotCompareUtility::isValid | ( | ) | const |
Referenced by core.AutoHandle.AutoHandle::ReallyLoad().
void PlotCompareUtility::makeDefaultPlots | ( | ) |
|
private |
Definition at line 61 of file Plot1D.h.
References ecal_dqm_sourceclient-live_cfg::cerr, WDecay::kNone, AlCaHLTBitMon_QueryRunRegistry::string, and indexGen::title.
|
private |
void PlotCompareUtility::makeSummary | ( | std::string | Name | ) |
void PlotCompareUtility::makeSummaryHTML | ( | std::string | Name | ) |
void PlotCompareUtility::makeSummaryPlot | ( | std::string | Name | ) |
|
private |
|
inline |
Definition at line 67 of file PlotCompareUtility.h.
|
inline |
Definition at line 66 of file PlotCompareUtility.h.
|
inline |
Definition at line 89 of file PlotCompareUtility.h.
|
inline |
Definition at line 84 of file PlotCompareUtility.h.
|
inline |
Definition at line 87 of file PlotCompareUtility.h.
|
inline |
Definition at line 88 of file PlotCompareUtility.h.
|
inline |
Definition at line 86 of file PlotCompareUtility.h.
|
inline |
Definition at line 85 of file PlotCompareUtility.h.
|
inline |
Definition at line 79 of file PlotCompareUtility.h.
|
inline |
Definition at line 83 of file PlotCompareUtility.h.
|
inline |
Definition at line 78 of file PlotCompareUtility.h.
|
inline |
Definition at line 77 of file PlotCompareUtility.h.
|
inline |
Definition at line 81 of file PlotCompareUtility.h.
|
inline |
Definition at line 82 of file PlotCompareUtility.h.
|
inline |
Definition at line 80 of file PlotCompareUtility.h.
|
inline |
Definition at line 72 of file PlotCompareUtility.h.
|
inline |
Definition at line 76 of file PlotCompareUtility.h.
|
inline |
Definition at line 71 of file PlotCompareUtility.h.
|
inline |
Definition at line 74 of file PlotCompareUtility.h.
|
inline |
Definition at line 75 of file PlotCompareUtility.h.
|
inline |
Definition at line 73 of file PlotCompareUtility.h.
|
inline |
Definition at line 70 of file PlotCompareUtility.h.
|
private |
Definition at line 131 of file PlotCompareUtility.h.
|
private |
Definition at line 167 of file PlotCompareUtility.h.
|
private |
Definition at line 117 of file PlotCompareUtility.h.
|
private |
Definition at line 130 of file PlotCompareUtility.h.
|
private |
Definition at line 124 of file PlotCompareUtility.h.
|
private |
Definition at line 123 of file PlotCompareUtility.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigEditorPlugin.ConfigEditorPlugin::__init__().
|
private |
Definition at line 125 of file PlotCompareUtility.h.
|
private |
Definition at line 164 of file PlotCompareUtility.h.
|
private |
Definition at line 160 of file PlotCompareUtility.h.
|
private |
Definition at line 162 of file PlotCompareUtility.h.
|
private |
Definition at line 163 of file PlotCompareUtility.h.
|
private |
Definition at line 161 of file PlotCompareUtility.h.
|
private |
Definition at line 159 of file PlotCompareUtility.h.
|
private |
Definition at line 152 of file PlotCompareUtility.h.
|
private |
Definition at line 156 of file PlotCompareUtility.h.
|
private |
Definition at line 151 of file PlotCompareUtility.h.
|
private |
Definition at line 154 of file PlotCompareUtility.h.
|
private |
Definition at line 155 of file PlotCompareUtility.h.
|
private |
Definition at line 153 of file PlotCompareUtility.h.
|
private |
Definition at line 150 of file PlotCompareUtility.h.
Definition at line 118 of file PlotCompareUtility.h.
Definition at line 119 of file PlotCompareUtility.h.
|
private |
Definition at line 126 of file PlotCompareUtility.h.
|
private |
Definition at line 122 of file PlotCompareUtility.h.
|
private |
Definition at line 127 of file PlotCompareUtility.h.
|
private |
Definition at line 143 of file PlotCompareUtility.h.
|
private |
Definition at line 147 of file PlotCompareUtility.h.
|
private |
Definition at line 142 of file PlotCompareUtility.h.
|
private |
Definition at line 145 of file PlotCompareUtility.h.
|
private |
Definition at line 146 of file PlotCompareUtility.h.
|
private |
Definition at line 144 of file PlotCompareUtility.h.
|
private |
Definition at line 141 of file PlotCompareUtility.h.