Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
MinimizerStepConf.h
1/*
2 * MinimizerStepConf.h
3 *
4 * Created on: 22 sie 2022
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HAL_FEATURES_MINIMIZER_MINIMIZERSTEPCONF_H_
10#define HAL_FEATURES_MINIMIZER_MINIMIZERSTEPCONF_H_
11
12#include "FitParam.h"
13#include <vector>
14
15namespace Hal {
16
17 class MinimizerStepConf : public TObject {
18 std::vector<FitParam> fParams;
19
20 public:
21 MinimizerStepConf(const MinimizerStepConf& othe, std::vector<int> order);
23 Int_t GetNParams() const { return fParams.size(); }
33 void ConfigureParameter(TString name, Double_t step, Double_t min, Double_t max, TString option = "");
37 void SetParameters(std::vector<FitParam>& input, Bool_t overwrite) const;
38 virtual ~MinimizerStepConf();
39 MinimizerStepConf(const MinimizerStepConf& other) = default;
44 void LoadFromXML(TString xmlFile);
45 MinimizerStepConf& operator=(const MinimizerStepConf& other) = default;
46 ClassDef(MinimizerStepConf, 1)
47 };
48
49} /* namespace Hal */
50
51#endif /* HAL_FEATURES_MINIMIZER_MINIMIZERSTEPCONF_H_ */
void SetParameters(std::vector< FitParam > &input, Bool_t overwrite) const
void ConfigureParameter(TString name, Double_t step, Double_t min, Double_t max, TString option="")
void LoadFromXML(TString xmlFile)