#include <math.h>
#include "Riostream.h"
#include "TROOT.h"
#include "TClass.h"
#include "v5/TFormula.h"
#include "TMath.h"
#include "TRandom.h"
#include "TFunction.h"
#include "TMethodCall.h"
#include "TObjString.h"
#include "TError.h"
#include "v5/TFormulaPrimitive.h"
#include "TInterpreter.h"
#include "TVirtualMutex.h"
Go to the source code of this file.
§ R__EXPO [1/2]
§ R__EXPO [2/2]
Value:{ \
tab[pos-1] =
TMath::Exp(params[param]+params[param+1]*
x[var]); \
continue; \
}
§ R__GAUS [1/2]
§ R__GAUS [2/2]
Value:{ \
tab[pos-1] = params[param]*
TMath::Gaus(
x[var],params[param+1], \
params[param+2],IsNormalized()); \
continue; \
}
Double_t Gaus(Double_t x, Double_t mean=0, Double_t sigma=1, Bool_t norm=kFALSE)
Calculate a gaussian function with mean and sigma.
§ R__LANDAU [1/2]
§ R__LANDAU [2/2]
Value:{ \
tab[pos-1] = params[param]*
TMath::Landau(
x[var],params[param+1],params[param+2],IsNormalized()); \
continue; \
}
Double_t Landau(Double_t x, Double_t mpv=0, Double_t sigma=1, Bool_t norm=kFALSE)
The LANDAU function.
§ R__POLY [1/2]
§ R__POLY [2/2]
Value:{ \
tab[pos-1] = 0;
Double_t intermede = 1; \
Int_t inter = param/100; \
Int_t int1= param-inter*100-1; \
for (j=0 ;j<inter+1;j++) { \
tab[pos-1] += intermede*params[j+int1]; \
} \
continue; \
}
§ gMAXCONST
§ gMAXOP
§ gMAXPAR
§ gMAXSTRINGFOUND
| const Int_t gMAXSTRINGFOUND = 10 |
§ kOptimizationError