CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ErrorCorrelation.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: ErrorCorrelation.h
3 //CAT: Model
4 //
5 // Error correlation: contains first and second entry and correlation value
6 //
7 // History: v1.0 29/01/02 Pedro Arce
8 
9 #ifndef ErrorCorrelation_h
10 #define ErrorCorrelation_h
11 
13 
14 typedef std::pair<ALIstring, ALIstring> pss;
15 
17 
18  public:
19  ErrorCorrelation( const pss& entry1, const pss& entry2, const ALIdouble corr );
20 
21  void update( const ALIdouble corr );
22 
23  const pss& getEntry1() const {
24  return theEntry1; }
25  const pss& getEntry2() const {
26  return theEntry2; }
27  const ALIdouble getCorrelation() const {
28  return theCorr; }
29 
30  private:
34 
35 };
36 
37 #endif
long double ALIdouble
Definition: CocoaGlobals.h:11
std::pair< ALIstring, ALIstring > pss
Definition: Fit.h:27
void update(const ALIdouble corr)
ErrorCorrelation(const pss &entry1, const pss &entry2, const ALIdouble corr)
const pss & getEntry1() const
const ALIdouble getCorrelation() const
JetCorrectorParameters corr
Definition: classes.h:9
const pss & getEntry2() const