Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:10:25

0001 // @(#)root/minuit2:$Id$
0002 // Authors: M. Winkler, F. James, L. Moneta, A. Zsenei, E.G.P. Bos   2003-2017
0003 
0004 /**********************************************************************
0005  *                                                                    *
0006  * Copyright (c) 2005 LCG ROOT Math team,  CERN/PH-SFT                *
0007  *                                                                    *
0008  **********************************************************************/
0009 
0010 // Project   : LCG
0011 // Package   : Minuit
0012 // Author    : Lorenzo.MONETA@cern.ch
0013 // Created by: moneta  at Thu Apr  8 10:26:22 2004
0014 
0015 #ifndef ROOT_Minuit2_SqrtLowParameterTransformation
0016 #define ROOT_Minuit2_SqrtLowParameterTransformation
0017 
0018 namespace ROOT {
0019 
0020 namespace Minuit2 {
0021 
0022 class MnMachinePrecision;
0023 
0024 /**
0025  * Transformation from external to internal Parameter based on  sqrt(1 + x**2)
0026  *
0027  * This transformation applies for the case of single side Lower Parameter limits
0028  */
0029 
0030 class SqrtLowParameterTransformation /* : public ParameterTransformation */ {
0031 
0032 public:
0033    SqrtLowParameterTransformation() {}
0034 
0035    ~SqrtLowParameterTransformation() {}
0036 
0037    // transformation from internal to external
0038    long double Int2ext(long double Value, long double Lower) const;
0039 
0040    // transformation from external to internal
0041    long double Ext2int(long double Value, long double Lower, const MnMachinePrecision &) const;
0042 
0043    // derivative of transformation from internal to external
0044    long double DInt2Ext(long double Value, long double Lower) const;
0045 
0046 private:
0047 };
0048 
0049 } // namespace Minuit2
0050 
0051 } // namespace ROOT
0052 
0053 #endif