Logo ROOT  
Reference Guide
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Loading...
Searching...
No Matches
TFormula.cxx File Reference
#include "TROOT.h"
#include "TBuffer.h"
#include "TMethod.h"
#include "TF1.h"
#include "TMethodCall.h"
#include <TBenchmark.h>
#include "TError.h"
#include "TInterpreter.h"
#include "TInterpreterValue.h"
#include "TFormula.h"
#include "TRegexp.h"
#include "ROOT/StringUtils.hxx"
#include <array>
#include <iostream>
#include <memory>
#include <unordered_map>
#include <functional>
#include <set>
#include <sstream>
#include "v5/TFormula.h"
Include dependency graph for TFormula.cxx:

Typedefs

using TFormulaUpdater_t = void (*)(Int_t nobjects, TObject **from, TObject **to)
 

Functions

static void CallCladFunction (TInterpreter::CallFuncIFacePtr_t::Generic_t FuncPtr, const Double_t *vars, const Double_t *pars, Double_t *result, const Int_t)
 
static bool DeclareGenerationInput (std::string FuncName, std::string CladStatement, std::string &GenerationInput)
 
static bool functionExists (const string &Name)
 
static TInterpreter::CallFuncIFacePtr_t::Generic_t GetFuncPtr (std::string FuncName, Int_t Npar, Int_t Ndim, Bool_t Vectorized)
 
static void IncludeCladRuntime (Bool_t &IsCladRuntimeIncluded)
 
static bool IsReservedName (const char *name)
 
static TInterpreter::CallFuncIFacePtr_t::Generic_t prepareFuncPtr (TMethodCall *method)
 
static std::unique_ptr< TMethodCallprepareMethod (bool HasParameters, bool HasVariables, const char *FuncName, bool IsVectorized, bool AddCladArrayRef=false)
 
bool R__SetClonesArrayTFormulaUpdater (TFormulaUpdater_t func)
 
static void R__v5TFormulaUpdater (Int_t nobjects, TObject **from, TObject **to)
 

Variables

static std::unordered_map< std::string, void * > gClingFunctions = std::unordered_map<std::string, void * >()
 
static const TString gNamePrefix = "TFormula__"
 
int R__RegisterTFormulaUpdaterTrigger = R__SetClonesArrayTFormulaUpdater(R__v5TFormulaUpdater)
 

Typedef Documentation

◆ TFormulaUpdater_t

using TFormulaUpdater_t = void (*)(Int_t nobjects, TObject **from, TObject **to)

Definition at line 280 of file TFormula.cxx.

Function Documentation

◆ CallCladFunction()

static void CallCladFunction ( TInterpreter::CallFuncIFacePtr_t::Generic_t FuncPtr,
const Double_t * vars,
const Double_t * pars,
Double_t * result,
const Int_t  )
static

Definition at line 3238 of file TFormula.cxx.

◆ DeclareGenerationInput()

static bool DeclareGenerationInput ( std::string FuncName,
std::string CladStatement,
std::string & GenerationInput )
static

Definition at line 3214 of file TFormula.cxx.

◆ functionExists()

static bool functionExists ( const string & Name)
static

Definition at line 3202 of file TFormula.cxx.

◆ GetFuncPtr()

static TInterpreter::CallFuncIFacePtr_t::Generic_t GetFuncPtr ( std::string FuncName,
Int_t Npar,
Int_t Ndim,
Bool_t Vectorized )
static

Definition at line 3229 of file TFormula.cxx.

◆ IncludeCladRuntime()

static void IncludeCladRuntime ( Bool_t & IsCladRuntimeIncluded)
static

Definition at line 3206 of file TFormula.cxx.

◆ IsReservedName()

static bool IsReservedName ( const char * name)
static

Definition at line 455 of file TFormula.cxx.

◆ prepareFuncPtr()

Definition at line 837 of file TFormula.cxx.

◆ prepareMethod()

static std::unique_ptr< TMethodCall > prepareMethod ( bool HasParameters,
bool HasVariables,
const char * FuncName,
bool IsVectorized,
bool AddCladArrayRef = false )
static

Definition at line 799 of file TFormula.cxx.

◆ R__SetClonesArrayTFormulaUpdater()

bool R__SetClonesArrayTFormulaUpdater ( TFormulaUpdater_t func)

Definition at line 151 of file TClonesArray.cxx.

◆ R__v5TFormulaUpdater()

static void R__v5TFormulaUpdater ( Int_t nobjects,
TObject ** from,
TObject ** to )
static

Definition at line 266 of file TFormula.cxx.

Variable Documentation

◆ gClingFunctions

std::unordered_map<std::string, void *> gClingFunctions = std::unordered_map<std::string, void * >()
static

Definition at line 264 of file TFormula.cxx.

◆ gNamePrefix

const TString gNamePrefix = "TFormula__"
static

Definition at line 260 of file TFormula.cxx.

◆ R__RegisterTFormulaUpdaterTrigger

int R__RegisterTFormulaUpdaterTrigger = R__SetClonesArrayTFormulaUpdater(R__v5TFormulaUpdater)

Definition at line 283 of file TFormula.cxx.