Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFitKisiel.h
1/*
2 * CorrFitKisiel.h
3 *
4 * Created on: 27 lis 2015
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALCORRFITKISIEL_H_
10#define HALCORRFITKISIEL_H_
11
12#include "Array.h"
13#include "CorrFit1DCF.h"
14#include "CorrFitMapKstarRstar.h"
15#include "Splines.h"
16
17#include <Rtypes.h>
18#include <RtypesCore.h>
19#include <TString.h>
20#include <vector>
21
22class TH1D;
23
24class TClonesArray;
25
30namespace Hal {
31 class AnaFile;
32 class CorrFitKisiel : public CorrFit1DCF {
33
34 protected:
35 std::vector<CorrFitMapKstarRstar*> fMaps;
36 Bool_t fSkipError;
37 TH1D* fOldNumErr = {nullptr};
38 virtual void Check();
39 virtual Double_t GetNumericalError(Int_t binX) const {
40 if (fSkipError) return 0;
41 return fMaps[0]->EvalNumErrorBin(binX, 1);
42 };
43 virtual Double_t CalculateCF(const Double_t* x, const Double_t* params) const;
44 virtual Double_t CalculateCFExtrapolated(const Double_t* x, const Double_t* params) const;
45 virtual void Paint(Bool_t repaint = kTRUE, Bool_t refresh = kTRUE);
46
47 public:
48 CorrFitKisiel(Int_t params = 3);
49
53 virtual void SkipNumErrors() { fSkipError = kTRUE; }
58 virtual void AddMap(CorrFitMapKstarRstar* map);
59
65 [[deprecated]] virtual void LoadMap(TH2D* h, Femto::EKinematics mapFrame);
69 virtual ~CorrFitKisiel();
70 ClassDef(CorrFitKisiel, 1)
71 };
72} // namespace Hal
73#endif /* HALCORRFITKISIEL_H_ */
virtual void Check()
virtual Double_t CalculateCF(const Double_t *x, const Double_t *params) const
virtual void LoadMap(TH2D *h, Femto::EKinematics mapFrame)
virtual void AddMap(CorrFitMapKstarRstar *map)
virtual void SkipNumErrors()