Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::FemtoSourceModel Class Referenceabstract

#include <FemtoSourceModel.h>

Inheritance diagram for Hal::FemtoSourceModel:
Hal::FemtoSourceModel1D Hal::FemtoSourceModel3D Hal::FemtoSourceModelExp1D Hal::FemtoSourceModelGauss1D Hal::FemtoSourceModelNumerical1D Hal::FemtoSourceModelGausMt Hal::FemtoSourceModelGauss3D Hal::FemtoSourceModelGauss3DCross Hal::FemtoSourceModelNumericalPseudo3d

Public Types

enum class  ENumProperty { kNonAnalytical , kAnalytical1d , kAnalytical3d , kFullyAnalytical }
 

Public Member Functions

 FemtoSourceModel (Int_t nparams=1)
 
 FemtoSourceModel (const FemtoSourceModel &model)
 
Double_t GetROut () const
 
Double_t GetRSide () const
 
Double_t GetRLong () const
 
void SetSeed (UInt_t seed)
 
void SetParameter (Int_t par_no, Double_t par_val)
 
void SetParameterByName (TString name, Double_t par)
 
virtual void GenerateCoordinates (FemtoPair *Pair)=0
 
virtual void SetRadius (Double_t)
 
Int_t GetNpar () const
 
TString GetParamName (Int_t n) const
 
Double_t GetParameter (Int_t n) const
 
virtual Bool_t Init ()
 
virtual void Print (Option_t *option="") const
 
virtual FemtoSourceModelMakeCopy () const =0
 
FemtoSourceDensityGetDensityProb () const
 
ENumProperty GetModelNumProp () const
 
virtual PackageReport () const
 

Protected Member Functions

void SetParName (Int_t no, TString name)
 

Protected Attributes

TRandom * fRandom = {nullptr}
 
FemtoSourceDensityfDensity = {nullptr}
 
Double_t fRout
 
Double_t fRside
 
Double_t fRlong
 
TString fModelName
 

Detailed Description

basic class for all source models

Definition at line 25 of file FemtoSourceModel.h.

Member Enumeration Documentation

◆ ENumProperty

enum class Hal::FemtoSourceModel::ENumProperty
strong

Definition at line 64 of file FemtoSourceModel.h.

Constructor & Destructor Documentation

◆ FemtoSourceModel() [1/2]

Hal::FemtoSourceModel::FemtoSourceModel ( Int_t nparams = 1)

default ctor

Definition at line 33 of file FemtoSourceModel.cxx.

◆ FemtoSourceModel() [2/2]

Hal::FemtoSourceModel::FemtoSourceModel ( const FemtoSourceModel & model)

copy ctor

Parameters
model

Definition at line 39 of file FemtoSourceModel.cxx.

◆ ~FemtoSourceModel()

Hal::FemtoSourceModel::~FemtoSourceModel ( )
virtual

Definition at line 88 of file FemtoSourceModel.cxx.

Member Function Documentation

◆ GenerateCoordinates()

◆ GetDensityProb()

FemtoSourceDensity * Hal::FemtoSourceModel::GetDensityProb ( ) const
inline
Returns
class that calculates the source emission function density

Definition at line 144 of file FemtoSourceModel.h.

◆ GetModelNumProp()

FemtoSourceModel::ENumProperty Hal::FemtoSourceModel::GetModelNumProp ( ) const
Returns
type of model, this define if probability density might be calculated fast

Definition at line 80 of file FemtoSourceModel.cxx.

◆ GetNpar()

Int_t Hal::FemtoSourceModel::GetNpar ( ) const
inline
Returns
number of parameters

Definition at line 120 of file FemtoSourceModel.h.

◆ GetParameter()

Double_t Hal::FemtoSourceModel::GetParameter ( Int_t n) const
inline

return value of parameter with numer N

Parameters
n
Returns

Definition at line 132 of file FemtoSourceModel.h.

◆ GetParamName()

TString Hal::FemtoSourceModel::GetParamName ( Int_t n) const
Parameters
n
Returns
name of n-th parameter

Definition at line 65 of file FemtoSourceModel.cxx.

◆ GetRLong()

Double_t Hal::FemtoSourceModel::GetRLong ( ) const
inline
Returns
generated long out radius

Definition at line 88 of file FemtoSourceModel.h.

◆ GetROut()

Double_t Hal::FemtoSourceModel::GetROut ( ) const
inline
Returns
generated out radius

Definition at line 78 of file FemtoSourceModel.h.

◆ GetRSide()

Double_t Hal::FemtoSourceModel::GetRSide ( ) const
inline
Returns
generated out radius

Definition at line 83 of file FemtoSourceModel.h.

◆ Init()

virtual Bool_t Hal::FemtoSourceModel::Init ( )
inlinevirtual

Reimplemented in Hal::FemtoSourceModelGauss3DCross.

Definition at line 133 of file FemtoSourceModel.h.

◆ MakeCopy()

◆ Print()

void Hal::FemtoSourceModel::Print ( Option_t * option = "") const
virtual

Definition at line 132 of file FemtoSourceModel.cxx.

◆ Report()

Package * Hal::FemtoSourceModel::Report ( ) const
virtual

create package with report

Returns
package with report

Reimplemented in Hal::FemtoSourceModelGausMt, and Hal::FemtoSourceModelNumerical1D.

Definition at line 56 of file FemtoSourceModel.cxx.

◆ SetParameter()

void Hal::FemtoSourceModel::SetParameter ( Int_t par_no,
Double_t par_val )
inline

se

Parameters
par_noparameter number
par_valvalue of parameter

Definition at line 99 of file FemtoSourceModel.h.

◆ SetParameterByName()

void Hal::FemtoSourceModel::SetParameterByName ( TString name,
Double_t par )

set value of parameter

Parameters
name
par

Definition at line 71 of file FemtoSourceModel.cxx.

◆ SetParName()

void Hal::FemtoSourceModel::SetParName ( Int_t no,
TString name )
inlineprotected

Definition at line 61 of file FemtoSourceModel.h.

◆ SetRadius()

virtual void Hal::FemtoSourceModel::SetRadius ( Double_t )
inlinevirtual

set 1-dim radius, if source is 3D that each radii componet will be scaled by 1/sqrt(3) (e.g. r_out = radii/sqrt(3)

Parameters
radii

Reimplemented in Hal::FemtoSourceModel1D, and Hal::FemtoSourceModel3D.

Definition at line 115 of file FemtoSourceModel.h.

◆ SetSeed()

void Hal::FemtoSourceModel::SetSeed ( UInt_t seed)
inline

set generator seed

Parameters
seed

Definition at line 93 of file FemtoSourceModel.h.

Member Data Documentation

◆ fDensity

FemtoSourceDensity* Hal::FemtoSourceModel::fDensity = {nullptr}
protected

stores information about source model density

Definition at line 44 of file FemtoSourceModel.h.

◆ fModelName

TString Hal::FemtoSourceModel::fModelName
protected

name of this model

Definition at line 60 of file FemtoSourceModel.h.

◆ fRandom

TRandom* Hal::FemtoSourceModel::fRandom = {nullptr}
protected

used for generating random coordinates

Definition at line 40 of file FemtoSourceModel.h.

◆ fRlong

Double_t Hal::FemtoSourceModel::fRlong
protected

current long radius

Definition at line 56 of file FemtoSourceModel.h.

◆ fRout

Double_t Hal::FemtoSourceModel::fRout
protected

current out-radius

Definition at line 48 of file FemtoSourceModel.h.

◆ fRside

Double_t Hal::FemtoSourceModel::fRside
protected

current side radius

Definition at line 52 of file FemtoSourceModel.h.


The documentation for this class was generated from the following files: