84 bool operator() (
const TString&
a,
const TString&
b)
const;
100 std::unique_ptr<TMethodCall>
fMethod;
124 void ReplaceAllNames(TString &formula, std::map<TString, TString> &substitutions);
143 std::list<TFormulaFunction>
fFuncs;
144 std::map<TString,TFormulaVariable>
fVars;
145 std::map<TString,Int_t,TFormulaParamOrder>
fParams;
146 std::map<TString,Double_t>
fConsts;
189 TFormula(
const char *
name,
const char * formula =
"",
bool addToGlobList =
true,
bool vectorize =
false);
190 TFormula(
const char *
name,
const char * formula,
int ndim,
int npar,
bool addToGlobList =
true);
200 template <
typename... Args>
245 return EvalParVec(
x, params);
254 assert(
fClingName.Length() &&
"TFormula is not initialized yet!");
280 template <
typename... Args>
283 template <
typename... Args>
298template <
typename... Args>
302 for (
double val : {arg1,
static_cast<Double_t>(args)...}) {
310template <
typename... Args>
314 for (
auto name : {
static_cast<std::string const&
>(args)...}) {
323template <
typename... Args>
326 if (
sizeof...(args) > 4) {
327 Error(
"Eval",
"Eval() only support setting up to 4 variables");
329 double xxx[] = {
static_cast<Double_t>(args)...};
true
Register systematic variations for multiple existing columns using auto-generated tags.
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
#define ClassDefOverride(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Method or function calling interface.
The TNamed class is the base class for all named ROOT classes.
R__ALWAYS_INLINE Bool_t TestBit(UInt_t f) const
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
TObject()
TObject constructor.
void(* Generic_t)(void *, int, void **, void *)