KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
TF1Derivative.h
Go to the documentation of this file.
1 
4 #ifndef __TF1DERIVATIVE_H
5 #define __TF1DERIVATIVE_H
6 
7 #include "TF1.h"
8 
15 class TF1Derivative : public TF1 {
17  int fOrder;
18 
19 public:
20  TF1Derivative();
21  TF1Derivative(TF1* func, int order = 1);
22  virtual ~TF1Derivative();
23  void Copy(TObject& obj) const;
24 
25  Double_t EvalPar(const Double_t* x, const Double_t* params = 0);
26 
27  ClassDef(TF1Derivative, 1) //Numerical derivative of a TF1
28 };
29 
30 #endif
double Double_t
#define ClassDef(name, id)
Numerical derivative of a TF1.
Definition: TF1Derivative.h:15
virtual ~TF1Derivative()
Destructor.
Double_t EvalPar(const Double_t *x, const Double_t *params=0)
Returns fOrder-th derivative of function at x (fOrder=1,2,3)
void Copy(TObject &obj) const