YCrossFit 1.0
A C++/ROOT Library for the analysis of the differential cross section of the Y(1S,2S,3S) resonances in two muons
SpectrumPlot.h
Go to the documentation of this file.
1
7#ifndef SpectrumPlot_h
8#define SpectrumPlot_h
9
10#include "ROOT/RDataFrame.hxx"
11#include "TMath.h"
12#include "TCanvas.h"
13#include "TH1D.h"
14#include "TLatex.h"
15#include <filesystem>
16#include "TStyle.h"
17#include "optionParse.h"
18
19
27void SavePlot(TCanvas *c, TString namePlot);
28
29
37TH1 *SpectrumPlot(ROOT::RDF::RNode &df_cut, std::string nameFile, int mr = 0);
38
39#endif /* SpectrumPlot_h */
void SavePlot(TCanvas *c, TString namePlot)
Save the plot created in the folder Plots.
TH1 * SpectrumPlot(ROOT::RDF::RNode &df_cut, std::string nameFile, int mr=0)
Create histogram of currently used df, and plot the spectrum.
Handling flags and option parameters.