Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFitFunctor.h
1/*
2 * CorrFitFunctor.h
3 *
4 * Created on: 18 maj 2020
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALCORRFITFUNCTOR_H_
10#define HALCORRFITFUNCTOR_H_
11
12#include "CorrFitParamsSetup.h"
13
14#include "Array.h"
15
16#include <TString.h>
17
18
19class TFile;
20class TTree;
21namespace Hal {
22 class CorrFitInfo;
27 class CorrFitFunctor : public TObject {
28 TString fMapFile;
29 CorrFitInfo* fInfo;
30 CorrFitParamsSetup fSetup;
31 TTree* fChain;
32 TFile* fFile;
33 Int_t fParams;
34 Array_1<Float_t>* fData;
35 std::vector<int> fDimsArray;
36 std::vector<int> fPosArray;
37
38 public:
39 CorrFitFunctor(TString map_file = "");
40 CorrFitInfo* GetInfo() const { return fInfo; };
41 void PrintInfo();
50 Bool_t GetParameterConfig(TString name, Double_t& min, Double_t& max, Int_t& npoints) const;
51 Int_t GetNParams() const;
52 TString GetParameterName(Int_t id) const { return fSetup.GetParName(id); };
53 Array_1<Float_t>* GetData(Double_t* params);
54 virtual ~CorrFitFunctor();
55 ClassDef(CorrFitFunctor, 1)
56 };
57} // namespace Hal
58#endif /* HALFEMTO_ANALYSIS_FEMTO_CORRFIT_MAPGENERATOR_MULTIDIM_HALCORRFITFUNCTOR_H_ \
59 */
Bool_t GetParameterConfig(TString name, Double_t &min, Double_t &max, Int_t &npoints) const