18 #include "TDirectory.h"
32 #include "TMultiGraph.h"
44 TH1D
TGraphToTH1D(
const TGraph& graph,
const std::string& newName =
"",
const std::string& newTitle =
"");
50 std::vector<std::vector<double>>
TGraphToVector(
const TGraph& graph);
58 std::vector<std::vector<double>>
TGraphToVector(
const TGraph2D& graph);
#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.
std::vector< std::vector< double > > TGraphToVector(const TGraph &graph)
This handy little function lets you interpret a TGraph as a vector containing the same data.
void SetSymmetricRatioRange(const std::vector< std::unique_ptr< TH1D >> &RatioPlot)
Set a symmetric Y-axis range around 1 for ratio plots.
TH1D TGraphToTH1D(const TGraph &graph, const std::string &newName, const std::string &newTitle)
This handy little function lets you interpret a TGraph as a TH1D.
Main namespace for MaCh3 software.