Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
GeneratorInterface
Hydjet2Interface
interface
StrangePotential.h
Go to the documentation of this file.
1
/*
2
3
Nikolai Amelin, Ludmila Malinina, Timur Pocheptsov (C) JINR/Dubna
4
amelin@sunhe.jinr.ru, malinina@sunhe.jinr.ru, pocheptsov@sunhe.jinr.ru
5
November. 2, 2005
6
7
*/
8
9
//This class is used to calculate strange potential from
10
//the known initial strange density = 0 at given temperature and baryon potential.
11
12
#ifndef NAStrangePotential_h
13
#define NAStrangePotential_h 1
14
15
#include "
StrangeDensity.h
"
16
#include "
EquationSolver.h
"
17
#include "
DatabasePDG.h
"
18
19
class
NAStrangePotential
{
20
private
:
21
double
fTemperature
;
22
double
fBaryonPotential
;
23
double
fStrangeDensity
;
24
double
fMinStrangePotential
;
//initial min value of strange potential
25
double
fMaxStrangePotential
;
//initial max value of strange potential
26
int
fNIteration
;
//to find proper [minStrangePotential, maxStrangePotential] interval
27
int
fNSolverIteration
;
//to find root in [minStrangePotential,maxStrangePotential] interval
28
double
fTolerance
;
//to find root
29
DatabasePDG
*
fDatabase
;
30
NAStrangeDensity
fGc
;
31
//compute hadron system strange density through strange potential
32
double
CalculateStrangeDensity
(
const
double
strangePotential);
33
//default constructor is not accesible
34
NAStrangePotential
(){};
35
36
public
:
37
NAStrangePotential
(
const
double
initialStrangeDensity,
DatabasePDG
* database)
38
:
fStrangeDensity
(initialStrangeDensity),
39
fMinStrangePotential
(0.0001 *
GeV
),
40
fMaxStrangePotential
(0.9 *
GeV
),
41
fNIteration
(100),
42
fNSolverIteration
(100),
43
fTolerance
(1.
e
-8),
44
fDatabase
(database){};
45
46
~NAStrangePotential
(){};
47
48
double
operator()
(
const
double
strangePotential) {
49
return
(
fStrangeDensity
- this->
CalculateStrangeDensity
(strangePotential)) /
fStrangeDensity
;
50
}
51
52
void
SetTemperature
(
double
value
) {
fTemperature
=
value
; }
53
void
SetBaryonPotential
(
double
value
) {
fBaryonPotential
=
value
; }
54
void
SetMinStrangePotential
(
double
value
) {
fMinStrangePotential
=
value
; }
55
void
SetMaxStrangePotential
(
double
value
) {
fMaxStrangePotential
=
value
; }
56
double
CalculateStrangePotential
();
57
};
58
59
#endif
NAStrangePotential::fDatabase
DatabasePDG * fDatabase
Definition:
StrangePotential.h:29
NAStrangeDensity
Definition:
StrangeDensity.h:23
NAStrangePotential::SetMaxStrangePotential
void SetMaxStrangePotential(double value)
Definition:
StrangePotential.h:55
NAStrangePotential::fNIteration
int fNIteration
Definition:
StrangePotential.h:26
NAStrangePotential::fGc
NAStrangeDensity fGc
Definition:
StrangePotential.h:30
NAStrangePotential::fBaryonPotential
double fBaryonPotential
Definition:
StrangePotential.h:22
NAStrangePotential::SetMinStrangePotential
void SetMinStrangePotential(double value)
Definition:
StrangePotential.h:54
NAStrangePotential::fTolerance
double fTolerance
Definition:
StrangePotential.h:28
NAStrangePotential::fStrangeDensity
double fStrangeDensity
Definition:
StrangePotential.h:23
NAStrangePotential::fNSolverIteration
int fNSolverIteration
Definition:
StrangePotential.h:27
NAStrangePotential::fMaxStrangePotential
double fMaxStrangePotential
Definition:
StrangePotential.h:25
EquationSolver.h
NAStrangePotential::NAStrangePotential
NAStrangePotential(const double initialStrangeDensity, DatabasePDG *database)
Definition:
StrangePotential.h:37
NAStrangePotential::fMinStrangePotential
double fMinStrangePotential
Definition:
StrangePotential.h:24
NAStrangePotential::operator()
double operator()(const double strangePotential)
Definition:
StrangePotential.h:48
NAStrangePotential
Definition:
StrangePotential.h:19
NAStrangePotential::SetBaryonPotential
void SetBaryonPotential(double value)
Definition:
StrangePotential.h:53
GeV
const double GeV
Definition:
MathUtil.h:16
NAStrangePotential::~NAStrangePotential
~NAStrangePotential()
Definition:
StrangePotential.h:46
value
Definition:
value.py:1
NAStrangePotential::CalculateStrangeDensity
double CalculateStrangeDensity(const double strangePotential)
Definition:
StrangePotential.cc:46
StrangeDensity.h
NAStrangePotential::NAStrangePotential
NAStrangePotential()
Definition:
StrangePotential.h:34
relativeConstraints.value
value
Definition:
relativeConstraints.py:53
DatabasePDG
Definition:
DatabasePDG.h:34
NAStrangePotential::SetTemperature
void SetTemperature(double value)
Definition:
StrangePotential.h:52
NAStrangePotential::fTemperature
double fTemperature
Definition:
StrangePotential.h:21
NAStrangePotential::CalculateStrangePotential
double CalculateStrangePotential()
Definition:
StrangePotential.cc:11
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
DatabasePDG.h
Generated for CMSSW Reference Manual by
1.8.16