Back to home page

EIC code displayed by LXR

 
 

    


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

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_MnGlobalCorrelationCoeff
0011 #define ROOT_Minuit2_MnGlobalCorrelationCoeff
0012 
0013 #include "Minuit2/MnConfig.h"
0014 #include "Minuit2/MnMatrix.h"
0015 
0016 #include <vector>
0017 
0018 namespace ROOT {
0019 
0020 namespace Minuit2 {
0021 
0022 /**
0023    class for global correlation coefficient
0024  */
0025 class MnGlobalCorrelationCoeff {
0026 
0027 public:
0028    MnGlobalCorrelationCoeff() : fGlobalCC(std::vector<double>()), fValid(false) {}
0029 
0030    MnGlobalCorrelationCoeff(const MnAlgebraicSymMatrix &);
0031 
0032    ~MnGlobalCorrelationCoeff() {}
0033 
0034    const std::vector<double> &GlobalCC() const { return fGlobalCC; }
0035 
0036    bool IsValid() const { return fValid; }
0037 
0038 private:
0039    std::vector<double> fGlobalCC;
0040    bool fValid;
0041 };
0042 
0043 } // namespace Minuit2
0044 
0045 } // namespace ROOT
0046 
0047 #endif // ROOT_Minuit2_MnGlobalCorrelationCoeff