The Gaudi Framework  v36r1 (3e2fb5a8)
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 125 of file Stat.cpp.

125  {
126  Stat s( stat );
127  s += value;
128  return s;
129 }

◆ 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 109 of file Stat.cpp.

109  {
110  Stat s( stat );
111  s += value;
112  return s;
113 }

◆ operator+() [3/3]

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

external operator for addition of Stat and Stat

Definition at line 132 of file Stat.cpp.

132  {
133  Stat s( stat );
134  s += value;
135  return s;
136 }

◆ operator-()

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

external operator for subtraction of Stat and a number

Definition at line 117 of file Stat.cpp.

117  {
118  Stat s( stat );
119  s -= value;
120  return s;
121 }

◆ operator<<()

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

external printout operator to std::ostream

Definition at line 139 of file Stat.cpp.

139 { return stat.print( stream ); }
Stat::print
std::ostream & print(std::ostream &o=std::cout) const
printout to std::ostream
Definition: Stat.cpp:94
Write.stream
stream
Definition: Write.py:31
gaudirun.s
string s
Definition: gaudirun.py:328
Stat
Definition: Stat.h:56