54 :
TF1(
name,
"x", 0, 0, addToGlobList)
61 Error(
"TF12",
"Pointer to TF2 is null");
90 f12.TF12::Copy(*
this);
167 fF2->InitArgs(xx,params);
168 return fF2->EvalPar(xx,params);
177 thread_local Int_t save_f2_id = 9000;
186 out <<
" TF12 *" << f12Name <<
" = new TF12(\"" <<
"*" <<
GetName() <<
"\", " << f2Name <<
", " <<
fXY <<
", "
187 << (
fCase ?
"\"y\"" :
"\"x\"") <<
");\n";
int Int_t
Signed integer 4 bytes (int).
double Double_t
Double 8 bytes.
const char Option_t
Option string (const char).
Error("WriteTObject","The current directory (%s) is not associated with a file. The object (%s) has not been written.", GetName(), objname)
virtual void SaveFillAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001)
virtual void SaveLineAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1)
virtual void SaveMarkerAttributes(std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1)
void SaveAttributes(std::ostream &out, const char *name, const char *subname) override
Save axis attributes as C++ statement(s) on output stream out.
Int_t fCase
Projection along X(0), or Y(1).
Double_t fXY
Value along Y (if projection X) or X (if projection Y).
Double_t EvalPar(const Double_t *x, const Double_t *params=nullptr) override
virtual void SetXY(Double_t xy)
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save a primitive as a C++ statement(s) on output stream "out".
void Copy(TObject &f12) const override
Copy this to obj.
TF1 * DrawCopy(Option_t *option="") const override
TF2 * fF2
Pointer to the mother TF2.
Double_t Eval(Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const override
virtual Double_t GetXmax() const
TString ProvideSaveName(Option_t *option)
TH1 * fHistogram
! Pointer to histogram used for visualisation
void SetTitle(const char *title="") override
Set the title of the TNamed.
void Copy(TObject &f1) const override
Copy this to obj.
virtual Double_t GetXmin() const
virtual Double_t GetYmax() const
virtual Double_t GetYmin() const
void SavePrimitiveNameTitle(std::ostream &out, const char *variable_name)
Save object name and title into the output stream "out".
const char * GetName() const override
Returns name of object.
const char * GetTitle() const override
Returns title of object.
Mother of all ROOT objects.
virtual void AppendPad(Option_t *option="")
Append graphics object to current pad.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
static void SavePrimitiveDraw(std::ostream &out, const char *variable_name, Option_t *option=nullptr)
Save invocation of primitive Draw() method Skipped if option contains "nodraw" string.
@ kCanDelete
if object in a list can be deleted
void ToLower()
Change string to lower-case.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const