ATLAS Offline Software
Loading...
Searching...
No Matches
StatVal.h File Reference
#include <iostream>
#include <iomanip>
#include <cmath>
Include dependency graph for StatVal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StatVal
 simple struct to hold a value and it's associated uncertainty. More...

Functions

StatVal operator* (double d, const StatVal &sv)
std::ostream & operator<< (std::ostream &s, const StatVal &sv)

Detailed Description

          simple class containing the value and stat error
Author
M.Sutton
Date
Mon Jun 21 18:35:22 BST 2004

Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration

Definition in file StatVal.h.

Function Documentation

◆ operator*()

StatVal operator* ( double d,
const StatVal & sv )
inline

Definition at line 51 of file StatVal.h.

◆ operator<<()

std::ostream & operator<< ( std::ostream & s,
const StatVal & sv )
inline

Definition at line 54 of file StatVal.h.

54 {
55 return s << sv.value << "+-" << sv.error;
56}