AliPhysics
251aa1e (251aa1e)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
WrappedGraph.C
Go to the documentation of this file.
1
#include <TGraph.h>
2
#include <Math/IFunction.h>
3
4
struct
WrappedGraph
:
public
ROOT::Math::IGenFunction
5
{
6
WrappedGraph
(
TGraph
* g) :
fGraph
(g) {}
7
8
unsigned
int
NDim
()
const
{
return
1; }
9
ROOT::Math::IGenFunction*
Clone
()
const
{
return
new
WrappedGraph
(
fGraph
); }
10
double
DoEval
(
double
x)
const
{
return
fGraph
->Eval(x); }
11
TGraph
*
fGraph
;
12
13
14
};
15
16
WrappedGraph
Definition:
WrappedGraph.C:4
TGraph
Definition:
External.C:268
WrappedGraph::fGraph
TGraph * fGraph
Definition:
WrappedGraph.C:11
WrappedGraph::WrappedGraph
WrappedGraph(TGraph *g)
Definition:
WrappedGraph.C:6
WrappedGraph::DoEval
double DoEval(double x) const
Definition:
WrappedGraph.C:10
WrappedGraph::NDim
unsigned int NDim() const
Definition:
WrappedGraph.C:8
WrappedGraph::Clone
ROOT::Math::IGenFunction * Clone() const
Definition:
WrappedGraph.C:9
PWGLF
FORWARD
analysis2
corrs
WrappedGraph.C
Generated on Mon Nov 28 2016 16:51:22 for AliPhysics by
1.8.6