CMS 3D CMS Logo

CaloValidationStatistics.h File Reference

#include <string>
#include <iosfwd>

Go to the source code of this file.

Classes

class  CaloValidationStatistics
 For validation purposes. More...

Functions

std::ostream & operator<< (std::ostream &os, const CaloValidationStatistics &stat)


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CaloValidationStatistics stat 
)

Definition at line 50 of file CaloValidationStatistics.cc.

References CaloValidationStatistics::expectedMean(), CaloValidationStatistics::expectedRMS(), CaloValidationStatistics::mean(), CaloValidationStatistics::name(), CaloValidationStatistics::nEntries(), and CaloValidationStatistics::RMS().

00050                                                                               {
00051   os << "OVAL " << stat.name() << " entries:" << stat.nEntries();
00052   if(stat.nEntries() > 0) {
00053      os << " Mean: " << stat.mean() 
00054         << " (expect " << stat.expectedMean() << ")";
00055   }
00056   if(stat.nEntries() > 1) {      
00057                  os << "  RMS: " << stat.RMS()
00058         << " (expect " << stat.expectedRMS() << ")";
00059   }
00060   return os;
00061 }


Generated on Tue Jun 9 17:55:42 2009 for CMSSW by  doxygen 1.5.4