CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Functions
rootPlot.h File Reference
#include "PhysicsTools/Utilities/interface/rootTf1.h"
#include "TF1.h"
#include "TH1.h"
#include "TCanvas.h"
#include "PhysicsTools/Utilities/interface/Parameter.h"

Go to the source code of this file.

Classes

struct  root::helper::PlotNoArg
 

Namespaces

 root
 
 root::helper
 

Functions

template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, const funct::Parameter &p9, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, const funct::Parameter &p9, const funct::Parameter &p10, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, const funct::Parameter &p9, const funct::Parameter &p10, const funct::Parameter &p11, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, const funct::Parameter &p9, const funct::Parameter &p10, const funct::Parameter &p11, const funct::Parameter &p12, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, const funct::Parameter &p9, const funct::Parameter &p10, const funct::Parameter &p11, const funct::Parameter &p12, const funct::Parameter &p13, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, const funct::Parameter &p9, const funct::Parameter &p10, const funct::Parameter &p11, const funct::Parameter &p12, const funct::Parameter &p13, const funct::Parameter &p14, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, const funct::Parameter &p9, const funct::Parameter &p10, const funct::Parameter &p11, const funct::Parameter &p12, const funct::Parameter &p13, const funct::Parameter &p14, const funct::Parameter &p15, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, const funct::Parameter &p9, const funct::Parameter &p10, const funct::Parameter &p11, const funct::Parameter &p12, const funct::Parameter &p13, const funct::Parameter &p14, const funct::Parameter &p15, const funct::Parameter &p16, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, const funct::Parameter &p9, const funct::Parameter &p10, const funct::Parameter &p11, const funct::Parameter &p12, const funct::Parameter &p13, const funct::Parameter &p14, const funct::Parameter &p15, const funct::Parameter &p16, const funct::Parameter &p17, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, const funct::Parameter &p9, const funct::Parameter &p10, const funct::Parameter &p11, const funct::Parameter &p12, const funct::Parameter &p13, const funct::Parameter &p14, const funct::Parameter &p15, const funct::Parameter &p16, const funct::Parameter &p17, const funct::Parameter &p18, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const funct::Parameter &p0, const funct::Parameter &p1, const funct::Parameter &p2, const funct::Parameter &p3, const funct::Parameter &p4, const funct::Parameter &p5, const funct::Parameter &p6, const funct::Parameter &p7, const funct::Parameter &p8, const funct::Parameter &p9, const funct::Parameter &p10, const funct::Parameter &p11, const funct::Parameter &p12, const funct::Parameter &p13, const funct::Parameter &p14, const funct::Parameter &p15, const funct::Parameter &p16, const funct::Parameter &p17, const funct::Parameter &p18, const funct::Parameter &p19, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const std::vector< funct::Parameter > &p, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
template<typename F >
void root::plot (const char *name, TH1 &histo, F &f, double min, double max, const std::vector< std::shared_ptr< double > > &p, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
void root::plotTF1 (const char *name, TF1 &fun0, TF1 &fun1, TH1 &histo, double min, double max, Color_t lineColor0=kRed, Width_t lineWidth0=1, Style_t lineStyle0=kDashed, Int_t npx0=1000, Color_t lineColor1=kGreen, Width_t lineWidth1=1, Style_t lineStyle1=kDashed, Int_t npx1=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")
 
void root::plotTF1 (const char *name, TF1 &fun, TH1 &histo, double min, double max, Color_t lineColor=kRed, Width_t lineWidth=1, Style_t lineStyle=kDashed, Int_t npx=1000, const char *title="Histo Title", const char *xTitle="X Title", const char *yTitle="Y Title")