9#include "FemtoSourceDensity.h"
15 fNParams = other.fNParams;
16 fAna1d = other.fAna1d;
17 fAna3d = other.fAna3d;
19 fParams =
new Double_t[fNParams];
20 for (
int i = 0; i < fNParams; i++) {
21 fParams[i] = other.fParams[i];
30 if (&other ==
this)
return *
this;
31 if (other.fNParams != fNParams) {
33 fNParams = other.fNParams;
34 fParams =
new Double_t[fNParams];
36 for (
int i = 0; i < fNParams; i++) {
37 fParams[i] = other.fParams[i];
43 for (
int i = 0; i < fNParams; i++) {
44 fParams[i] = params[i];
virtual Double_t GetRelativeProbDensity3d(const TVector3 &vec, const Double_t *params)
virtual Double_t GetProbDensity3d(const TVector3 &, const Double_t *) const
FemtoSourceDensity & operator=(const FemtoSourceDensity &other)
virtual void SetBaseParameters(const Double_t *params)
virtual Double_t GetProbDensity1d(const Double_t, const Double_t *) const
virtual Double_t GetRelativeProbDensity1d(const Double_t r, const Double_t *params) const