70 void setPalette(
const int rootPlotStyle)
const;
75 void setPalette(
const std::string& configStyleName)
const;
80 void setTH1Style(TH1 *hist,
const std::string& styleName)
const;
86 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_
Defines the custom exception class used throughout MaCh3.
MaCh3 Logging utilities built on top of SPDLOG.
Utility functions for handling YAML nodes.
EW: provides centralized styling utilities for plots, including name prettification and style applica...
double getBinWidthScale(const std::string &Name) const
Get bin-width scaling factor for a given kinematic variable.
StyleManager(const std::string &configName)
Constructor.
std::string prettifySampleName(const std::string &origName) const
Convert hideous and vulgar internal sample name into a beautiful presentable name.
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.
std::string prettifyKinematicName(const std::string &origName) const
Convert hideous and vulgar internal kinematics name into a beautiful presentable name.
std::string prettifyParamName(const std::string &origName) const
Convert hideous and vulgar internal parameter name into a beautiful presentable name.
StyleManager(StyleManager &&)=default
StyleManager(const StyleManager &)=delete
std::string prettifyName(const std::string &origName, const std::string &nameType) const
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...
Main namespace for MaCh3 software.