Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
16class TF1AbsComposition : public TObject {
17
18public:
19 ~TF1AbsComposition() override {}
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 void Copy(TObject &obj) const override = 0;
27
29};
30
31#endif
#define b(i)
Definition RSha256.hxx:100
#define a(i)
Definition RSha256.hxx:99
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
winID h TVirtualViewer3D TVirtualGLPainter p
~TF1AbsComposition() override
virtual double operator()(const Double_t *x, const Double_t *p)=0
void Copy(TObject &obj) const override=0
Copy this to obj.
virtual void SetParameters(const Double_t *params)=0
virtual void SetRange(Double_t a, Double_t b)=0
virtual void Update()=0
Mother of all ROOT objects.
Definition TObject.h:41
Double_t x[n]
Definition legend1.C:17