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
16
class
TH1D;
17
namespace
Hal
{
18
class
FemtoSourceModelNumerical1D
:
public
FemtoSourceModel1D
{
19
TH1D* fRawDistribution;
20
Double_t ff;
21
std::vector<Double_t> fRandomDistributionX;
22
std::vector<Double_t> fRandomDistributionY;
23
24
public
:
25
FemtoSourceModelNumerical1D
();
26
FemtoSourceModelNumerical1D
(
const
FemtoSourceModelNumerical1D
& other);
27
void
SetRadiusDistribution(
const
TH1D& distribution);
28
FemtoSourceModel
*
MakeCopy
()
const
;
29
void
GenerateCoordinates
(
FemtoPair
* Pair);
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
;
34
virtual
~FemtoSourceModelNumerical1D
();
35
ClassDef(
FemtoSourceModelNumerical1D
, 1)
36
};
37
38
class
FemtoSourceDensityNumerical1D
:
public
FemtoSourceDensity
{
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
;
47
virtual
~FemtoSourceDensityNumerical1D
() {};
48
ClassDef(
FemtoSourceDensityNumerical1D
, 1)
49
};
50
}
// namespace Hal
51
#endif
/* HALFEMTO_ANALYSIS_FEMTO_BASE_SOURCE_MODELS_HALFEMTOSOURCEMODELNUMERICAL1D_H_ */
Hal::FemtoPair
Definition
FemtoPair.h:28
Hal::FemtoSourceDensityNumerical1D
Definition
FemtoSourceModelNumerical1D.h:38
Hal::FemtoSourceDensityNumerical1D::GetProbDensity3d
virtual Double_t GetProbDensity3d(const TVector3 &r, const Double_t *params) const
Definition
FemtoSourceModelNumerical1D.cxx:82
Hal::FemtoSourceDensityNumerical1D::GetProbDensity1d
virtual Double_t GetProbDensity1d(const Double_t r, const Double_t *params) const
Definition
FemtoSourceModelNumerical1D.cxx:77
Hal::FemtoSourceDensity
Definition
FemtoSourceDensity.h:20
Hal::FemtoSourceModel1D
Definition
FemtoSourceModel.h:161
Hal::FemtoSourceModelNumerical1D
Definition
FemtoSourceModelNumerical1D.h:18
Hal::FemtoSourceModelNumerical1D::Report
virtual Package * Report() const
Definition
FemtoSourceModelNumerical1D.cxx:61
Hal::FemtoSourceModelNumerical1D::GenerateCoordinates
void GenerateCoordinates(FemtoPair *Pair)
Definition
FemtoSourceModelNumerical1D.cxx:52
Hal::FemtoSourceModelNumerical1D::MakeCopy
FemtoSourceModel * MakeCopy() const
Definition
FemtoSourceModelNumerical1D.cxx:50
Hal::FemtoSourceModel
Definition
FemtoSourceModel.h:25
Hal::Package
Definition
Package.h:26
Hal
Definition
EventAnaChain.cxx:28
analysis
femto
base
source_models
FemtoSourceModelNumerical1D.h
Generated on Wed Oct 23 2024 15:07:50 for Heavy ion Analysis Libriares by
1.12.0