Namespaces | Classes | Functions
nl Namespace Reference

Namespaces

 timing
 

Classes

class  NearlinePlot
 
class  NearlinePlotter
 A tool to generate ROOT plots in the style of the Nearline. More...
 
class  TimeSeriesData
 A container for time series data typically used in Nearline plotmaking. More...
 

Functions

std::ostream & operator<< (std::ostream &out, const TimeSeriesData &ts)
 

Function Documentation

std::ostream& nl::operator<< ( std::ostream &  out,
const TimeSeriesData ts 
)

Definition at line 89 of file TimeSeriesData.cxx.

References nl::TimeSeriesData::MaxTime(), nl::TimeSeriesData::MaxValue(), nl::TimeSeriesData::MeanValue(), nl::TimeSeriesData::MinTime(), nl::TimeSeriesData::MinValue(), nl::TimeSeriesData::N(), and confusionMatrixTree::out.

90 {
91  out << std::setiosflags(std::ios::fixed) << std::setprecision(2);
92  out << "Time series data at " << ts << " contains " << ts.N() << " entries.";
93  out << "Time span: " << ts.MinTime() << " -- " << ts.MaxTime();
94  out << "Values: MIN=" << ts.MinValue() << ", MAX=" << ts.MaxValue() << ", MEAN=" << ts.MeanValue();
95 
96  return out;
97 }