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.

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 }

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

AutocorrelationAnalyzer::calculate
void calculate()
Definition: AutocorrelationAnalyzer.cc:34
AutocorrelationAnalyzer::theMeans
CLHEP::HepVector theMeans
Definition: AutocorrelationAnalyzer.h:42
AutocorrelationAnalyzer::theCorrelations
CLHEP::HepSymMatrix theCorrelations
Definition: AutocorrelationAnalyzer.h:44
AutocorrelationAnalyzer::theCovariances
CLHEP::HepSymMatrix theCovariances
Definition: AutocorrelationAnalyzer.h:43