simple-tof-analysis
 All Classes Namespaces Functions Variables Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TSFunction2D Class Reference
Inheritance diagram for TSFunction2D:
TSFunction1D TSFunction1D TSBaseFunction TSBaseFunction TSBaseFunction TSBaseFunction TSNamed TSNamed TSNamed TSNamed TSNamed TSNamed TSNamed TSNamed TSFunc2DGaussPdf TSFunc2DGaussPdf TSFunc2DProd TSFunc2DProd TSFuncModel TSFuncModel TSFuncModel1D TSFuncModel1D TSFuncModel2D TSFuncModel2D TSFuncModel1D TSFuncModel1D TSFuncModel2D TSFuncModel2D

Public Member Functions

 TSFunction2D (TString name, TString title)
 
 TSFunction2D (TString name, TString title, const TSVariable &var_x, const TSVariable &var_y)
 
virtual double Eval (double x, double y=0) const
 
virtual double Eval () const
 
virtual double EvalFunc (double *x, double *p) const
 
TGraph2D * BuildGraph2D (double xmin, double xmax, double ymin, double ymax, int nptx=100, int npty=100) const
 
TGraph2D * BuildGraph2D (int nptx=100, int npty=100) const
 
TF2 * BuildTF2 (TString name="", int npx=100, int npy=100) const
 
virtual double ComputeIntegral () const
 
virtual double ComputeIntegral (double xmin, double xmax, double ymin, double ymax) const
 
TString GetAxisTitles () const
 
void InitFuncs ()
 
virtual void SetVarY (const TSVariable &)
 
const TSVariableGetVariableY () const
 
 TSFunction2D (TString name, TString title)
 
 TSFunction2D (TString name, TString title, const TSVariable &var_x, const TSVariable &var_y)
 
virtual double Eval (double x, double y=0) const
 
virtual double Eval () const
 
virtual double EvalFunc (double *x, double *p) const
 
TGraph2D * BuildGraph2D (double xmin, double xmax, double ymin, double ymax, int nptx=100, int npty=100) const
 
TGraph2D * BuildGraph2D (int nptx=100, int npty=100) const
 
TF2 * BuildTF2 (TString name="", int npx=100, int npy=100) const
 
virtual double ComputeIntegral () const
 
virtual double ComputeIntegral (double xmin, double xmax, double ymin, double ymax) const
 
TString GetAxisTitles () const
 
void InitFuncs ()
 
virtual void SetVarY (const TSVariable &)
 
const TSVariableGetVariableY () const
 
- Public Member Functions inherited from TSFunction1D
 TSFunction1D (TString name, TString title)
 
 TSFunction1D (TString name, TString title, const TSVariable &var_x)
 
virtual double Evaluate () const
 
TGraph * BuildGraphX (double xmin, double xmax, int npts=300) const
 
TGraph * BuildGraphX (int npts=300, double y=0) const
 
TF1 * BuildTF1 (TString name="", int npx=300) const
 
virtual double ComputeIntegral (double xmin, double xmax) const
 
TString GetAxisTitles () const
 
void InitFuncs ()
 
virtual void SetVarX (const TSVariable &)
 
const TSVariableGetVariableX () const
 
virtual double GetSigmaSpread () const
 
 TSFunction1D (TString name, TString title)
 
 TSFunction1D (TString name, TString title, const TSVariable &var_x)
 
virtual double Evaluate () const
 
TGraph * BuildGraphX (double xmin, double xmax, int npts=300) const
 
TGraph * BuildGraphX (int npts=300, double y=0) const
 
TF1 * BuildTF1 (TString name="", int npx=300) const
 
virtual double ComputeIntegral (double xmin, double xmax) const
 
TString GetAxisTitles () const
 
void InitFuncs ()
 
virtual void SetVarX (const TSVariable &)
 
const TSVariableGetVariableX () const
 
virtual double GetSigmaSpread () const
 
- Public Member Functions inherited from TSBaseFunction
 TSBaseFunction (TString name, TString title)
 
const TSParameterGetParameter (int) const
 
const TSParameterGetParameter (TString name) const
 
void PrintParamList () const
 
virtual double DoEvalPar (const double *x, const double *p) const
 
virtual const double * Parameters () const
 
virtual void SetParameters (const double *p)
 
virtual unsigned int NDim () const
 
virtual unsigned int NPar () const
 
virtual void SetNDim (int)
 
void SetNPar (int)
 
double GetBinArea () const
 
double GetBinWidthX () const
 
double GetBinWidthY () const
 
void Init ()
 
TSArgListGetPrimaryParamList () const
 
void PrintPrimaryParamList () const
 
int GetNumOfPrimPars () const
 
void ResetBinWidths () const
 
void SetBinWidths (double, double) const
 
void SetBinWidths (const TH1 &) const
 
void SetBinWidthX (double) const
 
void SetBinWidthY (double) const
 
 TSBaseFunction (TString name, TString title)
 
const TSParameterGetParameter (int) const
 
const TSParameterGetParameter (TString name) const
 
void PrintParamList () const
 
virtual double DoEvalPar (const double *x, const double *p) const
 
virtual const double * Parameters () const
 
virtual void SetParameters (const double *p)
 
virtual unsigned int NDim () const
 
virtual unsigned int NPar () const
 
virtual void SetNDim (int)
 
void SetNPar (int)
 
double GetBinArea () const
 
double GetBinWidthX () const
 
double GetBinWidthY () const
 
void Init ()
 
TSArgListGetPrimaryParamList () const
 
void PrintPrimaryParamList () const
 
int GetNumOfPrimPars () const
 
void ResetBinWidths () const
 
void SetBinWidths (double, double) const
 
void SetBinWidths (const TH1 &) const
 
void SetBinWidthX (double) const
 
void SetBinWidthY (double) const
 
- Public Member Functions inherited from TSNamed
 TSNamed (TString name, TString label, TString title)
 
void Clear ()
 
virtual TString GetDescription () const
 
TString GetLabel () const
 
TString Label () const
 
TString Name () const
 
TString Title () const
 
const char * GetName () const
 
const char * GetTitle () const
 
virtual void SetLabel (TString)
 
virtual void SetName (TString)
 
virtual void SetTitle (TString)
 
 TSNamed (TString name, TString label, TString title)
 
void Clear ()
 
virtual TString GetDescription () const
 
TString GetLabel () const
 
TString Label () const
 
TString Name () const
 
TString Title () const
 
const char * GetName () const
 
const char * GetTitle () const
 
virtual void SetLabel (TString)
 
virtual void SetName (TString)
 
virtual void SetTitle (TString)
 

Protected Member Functions

void fCacheY (double val) const
 
double fGetCachedY () const
 
void fCacheY (double val) const
 
double fGetCachedY () const
 
- Protected Member Functions inherited from TSFunction1D
void fCacheX (double val) const
 
double fGetCachedX () const
 
void fCacheX (double val) const
 
double fGetCachedX () const
 
- Protected Member Functions inherited from TSBaseFunction
int AddParameter (const TSParameter &p)
 
virtual void fClearPrimaryParamList ()
 
int AddParameter (const TSParameter &p)
 
virtual void fClearPrimaryParamList ()
 

Protected Attributes

TF2 * fTF2
 
double cached_y
 
- Protected Attributes inherited from TSFunction1D
double cached_x
 
TF1 * fTF1
 

Additional Inherited Members

- Static Public Attributes inherited from TSBaseFunction
static double GNorm =2.50662827463100024
 

Member Function Documentation

TGraph2D * TSFunction2D::BuildGraph2D ( double  xmin,
double  xmax,
double  ymin,
double  ymax,
int  nptx = 100,
int  npty = 100 
) const

Referenced by BuildGraph2D().

TGraph2D * TSFunction2D::BuildGraph2D ( int  nptx = 100,
int  npty = 100 
) const

Use range of the X,Y Variables

References BuildGraph2D().


The documentation for this class was generated from the following files: