File indexing completed on 2025-01-18 10:11:45
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT_TF12
0013 #define ROOT_TF12
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #include "TF2.h"
0024
0025 class TF12 : public TF1 {
0026
0027 protected:
0028 Double_t fXY;
0029 Int_t fCase;
0030 TF2 *fF2;
0031
0032 public:
0033 TF12();
0034 TF12(const char *name, TF2 *f2, Double_t xy, Option_t *option="x");
0035 TF12(const TF12 &f12);
0036 ~TF12() override;
0037 void Copy(TObject &f12) const override;
0038 TF1 *DrawCopy(Option_t *option="") const override;
0039 Double_t Eval(Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const override;
0040 Double_t EvalPar(const Double_t *x, const Double_t *params=nullptr) override;
0041
0042 #ifdef R__HAS_VECCORE
0043 using TF1::Eval;
0044 using TF1::EvalPar;
0045 #endif
0046
0047 virtual Double_t GetXY() const {return fXY;}
0048 void SavePrimitive(std::ostream &out, Option_t *option = "") override;
0049 virtual void SetXY(Double_t xy);
0050
0051 ClassDefOverride(TF12,1)
0052 };
0053
0054 #endif