Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
FemtoSourceDensity.h
1
/*
2
* FemtoSourceDensity.h
3
*
4
* Created on: 3 sty 2023
5
* Author: Daniel Wielanek
6
* E-mail: daniel.wielanek@gmail.com
7
* Warsaw University of Technology, Faculty of Physics
8
*/
9
#ifndef HAL_ANALYSIS_FEMTO_BASE_SOURCE_MODELS_FEMTOSOURCEDENSITY_H_
10
#define HAL_ANALYSIS_FEMTO_BASE_SOURCE_MODELS_FEMTOSOURCEDENSITY_H_
11
12
#include <RtypesCore.h>
13
#include <TVector3.h>
14
19
namespace
Hal
{
20
class
FemtoSourceDensity
:
public
TObject {
21
Int_t fNParams;
22
Bool_t fAna1d;
23
Bool_t fAna3d;
24
Double_t* fParams;
//[fNParams]
25
public
:
26
FemtoSourceDensity
(Int_t params = 0, Bool_t ana1d = kFALSE, Bool_t ana3d = kTRUE) :
27
fNParams(TMath::Min(1, params)), fAna1d(ana1d), fAna3d(ana3d), fParams(
nullptr
) {
28
fParams =
new
Double_t[fNParams];
29
};
34
FemtoSourceDensity
(
const
FemtoSourceDensity
& other);
40
FemtoSourceDensity
&
operator=
(
const
FemtoSourceDensity
& other);
45
virtual
void
SetBaseParameters
(
const
Double_t* params);
52
virtual
Double_t
GetProbDensity3d
(
const
TVector3&
/*vec*/
,
const
Double_t*
/*params*/
)
const
{
return
0; };
60
virtual
Double_t
GetProbDensity1d
(
const
Double_t
/*r*/
,
const
Double_t*
/*params*/
)
const
{
return
0; };
67
virtual
Double_t
GetRelativeProbDensity3d
(
const
TVector3& vec,
const
Double_t* params);
74
virtual
Double_t
GetRelativeProbDensity1d
(
const
Double_t r,
const
Double_t* params)
const
;
79
Bool_t
IsAna1d
()
const
{
return
fAna1d; }
84
Bool_t
IsAna3d
()
const
{
return
fAna3d; }
85
virtual
~FemtoSourceDensity
() {
86
if
(fParams)
delete
[] fParams;
87
};
88
ClassDef(FemtoSourceDensity, 1)
89
};
90
}
// namespace Hal
91
92
#endif
/* HAL_ANALYSIS_FEMTO_BASE_SOURCE_MODELS_FEMTOSOURCEDENSITY_H_ */
Hal::FemtoSourceDensity
Definition
FemtoSourceDensity.h:20
Hal::FemtoSourceDensity::GetRelativeProbDensity3d
virtual Double_t GetRelativeProbDensity3d(const TVector3 &vec, const Double_t *params)
Definition
FemtoSourceDensity.cxx:48
Hal::FemtoSourceDensity::GetProbDensity3d
virtual Double_t GetProbDensity3d(const TVector3 &, const Double_t *) const
Definition
FemtoSourceDensity.h:52
Hal::FemtoSourceDensity::operator=
FemtoSourceDensity & operator=(const FemtoSourceDensity &other)
Definition
FemtoSourceDensity.cxx:29
Hal::FemtoSourceDensity::SetBaseParameters
virtual void SetBaseParameters(const Double_t *params)
Definition
FemtoSourceDensity.cxx:42
Hal::FemtoSourceDensity::GetProbDensity1d
virtual Double_t GetProbDensity1d(const Double_t, const Double_t *) const
Definition
FemtoSourceDensity.h:60
Hal::FemtoSourceDensity::IsAna1d
Bool_t IsAna1d() const
Definition
FemtoSourceDensity.h:79
Hal::FemtoSourceDensity::IsAna3d
Bool_t IsAna3d() const
Definition
FemtoSourceDensity.h:84
Hal::FemtoSourceDensity::GetRelativeProbDensity1d
virtual Double_t GetRelativeProbDensity1d(const Double_t r, const Double_t *params) const
Definition
FemtoSourceDensity.cxx:52
Hal
Definition
EventAnaChain.cxx:28
analysis
femto
base
source_models
FemtoSourceDensity.h
Generated on Wed Oct 23 2024 15:07:50 for Heavy ion Analysis Libriares by
1.12.0