#ifndef PLOT_PDF #define PLOT_PDF #include "TH3D.h" #include "JppShowerPdf.hh" //Arguments: //PDF file //root outfile //E //D //cd //pmta class PlotJppPdf{ double _E; double _D; double _cd; double _pmta; JppShowerPdf* pdf; //Can I use the function without even making the object? public: PlotJppPdf(); PlotJppPdf(const string infile); void set_all(const double E, const double D, const double cd, const double pmta); void set_E (const double E ); void set_D (const double D ); void set_cd (const double cd ); void set_pmta(const double pmta); void plot_cd(const string outfile, const double E, const double D, const double pmta); void plot_cd(const string outfile); void plot_D(const string outfile, const double E, const double cd, const double pmta); void plot_D(const string outfile); void plot_pmta(const string outfile, const double E, const double D, const double cd); void plot_pmta(const string outfile); }; #endif