#include <TkAlStyle.h>
Static Public Member Functions | |
static int | color (const AlignObj obj) |
static TPaveText * | customRightTitle (const TString &txt) |
static TPaveText * | customTitle (const TString &txt) |
static void | drawStandardTitle () |
static void | drawStandardTitle (const Era era) |
static TPaveText * | label (const int nEntries, const double relWidth=0.5) |
static TPaveText * | label (TString position, const int nEntries, const double relWidth=0.5) |
static TPaveText * | labelBL (const int nEntries, const double relWidth=0.5) |
static TPaveText * | labelBR (const int nEntries, const double relWidth=0.5) |
static TPaveText * | labelTL (const int nEntries, const double relWidth=0.5) |
static TPaveText * | labelTR (const int nEntries, const double relWidth=0.5) |
static TLegend * | legend (const int nEntries, const double relWidth=0.5) |
static TLegend * | legend (TString position, const int nEntries, const double relWidth=0.5) |
static TLegend * | legendBL (const int nEntries, const double relWidth=0.5) |
static TLegend * | legendBR (const int nEntries, const double relWidth=0.5) |
static TLegend * | legendTL (const int nEntries, const double relWidth=0.5) |
static TLegend * | legendTR (const int nEntries, const double relWidth=0.5) |
static double | lineHeight () |
static void | set (const PublicationStatus status, const Era era=NONE, const TString customTitle="", const TString customRightTitle="") |
static void | set (const TString customTitle) |
static TPaveText * | standardRightTitle (const Era era) |
static TPaveText * | standardRightTitle () |
static TPaveText * | standardTitle (PublicationStatus status) |
static TPaveText * | standardTitle () |
static PublicationStatus | status () |
static int | style (const AlignObj obj) |
static PublicationStatus | toStatus (std::string _status) |
static TString | toTString (const PublicationStatus status) |
static TString | toTString (const Era era) |
static TString | toTString (const AlignObj obj) |
Static Public Attributes | |
static TString | legendheader = "" |
static TString | legendoptions = "all" |
static double | textSize = 0.035 |
Static Private Member Functions | |
static TString | applyCMS (const TString &txt) |
static TString | header (const PublicationStatus status) |
static TPaveText * | label (const int nEntries, const double relWidth, const bool leftt, const bool top) |
static TLegend * | legend (const int nEntries, const double relWidth, const bool left, const bool top) |
static TString | rightheader (const Era era) |
static TPaveText * | righttitle (const TString &txt) |
static void | setXCoordinatesL (const double relWidth, double &x0, double &x1) |
static void | setXCoordinatesR (const double relWidth, double &x0, double &x1) |
static void | setYCoordinatesB (const int nEntries, double &y0, double &y1) |
static void | setYCoordinatesT (const int nEntries, double &y0, double &y1) |
static TPaveText * | title (const TString &txt) |
Static Private Attributes | |
static TString | customRightTitle_ = "" |
static TString | customTitle_ = "" |
static Era | era_ = NONE |
static double | lineHeight_ = 0.042 |
static double | margin_ = 0.04 |
static PublicationStatus | publicationStatus_ = NO_STATUS |
Definition at line 48 of file TkAlStyle.h.
|
staticprivate |
Definition at line 191 of file TkAlStyle.cc.
Referenced by righttitle(), and title().
|
static |
Definition at line 54 of file TkAlStyle.cc.
References cuy::col, Coll0TAlign, CRAFTAlign, CRUZETAlign, IDEALAlign, getGTfromDQMFile::obj, and RUN1Align.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 75 of file TkAlStyle.h.
References standardRightTitle(), and standardTitle().
Referenced by CompareAlignments::MergeRootfile(), overlapValidationPlot::plot(), and PlotAlignmentValidation::setTitleStyle().
|
inlinestatic |
|
staticprivate |
Definition at line 241 of file TkAlStyle.cc.
References gather_cfg::cout, CUSTOM, customTitle_, INTERNAL, INTERNAL_SIMULATION, NO_STATUS, PRELIMINARY, PUBLIC, SIMULATION, status(), and UNPUBLISHED.
Referenced by standardTitle().
|
inlinestatic |
Definition at line 148 of file TkAlStyle.h.
References labelTR().
Referenced by label(), labelBL(), labelBR(), labelTL(), and labelTR().
|
inlinestatic |
Definition at line 150 of file TkAlStyle.h.
References label(), labelBL(), labelBR(), labelTL(), labelTR(), and position.
|
staticprivate |
Definition at line 160 of file TkAlStyle.cc.
References label(), setXCoordinatesL(), setXCoordinatesR(), setYCoordinatesB(), setYCoordinatesT(), textSize, testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::y1.
|
inlinestatic |
Definition at line 179 of file TkAlStyle.h.
References label().
Referenced by label().
|
inlinestatic |
Definition at line 182 of file TkAlStyle.h.
References label().
Referenced by label().
|
inlinestatic |
Definition at line 173 of file TkAlStyle.h.
References label().
Referenced by label().
|
inlinestatic |
Definition at line 176 of file TkAlStyle.h.
References label().
Referenced by label().
|
inlinestatic |
Definition at line 108 of file TkAlStyle.h.
References legendTR().
Referenced by legendBL(), legendBR(), legendTL(), legendTR(), and overlapValidationPlot::plot().
|
inlinestatic |
Definition at line 109 of file TkAlStyle.h.
References legendBL(), legendBR(), legendTL(), legendTR(), and position.
|
staticprivate |
Definition at line 132 of file TkAlStyle.cc.
References legendheader, setXCoordinatesL(), setXCoordinatesR(), setYCoordinatesB(), setYCoordinatesT(), textSize, testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::y1.
|
inlinestatic |
Definition at line 137 of file TkAlStyle.h.
References legend().
Referenced by legend().
|
inlinestatic |
Definition at line 140 of file TkAlStyle.h.
References legend().
Referenced by legend().
|
inlinestatic |
Definition at line 131 of file TkAlStyle.h.
References legend().
Referenced by legend().
|
inlinestatic |
Definition at line 134 of file TkAlStyle.h.
References legend().
Referenced by legend().
|
inlinestatic |
|
staticprivate |
Definition at line 264 of file TkAlStyle.cc.
References customRightTitle_, NONE, and toTString().
Referenced by standardRightTitle().
|
staticprivate |
Definition at line 221 of file TkAlStyle.cc.
References applyCMS(), testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::y1.
Referenced by customRightTitle(), and standardRightTitle().
|
static |
Definition at line 275 of file TkAlStyle.cc.
References gather_cfg::cout, CUSTOM, customRightTitle(), customRightTitle_, customTitle(), customTitle_, era_, utils::gErrorIgnoreLevel, publicationStatus_, and status().
Referenced by CompareAlignments::doComparison(), betterConfigParser.BetterConfigParser::getGeneral(), and merge().
|
static |
Definition at line 364 of file TkAlStyle.cc.
References CUSTOM, customTitle(), and NONE.
Referenced by betterConfigParser.BetterConfigParser::getGeneral().
|
staticprivate |
Definition at line 107 of file TkAlStyle.cc.
References margin_, and testProducerWithPsetDescEmpty_cfi::x1.
|
staticprivate |
Definition at line 113 of file TkAlStyle.cc.
References margin_, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by label(), and legend().
|
staticprivate |
Definition at line 126 of file TkAlStyle.cc.
References lineHeight_, margin_, and testProducerWithPsetDescEmpty_cfi::y1.
Referenced by label(), and legend().
|
staticprivate |
Definition at line 120 of file TkAlStyle.cc.
References lineHeight_, margin_, and testProducerWithPsetDescEmpty_cfi::y1.
Referenced by label(), and legend().
|
inlinestatic |
|
inlinestatic |
Definition at line 94 of file TkAlStyle.h.
References era_, and standardRightTitle().
Referenced by drawStandardTitle(), and standardRightTitle().
|
inlinestatic |
|
inlinestatic |
Definition at line 91 of file TkAlStyle.h.
References publicationStatus_, and standardTitle().
Referenced by drawStandardTitle(), and standardTitle().
|
inlinestatic |
Definition at line 56 of file TkAlStyle.h.
References publicationStatus_.
Referenced by header(), set(), standardTitle(), toStatus(), and toTString().
|
static |
Definition at line 70 of file TkAlStyle.cc.
References getGTfromDQMFile::obj, and RUN1Align.
|
staticprivate |
Definition at line 200 of file TkAlStyle.cc.
References applyCMS(), testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::y1.
Referenced by customTitle(), and standardTitle().
|
static |
Definition at line 83 of file TkAlStyle.cc.
References HltBtagPostValidation_cff::c, CUSTOM, INTERNAL, INTERNAL_SIMULATION, NO_STATUS, PRELIMINARY, PUBLIC, SIMULATION, status(), and UNPUBLISHED.
Referenced by merge().
|
static |
Definition at line 3 of file TkAlStyle.cc.
References CUSTOM, INTERNAL, INTERNAL_SIMULATION, NO_STATUS, PRELIMINARY, PUBLIC, SIMULATION, status(), str, and UNPUBLISHED.
Referenced by rightheader().
|
static |
Definition at line 25 of file TkAlStyle.cc.
|
static |
Definition at line 37 of file TkAlStyle.cc.
References Coll0TAlign, CRAFTAlign, CRUZETAlign, IDEALAlign, getGTfromDQMFile::obj, RUN1Align, and str.
|
staticprivate |
Definition at line 192 of file TkAlStyle.h.
Referenced by rightheader(), and set().
|
staticprivate |
Definition at line 191 of file TkAlStyle.h.
Definition at line 190 of file TkAlStyle.h.
Referenced by set(), and standardRightTitle().
|
static |
Definition at line 101 of file TkAlStyle.h.
Referenced by CompareAlignments::doComparison(), legend(), merge(), CompareAlignments::MergeRootfile(), PlotAlignmentValidation::modifySSHistAndLegend(), and PlotAlignmentValidation::plotDMR().
|
static |
Definition at line 102 of file TkAlStyle.h.
Referenced by merge(), and PlotAlignmentValidation::PlotAlignmentValidation().
|
staticprivate |
Definition at line 193 of file TkAlStyle.h.
Referenced by lineHeight(), setYCoordinatesB(), and setYCoordinatesT().
|
staticprivate |
Definition at line 194 of file TkAlStyle.h.
Referenced by setXCoordinatesL(), setXCoordinatesR(), setYCoordinatesB(), and setYCoordinatesT().
|
staticprivate |
Definition at line 189 of file TkAlStyle.h.
Referenced by set(), standardTitle(), and status().
|
static |
Definition at line 103 of file TkAlStyle.h.
Referenced by label(), legend(), CompareAlignments::MergeRootfile(), PlotAlignmentValidation::modifySSHistAndLegend(), and PlotAlignmentValidation::plotDMR().