The Gaudi Framework  master (37c0b60a)
Stat.h File Reference
#include <iostream>
#include <string>
#include <GaudiKernel/IStatSvc.h>
#include <GaudiKernel/SmartIF.h>
#include <GaudiKernel/StatEntity.h>
Include dependency graph for Stat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Stat
 

Functions

GAUDI_API Stat operator+ (const Stat &stat, const double value)
 external operator for addition of Stat and a number More...
 
GAUDI_API Stat operator- (const Stat &stat, const double value)
 external operator for subtraction of Stat and a number More...
 
GAUDI_API Stat operator+ (const double value, const Stat &stat)
 external operator for addition of Stat and a number More...
 
GAUDI_API Stat operator+ (const Stat &stat, const Stat &value)
 external operator for addition of Stat and Stat More...
 
GAUDI_API std::ostreamoperator<< (std::ostream &stream, const Stat &stat)
 external printout operator to std::ostream More...
 

Function Documentation

◆ operator+() [1/3]

GAUDI_API Stat operator+ ( const double  value,
const Stat stat 
)

external operator for addition of Stat and a number

Definition at line 129 of file Stat.cpp.

129  {
130  Stat s( stat );
131  s += value;
132  return s;
133 }

◆ operator+() [2/3]

GAUDI_API Stat operator+ ( const Stat stat,
const double  value 
)

external operator for addition of Stat and a number

Definition at line 113 of file Stat.cpp.

113  {
114  Stat s( stat );
115  s += value;
116  return s;
117 }

◆ operator+() [3/3]

GAUDI_API Stat operator+ ( const Stat stat,
const Stat value 
)

external operator for addition of Stat and Stat

Definition at line 136 of file Stat.cpp.

136  {
137  Stat s( stat );
138  s += value;
139  return s;
140 }

◆ operator-()

GAUDI_API Stat operator- ( const Stat stat,
const double  value 
)

external operator for subtraction of Stat and a number

Definition at line 121 of file Stat.cpp.

121  {
122  Stat s( stat );
123  s -= value;
124  return s;
125 }

◆ operator<<()

GAUDI_API std::ostream& operator<< ( std::ostream stream,
const Stat stat 
)

external printout operator to std::ostream

Definition at line 143 of file Stat.cpp.

143 { return stat.print( stream ); }
Stat::print
std::ostream & print(std::ostream &o=std::cout) const
printout to std::ostream
Definition: Stat.cpp:98
Write.stream
stream
Definition: Write.py:32
gaudirun.s
string s
Definition: gaudirun.py:346
Stat
Definition: Stat.h:56