Logo ROOT  
Reference Guide
TF1AbsComposition.h
Go to the documentation of this file.
1 // @(#)root/hist:$Id$
2 // Authors: Lorenzo Moneta, Arthur Tsang 16/08/17
3 
4 /**********************************************************************
5  * *
6  * Copyright (c) 2017 ROOT Team, CERN/PH-SFT *
7  * *
8  * *
9  **********************************************************************/
10 
11 #ifndef ROOT_TF1AbsComposition__
12 #define ROOT_TF1AbsComposition__
13 
14 #include "TObject.h"
15 
16 class TF1AbsComposition : public TObject {
17 
18 public:
19  virtual ~TF1AbsComposition() {}
20 
21  virtual double operator()(const Double_t *x, const Double_t *p) = 0; // for Eval
22  virtual void SetRange(Double_t a, Double_t b) = 0;
23  virtual void SetParameters(const Double_t *params) = 0;
24  virtual void Update() = 0;
25 
26  virtual void Copy(TObject &obj) const = 0;
27 
29 };
30 
31 #endif
TF1AbsComposition::SetParameters
virtual void SetParameters(const Double_t *params)=0
TF1AbsComposition
Definition: TF1AbsComposition.h:16
x
Double_t x[n]
Definition: legend1.C:17
b
#define b(i)
Definition: RSha256.hxx:118
TF1AbsComposition::operator()
virtual double operator()(const Double_t *x, const Double_t *p)=0
a
auto * a
Definition: textangle.C:12
TF1AbsComposition::~TF1AbsComposition
virtual ~TF1AbsComposition()
Definition: TF1AbsComposition.h:24
TF1AbsComposition::Update
virtual void Update()=0
Double_t
double Double_t
Definition: RtypesCore.h:59
TObject.h
TObject
Definition: TObject.h:37
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TF1AbsComposition::Copy
virtual void Copy(TObject &obj) const =0
Copy this to obj.
TF1AbsComposition::SetRange
virtual void SetRange(Double_t a, Double_t b)=0