MaCh3 2.2.1
Reference Guide
Loading...
Searching...
No Matches
Namespaces | Functions
plottingUtils.cpp File Reference
#include "plottingUtils.h"
Include dependency graph for plottingUtils.cpp:

Go to the source code of this file.

Namespaces

namespace  MaCh3Plotting
 

Functions

TH1D MaCh3Plotting::TGraphToTH1D (TGraph graph, std::string newName="", std::string newTitle="")
 This handy little function lets you interpret a TGraph as a TH1D.
 
std::vector< std::vector< double > > MaCh3Plotting::TGraphToVector (TGraph graph)
 This handy little function lets you interpret a TGraph as a vector containing the same data.
 
std::vector< std::vector< double > > MaCh3Plotting::TGraphToVector (TGraph2D graph)
 This handy little function lets you interpret a 2d TGraph as a vector containing the same data.