| 1 | // @(#)root/minuit2:$Id$cxx . . $ `<file>/extern/root/math/minuit2/inc/Minuit2/SqrtUpParameterTransformation.h`/ |
| 2 | // Authors: M. Winkler, F. James, L. Moneta, A. Zsenei, E.G.P. Bos 2003-2017 |
| 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 : [email protected] |
| 13 | // Created by: moneta at Thu Apr 8 10:26:22 2004 |
| 14 | |
| 15 | #ifndef ROOT_Minuit2_SqrtUpParameterTransformation |
| 16 | #define ROOT_Minuit2_SqrtUpParameterTransformationcxx . . $ `extern/root/math/minuit2/inc/Minuit2/SqrtUpParameterTransformation.h:16:9`! |
| 17 | |
| 18 | namespace ROOTcxx . . $ ROOT/ { |
| 19 | |
| 20 | namespace Minuit2cxx . . $ ROOT/Minuit2/ { |
| 21 | |
| 22 | class MnMachinePrecisioncxx . . $ ROOT/Minuit2/MnMachinePrecision#; |
| 23 | |
| 24 | /** |
| 25 | * Transformation from external to internal Parameter based on sqrt(1 + x**2) |
| 26 | * |
| 27 | * This transformation applies for the case of single side Upper Parameter limits |
| 28 | */ |
| 29 | |
| 30 | class SqrtUpParameterTransformationcxx . . $ ROOT/Minuit2/SqrtUpParameterTransformation# /* : public ParameterTransformation */ { |
| 31 | |
| 32 | public: |
| 33 | // create with user defined precision |
| 34 | SqrtUpParameterTransformationcxx . . $ ROOT/Minuit2/SqrtUpParameterTransformation#SqrtUpParameterTransformation(49f6e7a06ebc5aa8).() {} |
| 35 | |
| 36 | ~cxx . . $ ROOT/Minuit2/SqrtUpParameterTransformation#`~SqrtUpParameterTransformation`(49f6e7a06ebc5aa8).SqrtUpParameterTransformationcxx . . $ ROOT/Minuit2/SqrtUpParameterTransformation#() {} |
| 37 | |
| 38 | // transformation from internal to external |
| 39 | long double Int2extcxx . . $ ROOT/Minuit2/SqrtUpParameterTransformation#Int2ext(f643d386b0747e9a).(long double Value, long double Upper) const; |
| 40 | |
| 41 | // transformation from external to internal |
| 42 | long double Ext2intcxx . . $ ROOT/Minuit2/SqrtUpParameterTransformation#Ext2int(16b0d281a116d457).(long double Value, long double Upper, const MnMachinePrecisioncxx . . $ ROOT/Minuit2/MnMachinePrecision# &) const; |
| 43 | |
| 44 | // derivative of transformation from internal to external |
| 45 | long double DInt2Extcxx . . $ ROOT/Minuit2/SqrtUpParameterTransformation#DInt2Ext(f643d386b0747e9a).(long double Value, long double Upper) const; |
| 46 | |
| 47 | private: |
| 48 | }; |
| 49 | |
| 50 | } // namespace Minuit2 |
| 51 | |
| 52 | } // namespace ROOT |
| 53 | |
| 54 | #endif |