KaliVeda
Toolkit for HIC analysis
TF1Derivative.h
1 
4 #ifndef __TF1DERIVATIVE_H
5 #define __TF1DERIVATIVE_H
6 
7 #include "TF1.h"
8 
16 class TF1Derivative : public TF1 {
18  int fOrder;
19 
20 public:
21  TF1Derivative();
22  TF1Derivative(TF1* func, int order = 1);
23  virtual ~TF1Derivative();
24  void Copy(TObject& obj) const;
25 
26  Double_t EvalPar(const Double_t* x, const Double_t* params = 0);
27 
28  ClassDef(TF1Derivative, 1) //Numerical derivative of a TF1
29 };
30 
31 #endif
double Double_t
#define ClassDef(name, id)
Numerical derivative of a TF1.
Definition: TF1Derivative.h:16
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