56 void setPalette(
const int rootPlotStyle)
const;
61 void setPalette(
const std::string& configStyleName)
const;
66 void setTH1Style(TH1 *hist,
const std::string& styleName)
const;
72 std::string
prettifyName(
const std::string &origName,
const std::string &nameType)
const;
#define _MaCh3_Safe_Include_Start_
KS: Avoiding warning checking for headers.
#define _MaCh3_Safe_Include_End_
KS: Restore warning checking after including external headers.
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.
std::string prettifyName(const std::string &origName, const std::string &nameType) const
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(std::string configName)
Constructor.
StyleManager(StyleManager &&)=default
void setTH1Style(TH1 *hist, const std::string &styleName) const
Set the style of a TH1 to one of the styles defined in the style config.
void setPalette(const int rootPlotStyle) const
Set the root colour palette to one of the default root pallettes as defined in (root docs)[https://ro...