Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
FemtoSourceModelNumerical1D.h
1/*
2 * FemtoSourceModelNumerical1D.h
3 *
4 * Created on: 23 sie 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_BASE_SOURCE_MODELS_HALFEMTOSOURCEMODELNUMERICAL1D_H_
10#define HALFEMTO_ANALYSIS_FEMTO_BASE_SOURCE_MODELS_HALFEMTOSOURCEMODELNUMERICAL1D_H_
11
12#include "FemtoPair.h"
13#include "FemtoSourceDensity.h"
14#include "FemtoSourceModel.h"
15
16class TH1D;
17namespace Hal {
19 TH1D* fRawDistribution;
20 Double_t ff;
21 std::vector<Double_t> fRandomDistributionX;
22 std::vector<Double_t> fRandomDistributionY;
23
24 public:
27 void SetRadiusDistribution(const TH1D& distribution);
30 TH1D* GetRaw() const { return fRawDistribution; }
31 std::vector<Double_t> GetVectX() const { return fRandomDistributionX; }
32 std::vector<Double_t> GetVectY() const { return fRandomDistributionY; }
33 virtual Package* Report() const;
36 };
37
39 TH1D* fRawDistribution;
40
41 public:
42 FemtoSourceDensityNumerical1D() : FemtoSourceDensity(1, kTRUE, kTRUE), fRawDistribution(nullptr) {};
43 void SetRadiusDistribution(const TH1D& distribution);
44 TH1D* GetRaw() const { return fRawDistribution; }
45 virtual Double_t GetProbDensity1d(const Double_t r, const Double_t* params) const;
46 virtual Double_t GetProbDensity3d(const TVector3& r, const Double_t* params) const;
49 };
50} // namespace Hal
51#endif /* HALFEMTO_ANALYSIS_FEMTO_BASE_SOURCE_MODELS_HALFEMTOSOURCEMODELNUMERICAL1D_H_ */
virtual Double_t GetProbDensity3d(const TVector3 &r, const Double_t *params) const
virtual Double_t GetProbDensity1d(const Double_t r, const Double_t *params) const