MaCh3  2.6.1
Reference Guide
Namespaces | Functions
PlottingUtils.h File Reference
#include "Manager/MaCh3Logger.h"
#include "Manager/MaCh3Exception.h"
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <map>
#include "TCanvas.h"
#include "TGraph2D.h"
#include "TColor.h"
#include "TDirectory.h"
#include "TFile.h"
#include "TGraph.h"
#include "TH1.h"
#include "TH1D.h"
#include "TH2.h"
#include "TH2Poly.h"
#include "THStack.h"
#include "TKey.h"
#include "TLatex.h"
#include "TLegend.h"
#include "TLine.h"
#include "TROOT.h"
#include "TStyle.h"
#include "TMultiGraph.h"
Include dependency graph for PlottingUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 M3
 Main namespace for MaCh3 software.
 
 M3::Plotting
 Flexible, experiment-agnostic plotting utilities for MaCh3.
 

Functions

TH1D M3::Plotting::TGraphToTH1D (const TGraph &graph, const std::string &newName="", const std::string &newTitle="")
 This handy little function lets you interpret a TGraph as a TH1D. More...
 
std::vector< std::vector< double > > M3::Plotting::TGraphToVector (const TGraph &graph)
 This handy little function lets you interpret a TGraph as a vector containing the same data. More...
 
void M3::Plotting::SetSymmetricRatioRange (const std::vector< std::unique_ptr< TH1D >> &RatioPlot)
 Set a symmetric Y-axis range around 1 for ratio plots. More...
 
std::vector< std::vector< double > > M3::Plotting::TGraphToVector (const TGraph2D &graph)
 This handy little function lets you interpret a 2d TGraph as a vector containing the same data. More...