yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis 2.0.0
Counter.h File Reference
#include "YODA/AnalysisObject.h"
#include "YODA/Fillable.h"
#include "YODA/Dbn.h"
#include "YODA/Point.h"
#include "YODA/Estimate0D.h"
#include "YODA/Scatter.h"
#include "YODA/Exceptions.h"
#include <vector>
#include <string>
#include <map>
#include <tuple>
#include <memory>

Go to the source code of this file.

Classes

class  YODA::Counter
 A weighted counter. More...
 

Namespaces

namespace  YODA
 Anonymous namespace to limit visibility.
 

Functions

Combining counters: global operators
Counter YODA::operator+ (Counter first, const Counter &second)
 Add two counters.
 
Counter YODA::operator+ (Counter first, Counter &&second)
 Add two counters.
 
Counter YODA::operator- (Counter first, const Counter &second)
 Subtract two counters.
 
Counter YODA::operator- (Counter first, Counter &&second)
 Subtract two counters.
 
Estimate0D YODA::divide (const Counter &numer, const Counter &denom)
 Divide two counters, with an uncorrelated error treatment.
 
Estimate0D YODA::operator/ (const Counter &numer, const Counter &denom)
 Divide two Counter objects.
 
Estimate0D YODA::operator/ (Counter &&numer, const Counter &denom)
 Divide two Counter objects.
 
Estimate0D YODA::operator/ (const Counter &numer, Counter &&denom)
 Divide two Counter objects.
 
Estimate0D YODA::operator/ (Counter &&numer, Counter &&denom)
 Divide two Counter objects.
 
Estimate0D YODA::efficiency (const Counter &accepted, const Counter &total)
 Calculate an efficiency ratio of two counters.