yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis 2.0.2
Scatter.h File Reference
#include "YODA/AnalysisObject.h"
#include "YODA/Point.h"
#include "YODA/Transformation.h"
#include "YODA/Utils/Traits.h"
#include "YODA/Utils/sortedvector.h"
#include "YODA/Utils/ndarray.h"
#include <vector>
#include <set>
#include <string>
#include <utility>
#include <memory>

Go to the source code of this file.

Classes

class  YODA::Scatter
 A base class for common operations on scatter types (Scatter1D, etc.) More...
 
class  YODA::ScatterND< N >
 A generic data type which is just a collection of n-dim data points with errors. More...
 

Namespaces

namespace  YODA
 Anonymous namespace to limit visibility.
 

Typedefs

User friendly aliases
using YODA::Scatter1D = ScatterND< 1 >
 
using YODA::Scatter2D = ScatterND< 2 >
 
using YODA::Scatter3D = ScatterND< 3 >
 
using YODA::Scatter4D = ScatterND< 4 >
 
using YODA::S1D = Scatter1D
 
using YODA::S2D = Scatter2D
 
using YODA::S3D = Scatter3D
 
using YODA::S4D = Scatter4D
 

Functions

Combining scatters by merging sets of points
template<int N>
ScatterND< N > YODA::combine (ScatterND< N > a, const ScatterND< N > &b)
 
template<int N>
ScatterND< N > YODA::combine (ScatterND< N > a, ScatterND< N > &&b)
 
template<int N>
ScatterND< N > YODA::combine (const std::vector< ScatterND< N > > &scatters)
 
template<int N>
ScatterND< N > YODA::combine (std::vector< ScatterND< N > > &&scatters)
 
Generalised transformations
template<size_t N>
void YODA::transform (ScatterND< N > &s, const Trf< N > &fn, const size_t i)
 
template<size_t N, typename FN >
void YODA::transform (ScatterND< N > &s, const FN &fn, const size_t i)
 
template<size_t N, typename FN >
void YODA::transformX (ScatterND< N > &s, const FN &fn)
 
template<size_t N, typename FN >
void YODA::transformY (ScatterND< N > &s, const FN &fn)
 
template<size_t N, typename FN >
void YODA::transformZ (ScatterND< N > &s, const FN &fn)