Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 10:29:40

0001 // @(#)root/hist:$Id$
0002 // Authors: Lorenzo Moneta, Arthur Tsang  16/08/17
0003 
0004 /**********************************************************************
0005  *                                                                    *
0006  * Copyright (c) 2017  ROOT  Team, CERN/PH-SFT                        *
0007  *                                                                    *
0008  *                                                                    *
0009  **********************************************************************/
0010 
0011 #ifndef ROOT_TF1AbsComposition__
0012 #define ROOT_TF1AbsComposition__
0013 
0014 #include "TObject.h"
0015 
0016 class TF1AbsComposition : public TObject {
0017 
0018 public:
0019    ~TF1AbsComposition() override {}
0020 
0021    virtual double operator()(const Double_t *x, const Double_t *p) = 0; // for Eval
0022    virtual void SetRange(Double_t a, Double_t b) = 0;
0023    virtual void SetParameters(const Double_t *params) = 0;
0024    virtual void Update() = 0;
0025 
0026    void Copy(TObject &obj) const override = 0;
0027 
0028    ClassDefOverride(TF1AbsComposition, 1);
0029 };
0030 
0031 #endif