yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis 2.0.0
Weights.h File Reference
#include "YODA/Exceptions.h"
#include <vector>
#include <string>
#include <map>
#include <ostream>

Go to the source code of this file.

Classes

class  YODA::Weights
 A named, vectorised generalisation of an event weight. More...
 

Namespaces

namespace  YODA
 Anonymous namespace to limit visibility.
 

Functions

std::ostream & YODA::operator<< (std::ostream &out, const Weights &w)
 Standard text representaion.
 
Combining weights: global operators
Weights YODA::operator+ (const Weights &first, const Weights &second)
 Add two weights.
 
Weights YODA::operator- (const Weights &first, const Weights &second)
 Subtract two weights.
 
Weights YODA::operator* (const Weights &first, const Weights &second)
 Multiply two weights.
 
Weights YODA::operator/ (const Weights &numer, const Weights &denom)
 Divide two weights.
 
Weights YODA::operator* (double a, const Weights &w)
 Multiply by a double.
 
Weights YODA::operator* (const Weights &w, double a)
 Multiply by a double.
 
Weights YODA::operator/ (const Weights &w, double a)
 Divide by a double.
 
Weights YODA::operator/ (double a, const Weights &w)