test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
AutocorrelationAnalyzer.cc File Reference
#include "CommonTools/Statistics/interface/AutocorrelationAnalyzer.h"
#include <iostream>
#include <cassert>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, AutocorrelationAnalyzer &aa)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
AutocorrelationAnalyzer aa 
)

Definition at line 65 of file AutocorrelationAnalyzer.cc.

References AutocorrelationAnalyzer::calculate(), AutocorrelationAnalyzer::theCorrelations, AutocorrelationAnalyzer::theCovariances, and AutocorrelationAnalyzer::theMeans.

66 {
67  aa.calculate();
68  os << "Means: " << std::endl << aa.theMeans << std::endl;
69  os << "Covariances: " << std::endl << aa.theCovariances << std::endl;
70  os << "Correlations: " << std::endl << aa.theCorrelations << std::endl;
71  return os;
72 }
CLHEP::HepSymMatrix theCorrelations
CLHEP::HepSymMatrix theCovariances