Logo ROOT   6.16/01
Reference Guide
SqrtUpParameterTransformation.h
Go to the documentation of this file.
1// @(#)root/minuit2:$Id$
2// Authors: M. Winkler, F. James, L. Moneta, A. Zsenei 2003-2005
3
4/**********************************************************************
5 * *
6 * Copyright (c) 2005 LCG ROOT Math team, CERN/PH-SFT *
7 * *
8 **********************************************************************/
9
10// Project : LCG
11// Package : Minuit
12// Author : Lorenzo.MONETA@cern.ch
13// Created by: moneta at Thu Apr 8 10:26:22 2004
14
15
16#ifndef ROOT_Minuit2_SqrtUpParameterTransformation
17#define ROOT_Minuit2_SqrtUpParameterTransformation
18
19
20namespace ROOT {
21
22 namespace Minuit2 {
23
24
25class MnMachinePrecision;
26
27
28/**
29 * Transformation from external to internal Parameter based on sqrt(1 + x**2)
30 *
31 * This transformation applies for the case of single side Upper Parameter limits
32 */
33
34class SqrtUpParameterTransformation /* : public ParameterTransformation */ {
35
36public:
37
38 // create with user defined precision
40
42
43 // transformation from internal to external
44 double Int2ext(double Value, double Upper) const;
45
46 // transformation from external to internal
47 double Ext2int(double Value, double Upper, const MnMachinePrecision&) const;
48
49 // derivative of transformation from internal to external
50 double DInt2Ext(double Value, double Upper) const;
51
52private:
53
54};
55
56 } // namespace Minuit2
57
58} // namespace ROOT
59
60#endif
determines the relative floating point arithmetic precision.
Transformation from external to internal Parameter based on sqrt(1 + x**2)
double DInt2Ext(double Value, double Upper) const
double Ext2int(double Value, double Upper, const MnMachinePrecision &) const
double Int2ext(double Value, double Upper) const
Namespace for new ROOT classes and functions.
Definition: StringConv.hxx:21
const char * Value
Definition: TXMLSetup.cxx:72