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_SqrtUpParameterTransformation
0016 #define ROOT_Minuit2_SqrtUpParameterTransformation
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 Upper Parameter limits
0028  */
0029 
0030 class SqrtUpParameterTransformation /* : public ParameterTransformation */ {
0031 
0032 public:
0033    // create with user defined precision
0034    SqrtUpParameterTransformation() {}
0035 
0036    ~SqrtUpParameterTransformation() {}
0037 
0038    // transformation from internal to external
0039    long double Int2ext(long double Value, long double Upper) const;
0040 
0041    // transformation from external to internal
0042    long double Ext2int(long double Value, long double Upper, const MnMachinePrecision &) const;
0043 
0044    // derivative of transformation from internal to external
0045    long double DInt2Ext(long double Value, long double Upper) const;
0046 
0047 private:
0048 };
0049 
0050 } // namespace Minuit2
0051 
0052 } // namespace ROOT
0053 
0054 #endif