File indexing completed on 2023-03-17 10:38:38
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef ErrorCorrelation_h
0010 #define ErrorCorrelation_h
0011
0012 #include "Alignment/CocoaUtilities/interface/CocoaGlobals.h"
0013
0014 typedef std::pair<ALIstring, ALIstring> pss;
0015
0016 class ErrorCorrelation {
0017 public:
0018 ErrorCorrelation(const pss& entry1, const pss& entry2, const ALIdouble corr);
0019
0020 void update(const ALIdouble corr);
0021
0022 const pss& getEntry1() const { return theEntry1; }
0023 const pss& getEntry2() const { return theEntry2; }
0024 const ALIdouble getCorrelation() const { return theCorr; }
0025
0026 private:
0027 pss theEntry1;
0028 pss theEntry2;
0029 ALIdouble theCorr;
0030 };
0031
0032 #endif