![]() |
ATLAS Offline Software
|
#include <MSVtxPlotComparison.h>
Classes | |
| struct | PlotInfo |
Public Member Functions | |
| MSVtxPlotComparison (const std::vector< std::string > &datapaths, const std::vector< std::string > &labels, const std::string &pltdir) | |
| virtual | ~MSVtxPlotComparison () |
| void | makeComparison () |
Private Member Functions | |
| void | setup () |
| void | setPlotStyle () |
| void | makeTH1Comparison (TKey *key) |
| std::unique_ptr< MSVtxPlotComparison::PlotInfo< THStack > > | getTHStackPlotInfo (const TH1 *h) |
| void | drawTHStack (std::unique_ptr< PlotInfo< THStack > > &hstackInfo) |
| void | drawTHStackPlot (std::unique_ptr< PlotInfo< THStack > > &hstackInfo) |
| void | drawTHStackRatioPlot (std::unique_ptr< PlotInfo< THStack > > &hstackInfo) |
| const TString | getTHStackplotpath (const TString &name) |
| void | makeTEfficiencyComparison (TKey *key) |
| std::unique_ptr< MSVtxPlotComparison::PlotInfo< TMultiGraph > > | getTMultigraphPlotInfo (TEfficiency *h) |
| void | drawTMultigraph (std::unique_ptr< PlotInfo< TMultiGraph > > &mgInfo) |
| void | drawTMultigraphPlot (std::unique_ptr< PlotInfo< TMultiGraph > > &mgInfo) |
| void | drawTMultigraphRatioPlot (std::unique_ptr< PlotInfo< TMultiGraph > > &mgInfo) |
| const TString | getTMultigraphplotpath (const TString &name) |
| TGraphAsymmErrors * | getRatio (const TH1 *num, const TH1 *denom) |
| TGraphAsymmErrors * | getRatio (const TGraphAsymmErrors *num, const TGraphAsymmErrors *denom) |
| void | drawRatio (TGraphAsymmErrors *ratio, TGraphAsymmErrors *denomErrNorm, const TString &xlabel, const TAxis *plotXaxis, const TAxis *plotYaxis, double axisRescaling) |
| Bool_t | ignorePlot (TKey *key) |
| Bool_t | isTH1 (const TClass *objectClass) |
| Bool_t | isTEfficiency (const TClass *objectClass) |
| void | makeSinglePad () |
| Int_t | getPointIdx (const TGraphAsymmErrors *graph, double x) |
| TGraphAsymmErrors * | getNormalisedGraph (const TGraphAsymmErrors *graph) |
Private Attributes | |
| std::vector< std::string > | m_datapaths {} |
| std::vector< std::string > | m_labels {} |
| bool | m_makeRatioPlots {} |
| TString | m_plotdir {} |
| TString | m_plotdir_truthVtx {} |
| TString | m_plotdir_recoVtx {} |
| TString | m_plotdir_recoVtxHits {} |
| TString | m_plotdir_vtxResiduals {} |
| TString | m_plotdir_inputObjects {} |
| TString | m_plotdir_vtxEfficiency {} |
| TString | m_plotdir_vtxFakeRate {} |
| std::unique_ptr< TFile > | m_output_file {nullptr} |
| std::unique_ptr< TCanvas > | m_c {nullptr} |
| const Int_t | m_kP10Blue = TColor::GetColor("#3f90da") |
| const Int_t | m_kP10Yellow = TColor::GetColor("#ffa90e") |
| const Int_t | m_kP10Red = TColor::GetColor("#bd1f01") |
| const Int_t | m_kP10Grey = TColor::GetColor("#832db6") |
| const Int_t | m_kP10Violet = TColor::GetColor("#a96b59") |
| const Int_t | m_kP10Brown = TColor::GetColor("#94a4a2") |
| const Int_t | m_kP10Orange = TColor::GetColor("#e76300") |
| const Int_t | m_kP10Green = TColor::GetColor("#b9ac70") |
| const Int_t | m_kP10Ash = TColor::GetColor("#717581") |
| const Int_t | m_kP10Cyan = TColor::GetColor("#92dadd") |
| const std::array< Int_t, 10 > | m_colors {m_kP10Blue, m_kP10Yellow, m_kP10Red, m_kP10Grey, m_kP10Violet, m_kP10Brown, m_kP10Orange, m_kP10Green, m_kP10Ash, m_kP10Cyan} |
Static Private Attributes | |
| static constexpr std::array | m_markers {kOpenCircle, kOpenSquare, kOpenTriangleUp, kOpenDiamond, kOpenStar, kOpenTriangleDown, kOpenDoubleDiamond, kOpenCrossX} |
Definition at line 37 of file MSVtxPlotComparison.h.
| MSVtxPlotComparison::MSVtxPlotComparison | ( | const std::vector< std::string > & | datapaths, |
| const std::vector< std::string > & | labels, | ||
| const std::string & | pltdir ) |
Definition at line 10 of file MSVtxPlotComparison.cxx.
|
virtualdefault |
|
private |
Definition at line 403 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 129 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 142 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 175 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 282 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 294 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 320 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 496 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 487 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 381 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 372 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 97 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 213 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 242 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 359 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 467 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 461 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 452 of file MSVtxPlotComparison.cxx.
| void MSVtxPlotComparison::makeComparison | ( | ) |
Definition at line 26 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 477 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 229 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 84 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 70 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 53 of file MSVtxPlotComparison.cxx.
|
private |
Definition at line 97 of file MSVtxPlotComparison.h.
|
private |
Definition at line 113 of file MSVtxPlotComparison.h.
|
private |
Definition at line 85 of file MSVtxPlotComparison.h.
|
private |
Definition at line 110 of file MSVtxPlotComparison.h.
|
private |
Definition at line 102 of file MSVtxPlotComparison.h.
|
private |
Definition at line 107 of file MSVtxPlotComparison.h.
|
private |
Definition at line 111 of file MSVtxPlotComparison.h.
|
private |
Definition at line 109 of file MSVtxPlotComparison.h.
|
private |
Definition at line 105 of file MSVtxPlotComparison.h.
|
private |
Definition at line 108 of file MSVtxPlotComparison.h.
|
private |
Definition at line 104 of file MSVtxPlotComparison.h.
|
private |
Definition at line 106 of file MSVtxPlotComparison.h.
|
private |
Definition at line 103 of file MSVtxPlotComparison.h.
|
private |
Definition at line 86 of file MSVtxPlotComparison.h.
|
private |
Definition at line 87 of file MSVtxPlotComparison.h.
|
staticconstexprprivate |
Definition at line 114 of file MSVtxPlotComparison.h.
|
private |
Definition at line 96 of file MSVtxPlotComparison.h.
|
private |
Definition at line 88 of file MSVtxPlotComparison.h.
|
private |
Definition at line 93 of file MSVtxPlotComparison.h.
|
private |
Definition at line 90 of file MSVtxPlotComparison.h.
|
private |
Definition at line 91 of file MSVtxPlotComparison.h.
|
private |
Definition at line 89 of file MSVtxPlotComparison.h.
|
private |
Definition at line 94 of file MSVtxPlotComparison.h.
|
private |
Definition at line 95 of file MSVtxPlotComparison.h.
|
private |
Definition at line 92 of file MSVtxPlotComparison.h.