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   2003-2005
0003 
0004 /**********************************************************************
0005  *                                                                    *
0006  * Copyright (c) 2005 LCG ROOT Math team,  CERN/PH-SFT                *
0007  *                                                                    *
0008  **********************************************************************/
0009 
0010 #ifndef ROOT_Minuit2_MnPosDef
0011 #define ROOT_Minuit2_MnPosDef
0012 
0013 namespace ROOT {
0014 
0015 namespace Minuit2 {
0016 
0017 class MinimumState;
0018 class MinimumError;
0019 class MnMachinePrecision;
0020 
0021 /**
0022    Force the covariance matrix to be positive defined
0023    by adding extra terms in the diagonal
0024  */
0025 class MnPosDef {
0026 
0027 public:
0028    MnPosDef() {}
0029 
0030    ~MnPosDef() {}
0031 
0032    MinimumState operator()(const MinimumState &, const MnMachinePrecision &) const;
0033    MinimumError operator()(const MinimumError &, const MnMachinePrecision &) const;
0034 
0035 private:
0036 };
0037 
0038 } // namespace Minuit2
0039 
0040 } // namespace ROOT
0041 
0042 #endif // ROOT_Minuit2_MnPosDef