#include <CompHist.h>
Public Types | |
enum | HistFilter { kBeginsWith, kEndsWith, kContains } |
enum | RootOutput { kFirstOnly, kLastOnly, kAll } |
Public Member Functions | |
CompHist () | |
CompHist (bool verbose) | |
void | draw (TCanvas &, TLegend &, int &, int &) |
void | drawEps () |
void | drawPs () |
bool | histFilter (TString &, std::vector< std::string > &) |
bool | histFilter (TString &, std::vector< std::string > &, CompHist::HistFilter) |
void | loadHistograms (std::vector< std::string > &, std::vector< TObjArray > &) |
void | loadHistograms () |
virtual void | readConfig (std::string)=0 |
void | setVerbose (bool val) |
bool | verbose () |
std::string | writeAs () |
void | writeOutput (CompHist::RootOutput) |
void | writeOutput () |
virtual | ~CompHist () |
Protected Member Functions | |
void | configBlockHist (ConfigFile &) |
void | configBlockIO (ConfigFile &) |
double | findMaximum (int) |
bool | isOutputRequested () |
std::string | legend (int) |
void | readHistogramList () |
void | readLabels (std::string, std::vector< std::string > &) |
void | setAxesStyle (TH1 &, const char *, const char *) |
void | setCanvasStyle (TCanvas &) |
void | setCanvGrid (TCanvas &, int) |
void | setCanvLog (TCanvas &, int) |
void | setFillColor (TH1F &, int) |
void | setFillStyle (TH1F &, int) |
void | setHistLabels (TH1F &, int) |
void | setHistMax (TH1F &, int) |
void | setHistMin (TH1F &, int) |
void | setHistScale (TH1F &, int) |
void | setHistStyles (TH1F &, int, int) |
void | setLegendStyle (TLegend &) |
void | setLineColor (TH1F &, int) |
void | setLineStyle (TH1F &, int) |
void | setLineWidth (TH1F &, int) |
void | setMarkerColor (TH1F &, int) |
void | setMarkerSize (TH1F &, int) |
void | setMarkerStyle (TH1F &, int) |
Protected Attributes | |
std::vector< short int > | commonStyle_ |
std::vector< short int > | commonWidth_ |
std::vector< std::string > | dirNameList_ |
std::vector< short int > | errors_ |
std::vector< TFile * > | fileList_ |
std::vector< std::string > | fileNameList_ |
std::string | filterOpt_ |
std::vector< short int > | gridX_ |
std::vector< short int > | gridY_ |
std::vector< short int > | histColor_ |
std::string | histFile_ |
std::vector< std::string > | histFilterList_ |
std::vector< std::string > | histList_ |
std::vector< short int > | histStyle_ |
std::vector< std::string > | legendEntries_ |
double | legXLeft_ |
double | legXRight_ |
double | legYLower_ |
double | legYUpper_ |
std::vector< short int > | logX_ |
std::vector< short int > | logY_ |
std::vector< double > | markerSize_ |
std::vector< short int > | markerStyle_ |
std::vector< double > | max_ |
std::vector< double > | min_ |
std::string | output_ |
std::vector< std::string > | outputLabelList_ |
std::vector< std::string > | plotFilterList_ |
std::string | rootOutDir_ |
std::vector< TObjArray > | sampleList_ |
std::vector< double > | scale_ |
bool | verbose_ |
std::string | writeAs_ |
std::string | writeTo_ |
std::vector< std::string > | xAxes_ |
std::vector< std::string > | yAxes_ |
Definition at line 35 of file CompHist.h.
enum CompHist::HistFilter |
Enumerator | |
---|---|
kBeginsWith | |
kEndsWith | |
kContains |
Definition at line 40 of file CompHist.h.
enum CompHist::RootOutput |
Enumerator | |
---|---|
kFirstOnly | |
kLastOnly | |
kAll |
Definition at line 39 of file CompHist.h.
|
inline |
Definition at line 44 of file CompHist.h.
|
inline |
Definition at line 45 of file CompHist.h.
|
inlinevirtual |
Definition at line 47 of file CompHist.h.
|
protected |
Definition at line 72 of file CompHist.cc.
References benchmark_cfg::cerr, cmsRelvalreport::exit, ConfigFile::read(), and readVector().
|
protected |
Definition at line 40 of file CompHist.cc.
References benchmark_cfg::cerr, cmsRelvalreport::exit, ConfigFile::read(), and readVector().
void CompHist::draw | ( | TCanvas & | canv, |
TLegend & | leg, | ||
int & | idx, | ||
int & | jdx | ||
) |
Definition at line 294 of file CompHist.cc.
References HistStyle::Filled, estimatePileup::hist, MultipleCompare::legend, HistStyle::Line, and HistStyle::Marker.
void CompHist::drawEps | ( | ) |
Definition at line 404 of file CompHist.cc.
References gather_cfg::cout, cond::draw(), and convertSQLitetoXML_cfg::output.
Referenced by main().
void CompHist::drawPs | ( | ) |
Definition at line 351 of file CompHist.cc.
References gather_cfg::cout, cond::draw(), and convertSQLitetoXML_cfg::output.
Referenced by main().
|
protected |
bool CompHist::histFilter | ( | TString & | cmp, |
std::vector< std::string > & | ref | ||
) |
Definition at line 244 of file CompHist.cc.
References benchmark_cfg::cerr.
bool CompHist::histFilter | ( | TString & | cmp, |
std::vector< std::string > & | ref, | ||
CompHist::HistFilter | option | ||
) |
Definition at line 268 of file CompHist.cc.
|
inlineprotected |
|
protected |
Definition at line 457 of file CompHist.cc.
void CompHist::loadHistograms | ( | std::vector< std::string > & | histList, |
std::vector< TObjArray > & | sampleList | ||
) |
Definition at line 159 of file CompHist.cc.
References benchmark_cfg::cerr, gather_cfg::cout, createBeamHaloJobs::directory, mergeVDriftHistosByStation::file, estimatePileup::hist, and mergeVDriftHistosByStation::name.
Referenced by main().
void CompHist::loadHistograms | ( | ) |
|
pure virtual |
Implemented in TopInspect, TopInspectRatio, TopInspectSum, CalibClosureTest, and TopInspectFit.
|
protected |
Definition at line 122 of file CompHist.cc.
References benchmark_cfg::cerr, prof2calltree::count, gather_cfg::cout, and estimatePileup::histFile.
|
protected |
|
protected |
Definition at line 532 of file CompHist.cc.
|
protected |
Definition at line 488 of file CompHist.cc.
|
protected |
Definition at line 515 of file CompHist.cc.
|
protected |
Definition at line 498 of file CompHist.cc.
|
protected |
Definition at line 689 of file CompHist.cc.
|
protected |
Definition at line 680 of file CompHist.cc.
|
protected |
Definition at line 604 of file CompHist.cc.
|
protected |
Definition at line 631 of file CompHist.cc.
|
protected |
Definition at line 642 of file CompHist.cc.
|
protected |
Definition at line 623 of file CompHist.cc.
|
protected |
Definition at line 556 of file CompHist.cc.
References HistStyle::Filled, HistStyle::Line, and HistStyle::Marker.
|
protected |
Definition at line 480 of file CompHist.cc.
|
protected |
Definition at line 671 of file CompHist.cc.
|
protected |
Definition at line 662 of file CompHist.cc.
|
protected |
Definition at line 653 of file CompHist.cc.
|
protected |
Definition at line 707 of file CompHist.cc.
|
protected |
Definition at line 716 of file CompHist.cc.
|
protected |
Definition at line 698 of file CompHist.cc.
|
inline |
|
inline |
|
inline |
void CompHist::writeOutput | ( | CompHist::RootOutput | option | ) |
Definition at line 725 of file CompHist.cc.
References benchmark_cfg::cerr, mergeVDriftHistosByStation::file, estimatePileup::hist, estimatePileup::histFile, mergeVDriftHistosByStation::name, and dbtoconf::out.
|
inline |
Definition at line 61 of file CompHist.h.
References kAll, and writeOutput().
Referenced by TopInspectRatio::writeOutput(), TopInspectSum::writeOutput(), and writeOutput().
|
protected |
Definition at line 119 of file CompHist.h.
|
protected |
Definition at line 120 of file CompHist.h.
|
protected |
Definition at line 105 of file CompHist.h.
|
protected |
Definition at line 126 of file CompHist.h.
|
protected |
Definition at line 137 of file CompHist.h.
|
protected |
Definition at line 106 of file CompHist.h.
|
protected |
Definition at line 103 of file CompHist.h.
|
protected |
Definition at line 115 of file CompHist.h.
|
protected |
Definition at line 115 of file CompHist.h.
|
protected |
Definition at line 118 of file CompHist.h.
|
protected |
Definition at line 104 of file CompHist.h.
|
protected |
Definition at line 108 of file CompHist.h.
|
protected |
Definition at line 139 of file CompHist.h.
|
protected |
Definition at line 117 of file CompHist.h.
|
protected |
Definition at line 131 of file CompHist.h.
|
protected |
Definition at line 129 of file CompHist.h.
|
protected |
Definition at line 129 of file CompHist.h.
|
protected |
Definition at line 130 of file CompHist.h.
|
protected |
Definition at line 130 of file CompHist.h.
|
protected |
Definition at line 116 of file CompHist.h.
|
protected |
Definition at line 116 of file CompHist.h.
|
protected |
Definition at line 122 of file CompHist.h.
|
protected |
Definition at line 121 of file CompHist.h.
|
protected |
Definition at line 124 of file CompHist.h.
|
protected |
Definition at line 124 of file CompHist.h.
|
protected |
Definition at line 109 of file CompHist.h.
|
protected |
Definition at line 112 of file CompHist.h.
|
protected |
Definition at line 107 of file CompHist.h.
|
protected |
Definition at line 110 of file CompHist.h.
Referenced by isOutputRequested().
|
protected |
Definition at line 138 of file CompHist.h.
|
protected |
Definition at line 125 of file CompHist.h.
|
protected |
Definition at line 136 of file CompHist.h.
Referenced by setVerbose(), and verbose().
|
protected |
Definition at line 111 of file CompHist.h.
Referenced by writeAs().
|
protected |
Definition at line 111 of file CompHist.h.
|
protected |
Definition at line 123 of file CompHist.h.
|
protected |
Definition at line 123 of file CompHist.h.