Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFitFunc3D.h
1/*
2 * CorrFitFunc3D.h
3 *
4 * Created on: 12 kwi 2024
5 * Author: daniel
6 */
7
8#ifndef HAL_ANALYSIS_FEMTO_CORRFIT_CORRFITFUNC3D_H_
9#define HAL_ANALYSIS_FEMTO_CORRFIT_CORRFITFUNC3D_H_
10
11#include "CorrFitFunc.h"
12
13namespace Hal {
14
15 class CorrFitFunc3D : public CorrFitFunc {
16 friend class Femto1DCF;
17 friend class Femto3DCF;
18 friend class FemtoSHCF;
19 Int_t fLambdaParIndex;
20 Int_t fRoutParIndex;
21 Int_t fRsideParIndex;
22 Int_t fRlongParIndex;
23 Int_t fRoutsideParIndex;
24 Int_t fRoutlongParIndex;
25 Int_t fRsidelongParIndex;
26
27 protected:
28 enum class e3DMode { kNormal3R, kRatio3R, kNormal6R, kRatio6R, kPlus3R, kPlus6R };
29 const e3DMode fMode;
30
31
32 public:
33 CorrFitFunc3D(e3DMode mode = e3DMode::kNormal3R, Int_t par = -1, Int_t dim = 1);
38 Double_t GetRout() const;
43 Double_t GetRoutError() const;
48 Double_t GetRside() const;
53 Double_t GetRsideError() const;
58 Double_t GetRlong() const;
63 Double_t GetRlongError() const;
68 Double_t GetLambda() const { return GetParameter(fLambdaParIndex); }
73 Double_t GetLambdaError() const { return GetParameter(fLambdaParIndex); };
79 void SetLambdaLimits(Double_t min, Double_t max) { SetParLimits(LambdaID(), min, max); }
85 void SetRoutLimits(Double_t min, Double_t max) { SetParLimits(RoutID(), min, max); }
91 void SetRsideLimits(Double_t min, Double_t max);
97 void SetRlongLimits(Double_t min, Double_t max);
102 inline Int_t RoutID() const { return fRoutParIndex; };
107 inline Int_t RsideID() const { return fRsideParIndex; }
112 inline Int_t RlongID() const { return fRlongParIndex; }
117 inline Int_t RoutsideID() const { return fRoutsideParIndex; }
122 inline Int_t RoutlongID() const { return fRoutlongParIndex; }
127 inline Int_t RsidelongID() const { return fRsidelongParIndex; }
132 inline Int_t LambdaID() const { return fLambdaParIndex; }
133 virtual ~CorrFitFunc3D() {};
134 ClassDef(CorrFitFunc3D, 1)
135 };
136
137} /* namespace Hal */
138
139#endif /* HAL_ANALYSIS_FEMTO_CORRFIT_CORRFITFUNC3D_H_ */
Int_t RoutsideID() const
Double_t GetLambdaError() const
Int_t RoutlongID() const
Double_t GetRsideError() const
void SetRoutLimits(Double_t min, Double_t max)
Int_t RsideID() const
Int_t RsidelongID() const
Double_t GetRlong() const
Double_t GetRlongError() const
Double_t GetLambda() const
Int_t LambdaID() const
void SetRsideLimits(Double_t min, Double_t max)
void SetLambdaLimits(Double_t min, Double_t max)
Int_t RoutID() const
Double_t GetRoutError() const
Double_t GetRside() const
Int_t RlongID() const
void SetRlongLimits(Double_t min, Double_t max)
Double_t GetRout() const
Double_t GetParameter(Int_t par) const
Definition CorrFit.cxx:141
void SetParLimits(Int_t par, Double_t min, Double_t max)
Definition CorrFit.cxx:102