|
BmnRoot
|
#include "BmnDrawHist.h"#include "TH1.h"#include "TH2.h"#include "TH1D.h"#include "TPad.h"#include "TLegend.h"#include "TStyle.h"#include "TGraph.h"#include "TGraph2D.h"#include "TMath.h"#include "TGaxis.h"#include <string>#include <limits>#include <iostream>#include <sstream>#include <cassert>Go to the source code of this file.
Functions | |
| void | SetDefaultDrawStyle () |
| void | DrawH1 (TH1 *hist, HistScale logx, HistScale logy, const string &drawOpt, Int_t lineColor, Int_t lineWidth, Int_t lineStyle, Float_t markerSize, Int_t markerStyle, Int_t fillColor) |
| void | DrawH2 (TH2 *hist, HistScale logx, HistScale logy, HistScale logz, const string &drawOpt) |
| void | DrawH1 (const vector< TH1 * > &histos, const vector< string > &histLabels, HistScale logx, HistScale logy, Bool_t drawLegend, Double_t x1, Double_t y1, Double_t x2, Double_t y2, const string &drawOpt, Bool_t outputMeanValue01) |
| void | DrawMeanLine (TH1 *hist) |
| void | DrawGraph (TGraph *graph, HistScale logx, HistScale logy, const string &drawOpt, Int_t color, Int_t lineWidth, Int_t lineStyle, Int_t markerSize, Int_t markerStyle) |
| void | DrawGraph (const vector< TGraph * > &graphs, const vector< string > &graphLabels, HistScale logx, HistScale logy, Bool_t drawLegend, Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
| void | DrawGraph2D (TGraph2D *graph, HistScale logx, HistScale logy, HistScale logz, const string &drawOpt) |
Definition in file BmnDrawHist.cxx.
| void DrawGraph | ( | const vector< TGraph * > & | graphs, |
| const vector< string > & | graphLabels, | ||
| HistScale | logx, | ||
| HistScale | logy, | ||
| Bool_t | drawLegend, | ||
| Double_t | x1, | ||
| Double_t | y1, | ||
| Double_t | x2, | ||
| Double_t | y2 | ||
| ) |
Definition at line 281 of file BmnDrawHist.cxx.
References BmnDrawingOptions::Color(), DrawGraph(), BmnDrawingOptions::LineStyle(), BmnDrawingOptions::LineWidth(), BmnDrawingOptions::MarkerSize(), BmnDrawingOptions::MarkerStyle(), max(), and min().
| void DrawGraph | ( | TGraph * | graph, |
| HistScale | logx, | ||
| HistScale | logy, | ||
| const string & | drawOpt, | ||
| Int_t | color, | ||
| Int_t | lineWidth, | ||
| Int_t | lineStyle, | ||
| Int_t | markerSize, | ||
| Int_t | markerStyle | ||
| ) |
Definition at line 242 of file BmnDrawHist.cxx.
References kLog, and BmnDrawingOptions::TextSize().
Referenced by DrawGraph().
| void DrawGraph2D | ( | TGraph2D * | graph, |
| HistScale | logx, | ||
| HistScale | logy, | ||
| HistScale | logz, | ||
| const string & | drawOpt | ||
| ) |
Definition at line 315 of file BmnDrawHist.cxx.
References kLog, and BmnDrawingOptions::TextSize().
| void DrawH1 | ( | const vector< TH1 * > & | histos, |
| const vector< string > & | histLabels, | ||
| HistScale | logx, | ||
| HistScale | logy, | ||
| Bool_t | drawLegend, | ||
| Double_t | x1, | ||
| Double_t | y1, | ||
| Double_t | x2, | ||
| Double_t | y2, | ||
| const string & | drawOpt, | ||
| Bool_t | outputMeanValue01 | ||
| ) |
Definition at line 122 of file BmnDrawHist.cxx.
References BmnDrawingOptions::Color(), DrawH1(), f, i, BmnDrawingOptions::LineStyle(), BmnDrawingOptions::LineWidth(), BmnDrawingOptions::MarkerSize(), BmnDrawingOptions::MarkerStyle(), and max().
| void DrawH1 | ( | TH1 * | hist, |
| HistScale | logx, | ||
| HistScale | logy, | ||
| const string & | drawOpt, | ||
| Int_t | lineColor, | ||
| Int_t | lineWidth, | ||
| Int_t | lineStyle, | ||
| Float_t | markerSize, | ||
| Int_t | markerStyle, | ||
| Int_t | fillColor | ||
| ) |
Definition at line 43 of file BmnDrawHist.cxx.
References kLog, and BmnDrawingOptions::TextSize().
Referenced by DrawH1(), BmnSimulationReport::DrawOneH1(), BmnSimulationReport::DrawThreeH1(), and BmnSimulationReport::DrawTwoH1().
Definition at line 84 of file BmnDrawHist.cxx.
References kLog, and BmnDrawingOptions::TextSize().
Referenced by BmnSimulationReport::DrawFourH2(), BmnSimulationReport::DrawNH2(), BmnSimulationReport::DrawOneH2(), BmnSimulationReport::DrawThreeH2(), and BmnSimulationReport::DrawTwoH2().
| void DrawMeanLine | ( | TH1 * | hist | ) |
| void SetDefaultDrawStyle | ( | ) |
Definition at line 28 of file BmnDrawHist.cxx.
Referenced by BmnPidQaReport::Draw(), BmnTrackingQaReport::Draw(), BmnProfQa::Init(), and BmnTrackingQaExp::Init().