|
ant
A2 ant: class-based analysis framework
|
#include <FitVetoBand.h>
Inheritance diagram for ant::calibration::gui::FitVetoBand:
Collaboration diagram for ant::calibration::gui::FitVetoBand:Public Member Functions | |
| FitVetoBand () | |
| ~FitVetoBand () | |
| void | Draw () override |
| void | Fit (TH1 *hist) override |
| void | FitSignal (TH1 *hist) override |
| void | FitBackground (TH1 *hist) override |
| void | SetDefaults (TH1 *hist) override |
| Set/Calculate default parameter values. The hist that will be fitted later is given to allow adaptions. More... | |
| void | SetRange (ant::interval< double > i) override |
| ant::interval< double > | GetRange () const override |
| virtual void | Sync () override |
| SavedState_t | Save () const override |
| Save the current fit parameters to a vector. Can then later be loaded again using Load() More... | |
| void | Load (const SavedState_t &data) override |
| Load fit parameters from a vector. Useful to load previously used ones. More... | |
| double | Eval (const double energy) const |
| double | EvalReference (const double energy) const |
Public Member Functions inherited from ant::calibration::gui::FitFunction | |
| virtual | ~FitFunction () |
| knoblist_t & | GetKnobs () |
| void | SetAdditionalFitArgs (const std::string &args) |
| virtual double | Chi2NDF () const |
| Get the reduced chi^2 (=chi^2/ndf) of last fit. More... | |
| virtual double | Chi2 () const |
| Get the Chi^2 of last fit. More... | |
| virtual double | NDF () const |
| Get the Number of degrees of freedom of last fit. More... | |
Protected Attributes | |
| TF1 * | signal |
| TF1 * | bg |
| TF1 * | ref |
Protected Attributes inherited from ant::calibration::gui::FitFunction | |
| TF1 * | func = nullptr |
| knoblist_t | knobs |
Additional Inherited Members | |
Public Types inherited from ant::calibration::gui::FitFunction | |
| using | knoblist_t = std::list< std::unique_ptr< IndicatorKnob > > |
| using | SavedState_t = std::vector< double > |
Public Attributes inherited from ant::calibration::gui::FitFunction | |
| std::string | AdditionalFitArgs |
Protected Member Functions inherited from ant::calibration::gui::FitFunction | |
| template<typename T , typename ... Args_t> | |
| void | AddKnob (Args_t &&... args) |
| void | doFit (TH1 *hist) |
Static Protected Member Functions inherited from ant::calibration::gui::FitFunction | |
| static ant::interval< double > | getRange (const TF1 *func) |
| static void | setRange (TF1 *func, const ant::interval< double > &i) |
| static void | saveTF1 (const TF1 *func, SavedState_t &out) |
| static void | loadTF1 (SavedState_t::const_iterator &data_pos, TF1 *func) |
| FitVetoBand::FitVetoBand | ( | ) |
| FitVetoBand::~FitVetoBand | ( | ) |
|
overridevirtual |
Implements ant::calibration::gui::FitFunction.
| double FitVetoBand::Eval | ( | const double | energy | ) | const |
| double FitVetoBand::EvalReference | ( | const double | energy | ) | const |
|
overridevirtual |
Implements ant::calibration::gui::FitFunction.
|
overridevirtual |
Reimplemented from ant::calibration::gui::FitFunction.
|
overridevirtual |
Reimplemented from ant::calibration::gui::FitFunction.
|
overridevirtual |
Implements ant::calibration::gui::FitFunction.
|
overridevirtual |
Load fit parameters from a vector. Useful to load previously used ones.
| data | vector containing the values. Internal format (meaning of each double and the size of the vector) is up to the implementation of each function. |
Implements ant::calibration::gui::FitFunction.
|
overridevirtual |
Save the current fit parameters to a vector. Can then later be loaded again using Load()
Implements ant::calibration::gui::FitFunction.
|
overridevirtual |
Set/Calculate default parameter values. The hist that will be fitted later is given to allow adaptions.
| hist | The hist to fit later |
Implements ant::calibration::gui::FitFunction.
|
overridevirtual |
Implements ant::calibration::gui::FitFunction.
|
overridevirtual |
Reimplemented from ant::calibration::gui::FitFunction.
|
protected |
|
protected |
|
protected |