CMS 3D CMS Logo

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

◆ operator<<()

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

Definition at line 51 of file AutocorrelationAnalyzer.cc.

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

51  {
52  aa.calculate();
53  os << "Means: " << std::endl << aa.theMeans << std::endl;
54  os << "Covariances: " << std::endl << aa.theCovariances << std::endl;
55  os << "Correlations: " << std::endl << aa.theCorrelations << std::endl;
56  return os;
57 }
CLHEP::HepSymMatrix theCorrelations
CLHEP::HepSymMatrix theCovariances