8#pragma GCC diagnostic push
9#pragma GCC diagnostic ignored "-Wuseless-cast"
10#pragma GCC diagnostic ignored "-Wfloat-conversion"
11#pragma GCC diagnostic ignored "-Wfloat-conversion"
12#pragma GCC diagnostic ignored "-Wold-style-cast"
13#pragma GCC diagnostic ignored "-Wconversion"
14#pragma GCC diagnostic ignored "-Wformat-nonliteral"
19#pragma GCC diagnostic pop
66 void setPalette(std::string configStyleName)
const;
71 void setTH1Style(TH1 *hist, std::string styleName)
const;
77 std::string
prettifyName(
const std::string &origName,
const std::string &nameType)
const;
KS: Based on this https://github.com/gabime/spdlog/blob/a2b4262090fd3f005c2315dcb5be2f0f1774a005/incl...
Utility functions for handling YAML nodes.
EW: provides centralized styling utilities for plots, including name prettification and style applica...
std::string prettifyParamName(const std::string &origName) const
Convert hideous and vulgar internal parameter name into a beautiful presentable name.
void setTH1Style(TH1 *hist, std::string styleName) const
Set the style of a TH1 to one of the styles defined in the style config.
std::string prettifyName(const std::string &origName, const std::string &nameType) const
void setPalette(int rootPlotStyle) const
Set the root colour palette to one of the default root pallettes as defined in (root docs)[https://ro...
std::string prettifySampleName(const std::string &origName) const
Convert hideous and vulgar internal sample name into a beautiful presentable name.
StyleManager(const StyleManager &)=delete
StyleManager(StyleManager &&)=default