Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFitHDFunc.h
1/*
2 * CorrFitTempMaps.h
3 *
4 * Created on: 14 lut 2021
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALFEMTO_ANALYSIS_FEMTO_CORRFIT_HALCORRFITHDFUNC_H_
10#define HALFEMTO_ANALYSIS_FEMTO_CORRFIT_HALCORRFITHDFUNC_H_
11
12#include "Array.h"
13#include "CorrFitMask.h"
14#include "DividedHisto.h"
15#include "Splines.h"
16
17#include <TObject.h>
18
22namespace Hal {
23 class CorrFitHDFunc : public TObject {
24 protected:
28 const Int_t fDummyVal;
29 const Int_t fDim;
30 Array_1<Int_t> fHDToBin;
31 Double_t* fParams; //[fDim]
32 Double_t* fMins; //[fDim]
33 Double_t* fSteps; //[fDim]
38 void RecalcHDBin(Int_t newSize);
44 inline Int_t GetBinHD(Int_t bin) const { return bin * 2 - 1; };
45
46 public:
47 CorrFitHDFunc(Int_t dim = 1);
53 virtual void SetMask(const CorrFitMask& mask, TH1* denominator, Bool_t hd) = 0;
59 inline Int_t HDBinToBin(Int_t hd_bin) const { return fHDToBin.Get(hd_bin); };
65 inline Double_t GetStep(Int_t no) const { return fSteps[no]; };
71 inline Double_t GetMin(Int_t no) const { return fMins[no]; };
72 virtual ~CorrFitHDFunc();
73 ClassDef(CorrFitHDFunc, 1)
74 };
75
76
77} // namespace Hal
78
79#endif /* HALFEMTO_ANALYSIS_FEMTO_CORRFIT_HALCORRFITHDFUNC_H_ */
T Get(Int_t i) const
Definition Array.h:97
Int_t GetBinHD(Int_t bin) const
Double_t GetStep(Int_t no) const
virtual void SetMask(const CorrFitMask &mask, TH1 *denominator, Bool_t hd)=0
Int_t HDBinToBin(Int_t hd_bin) const
Double_t GetMin(Int_t no) const
void RecalcHDBin(Int_t newSize)
const Int_t fDummyVal