Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-18 09:31:46

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 public:
0027    MinimumState operator()(const MinimumState &, const MnMachinePrecision &) const;
0028    MinimumError operator()(const MinimumError &, const MnMachinePrecision &) const;
0029 };
0030 
0031 } // namespace Minuit2
0032 
0033 } // namespace ROOT
0034 
0035 #endif // ROOT_Minuit2_MnPosDef