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 #ifndef ROOT_Minuit2_SinParameterTransformation
0011 #define ROOT_Minuit2_SinParameterTransformation
0012 
0013 namespace ROOT {
0014 
0015 namespace Minuit2 {
0016 
0017 class MnMachinePrecision;
0018 
0019 /**
0020    class for the transformation for double-limited parameter
0021    Using a sin function one goes from a double-limited parameter range to
0022    an unlimited one
0023  */
0024 class SinParameterTransformation {
0025 
0026 public:
0027    SinParameterTransformation() {}
0028 
0029    ~SinParameterTransformation() {}
0030 
0031    long double Int2ext(long double Value, long double Upper, long double Lower) const;
0032    long double Ext2int(long double Value, long double Upper, long double Lower, const MnMachinePrecision &) const;
0033    long double DInt2Ext(long double Value, long double Upper, long double Lower) const;
0034 
0035 private:
0036 };
0037 
0038 } // namespace Minuit2
0039 
0040 } // namespace ROOT
0041 
0042 #endif // ROOT_Minuit2_SinParameterTransformation