All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
Var.cxx File Reference
#include "sbnana/CAFAna/Core/Var.h"
#include <algorithm>
#include <cmath>
#include <map>
#include <set>

Go to the source code of this file.

Classes

class  ana::Var2DFunc< T >
 Helper for Var2D. More...
 
class  ana::Var3DFunc< T >
 Helper for Var3D. More...
 

Namespaces

 ana
 Oscillation analysis framework, runs over CAF files outside of ART.
 

Functions

template<class T >
_Var< T > ana::Var2D (const _Var< T > &a, const Binning &binsa, const _Var< T > &b, const Binning &binsb)
 Variable formed from two input variables. More...
 
template<class T >
_Var< T > ana::Var2D (const _Var< T > &a, int na, double a0, double a1, const _Var< T > &b, int nb, double b0, double b1)
 Variable formed from two input variables. More...
 
template Var ana::Var2D (const Var &, const Binning &, const Var &, const Binning &)
 
template Var ana::Var2D (const Var &, int, double, double, const Var &, int, double, double)
 
template<class T >
_Var< T > ana::Var3D (const _Var< T > &a, const Binning &binsa, const _Var< T > &b, const Binning &binsb, const _Var< T > &c, const Binning &binsc)
 This is just like a Var2D, but useful for 3D Spectra. More...
 
template<class T >
_Var< T > ana::Var3D (const _Var< T > &a, int na, double a0, double a1, const _Var< T > &b, int nb, double b0, double b1, const _Var< T > &c, int nc, double c0, double c1)
 This is just like a Var2D, but useful for 3D Spectra. More...
 
template Var ana::Var3D (const Var &, const Binning &, const Var &, const Binning &, const Var &, const Binning &)
 
template Var ana::Var3D (const Var &, int, double, double, const Var &, int, double, double, const Var &, int, double, double)
 
Var ana::Scaled (const Var &v, double s)
 Use to rescale another variable. More...
 
Var ana::Constant (double c)
 Use to weight events up and down by some factor. More...
 
Var ana::Sqrt (const Var &v)
 Use to take sqrt of a var. More...
 
template<class T >
_Var< T > ana::operator* (const _Var< T > &a, const _Var< T > &b)
 
template<class T >
_Var< T > ana::operator/ (const _Var< T > &a, const _Var< T > &b)
 
template<class T >
_Var< T > ana::operator+ (const _Var< T > &a, const _Var< T > &b)
 
template<class T >
_Var< T > ana::operator- (const _Var< T > &a, const _Var< T > &b)
 
template Var ana::operator* (const Var &, const Var &)
 
template Var ana::operator/ (const Var &, const Var &)
 
template Var ana::operator+ (const Var &, const Var &)
 
template Var ana::operator- (const Var &, const Var &)