Logo ROOT   6.14/05
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 #include <iostream>
17 #include <memory>
18 
19 class TF1AbsComposition : public TObject {
20 
21 public:
22  virtual ~TF1AbsComposition() {}
23 
24  virtual double operator()(const Double_t *x, const Double_t *p) = 0; // for Eval
25  virtual void SetRange(Double_t a, Double_t b) = 0;
26  virtual void SetParameters(const Double_t *params) = 0;
27  virtual void Update() = 0;
28 
29  virtual void Copy(TObject &obj) const = 0;
30 
32 };
33 
34 #endif
virtual void SetParameters(const Double_t *params)=0
virtual double operator()(const Double_t *x, const Double_t *p)=0
Double_t x[n]
Definition: legend1.C:17
#define ClassDef(name, id)
Definition: Rtypes.h:320
virtual ~TF1AbsComposition()
auto * a
Definition: textangle.C:12
double Double_t
Definition: RtypesCore.h:55
virtual void Copy(TObject &obj) const =0
Copy this to obj.
Mother of all ROOT objects.
Definition: TObject.h:37
virtual void SetRange(Double_t a, Double_t b)=0
virtual void Update()=0
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
Definition: TRolke.cxx:630