Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Classes | Functions
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.

51 { return sv*d; }

◆ 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 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
hist_file_dump.d
d
Definition: hist_file_dump.py:143
LArCellConditions.sv
bool sv
Definition: LArCellConditions.py:45