#include <Math.h>
|
| | TFSum (const std::string &name, TF1 *f1, double xmin=-5, double xmax=5) |
| |
| | TFSum (const std::string &name, TF1 *f1, TF1 *f2, double xmin=-5, double xmax=5) |
| |
| | TFSum (const std::string &name, TF1 *f1, TF1 *f2, TF1 *f3, double xmin=-5, double xmax=5) |
| |
| | TFSum (const std::string &name, std::list< TF1 *> fs, double xmin=-5, double xmax=5) |
| |
| virtual | ~TFSum () |
| |
| double | operator() (const double *x, const double *p) const |
| | Evalute the function. More...
|
| |
| unsigned | GetNpar () const |
| |
| void | SyncToSum () |
| | Copy Parameters, Errors and Limits to the Sum TF1. More...
|
| |
| void | SyncToFcts () |
| | Copy Parameters, Errors, and Limits to the individual functions. More...
|
| |
| void | Draw () |
| |
| void | SetRange (double xmin, double xmax) |
| |
| void | GetRange (double &xmin, double &xmax) const |
| |
| TF1 * | Function () |
| |
| | operator TF1 * () |
| |
| void | SetNpx (int n) |
| |
| virtual void | Draw (const std::string &option) const |
| |
| virtual | ~root_drawable_traits ()=default |
| |
|
| static TFitResultPtr | FitRanged (TH1 *h, TF1 *f, double x_low, double x_high, const std::string &fitopts="REM0NB") |
| |
| static TFitResultPtr | FitRanged (TH1 *h, TF1 *f, double x1_low, double x1_high, double x2_low, double x2_high, const std::string &fitopts="REM0NB") |
| |
| static TF1 * | MakeRanged (TF1 *f, double x_low, double x_high) |
| |
| static TF1 * | MakeRanged (TF1 *f, double x1_low, double x1_high, double x2_low, double x2_high) |
| |
| static TFitResultPtr | FitRanged (TH1 *h, TF1 *f, const PiecewiseInterval< double > &range, const std::string &fitopts="REM0NB") |
| |
| static TF1 * | MakeRanged (TF1 *f, const PiecewiseInterval< double > &range) |
| |
| template<typename Filter > |
| static TF1 * | MakeFiltered (TF1 *f, Filter filter) |
| |
|
| TF1 * | BuildTF1 (const std::string &name, const double min, const double max) const |
| |
|
| static void | syncTF1Par (TF1 *src, TF1 *dst) |
| |
| static void | syncTF1Par (TF1 *src, TF1 *dst, int src_j, int dst_j) |
| |
◆ TFSum() [1/4]
| TFSum::TFSum |
( |
const std::string & |
name, |
|
|
TF1 * |
f1, |
|
|
double |
xmin = -5, |
|
|
double |
xmax = 5 |
|
) |
| |
◆ TFSum() [2/4]
| TFSum::TFSum |
( |
const std::string & |
name, |
|
|
TF1 * |
f1, |
|
|
TF1 * |
f2, |
|
|
double |
xmin = -5, |
|
|
double |
xmax = 5 |
|
) |
| |
◆ TFSum() [3/4]
| TFSum::TFSum |
( |
const std::string & |
name, |
|
|
TF1 * |
f1, |
|
|
TF1 * |
f2, |
|
|
TF1 * |
f3, |
|
|
double |
xmin = -5, |
|
|
double |
xmax = 5 |
|
) |
| |
◆ TFSum() [4/4]
| TFSum::TFSum |
( |
const std::string & |
name, |
|
|
std::list< TF1 *> |
fs, |
|
|
double |
xmin = -5, |
|
|
double |
xmax = 5 |
|
) |
| |
◆ ~TFSum()
◆ BuildTF1()
| TF1 * TFSum::BuildTF1 |
( |
const std::string & |
name, |
|
|
const double |
min, |
|
|
const double |
max |
|
) |
| const |
|
protected |
◆ Draw() [1/2]
◆ Draw() [2/2]
| void TFSum::Draw |
( |
const std::string & |
option | ) |
const |
|
virtual |
◆ FitRanged() [1/3]
| TFitResultPtr TFSum::FitRanged |
( |
TH1 * |
h, |
|
|
TF1 * |
f, |
|
|
double |
x_low, |
|
|
double |
x_high, |
|
|
const std::string & |
fitopts = "REM0NB" |
|
) |
| |
|
static |
◆ FitRanged() [2/3]
| TFitResultPtr TFSum::FitRanged |
( |
TH1 * |
h, |
|
|
TF1 * |
f, |
|
|
double |
x1_low, |
|
|
double |
x1_high, |
|
|
double |
x2_low, |
|
|
double |
x2_high, |
|
|
const std::string & |
fitopts = "REM0NB" |
|
) |
| |
|
static |
◆ FitRanged() [3/3]
| TFitResultPtr TFSum::FitRanged |
( |
TH1 * |
h, |
|
|
TF1 * |
f, |
|
|
const PiecewiseInterval< double > & |
range, |
|
|
const std::string & |
fitopts = "REM0NB" |
|
) |
| |
|
static |
◆ Function()
| TF1* ant::TFSum::Function |
( |
| ) |
|
|
inline |
◆ GetNpar()
| unsigned TFSum::GetNpar |
( |
| ) |
const |
◆ GetRange()
| void TFSum::GetRange |
( |
double & |
xmin, |
|
|
double & |
xmax |
|
) |
| const |
◆ MakeFiltered()
template<typename Filter >
| static TF1* ant::TFSum::MakeFiltered |
( |
TF1 * |
f, |
|
|
Filter |
filter |
|
) |
| |
|
inlinestatic |
◆ MakeRanged() [1/3]
| TF1 * TFSum::MakeRanged |
( |
TF1 * |
f, |
|
|
double |
x_low, |
|
|
double |
x_high |
|
) |
| |
|
static |
◆ MakeRanged() [2/3]
| TF1 * TFSum::MakeRanged |
( |
TF1 * |
f, |
|
|
double |
x1_low, |
|
|
double |
x1_high, |
|
|
double |
x2_low, |
|
|
double |
x2_high |
|
) |
| |
|
static |
◆ MakeRanged() [3/3]
◆ operator TF1 *()
| ant::TFSum::operator TF1 * |
( |
| ) |
|
|
inline |
◆ operator()()
| double TFSum::operator() |
( |
const double * |
x, |
|
|
const double * |
p |
|
) |
| const |
Evalute the function.
- Parameters
-
- Returns
◆ SetNpx()
| void TFSum::SetNpx |
( |
int |
n | ) |
|
◆ SetRange()
| void TFSum::SetRange |
( |
double |
xmin, |
|
|
double |
xmax |
|
) |
| |
◆ syncTF1Par() [1/2]
| void TFSum::syncTF1Par |
( |
TF1 * |
src, |
|
|
TF1 * |
dst |
|
) |
| |
|
staticprotected |
◆ syncTF1Par() [2/2]
| void TFSum::syncTF1Par |
( |
TF1 * |
src, |
|
|
TF1 * |
dst, |
|
|
int |
src_j, |
|
|
int |
dst_j |
|
) |
| |
|
staticprotected |
◆ SyncToFcts()
| void TFSum::SyncToFcts |
( |
| ) |
|
Copy Parameters, Errors, and Limits to the individual functions.
◆ SyncToSum()
| void TFSum::SyncToSum |
( |
| ) |
|
Copy Parameters, Errors and Limits to the Sum TF1.
◆ functions
| std::list<TF1*> ant::TFSum::functions |
|
protected |
◆ sum
The documentation for this class was generated from the following files:
- src/root-addons/analysis_codes/Math.h
- src/root-addons/analysis_codes/Math.cc