Go to the documentation of this file.
22 while (minFunction * maxFunction > 0.0 && iter++ <
fNIteration) {
27 if (minFunction * maxFunction > 0.0) {
28 edm::LogError(
"StrangePotential") <<
"CalculateStrangePotential: minFunction*maxFunction is positive!";
37 if (!theSolver->
Brent(*
this))
38 edm::LogError(
"StrangePotential") <<
"CalculateStrangePotential: the root is not found!";
40 double strangePotential = theSolver->
GetRoot();
42 return strangePotential;
void SetStrangePotential(double value)
bool Brent(Function &theFunction)
double fMaxStrangePotential
double fMinStrangePotential
double operator()(const double strangePotential)
double GetRoot(void) const
void SetTemperature(double value)
double CalculateStrangeDensity(const double strangePotential)
Log< level::Error, false > LogError
void SetIntervalLimits(const double Limit1, const double Limit2)
double StrangenessDensity(DatabasePDG *database)
void SetBaryonPotential(double value)
double CalculateStrangePotential()