CMS 3D CMS Logo

Classes | Namespaces | Functions
HistoND.h File Reference

Arbitrary-dimensional histogram template. More...

#include "JetMETCorrections/InterpolationTables/interface/ArrayND.h"
#include "JetMETCorrections/InterpolationTables/interface/HistoAxis.h"
#include <cassert>
#include "JetMETCorrections/InterpolationTables/interface/NpstatException.h"
#include <sstream>
#include <climits>
#include <algorithm>
#include "Alignment/Geners/interface/CPP11_auto_ptr.hh"
#include "Alignment/Geners/interface/binaryIO.hh"

Go to the source code of this file.

Classes

class  npstat::HistoND< Numeric, Axis >
 

Namespaces

 npstat
 
 npstat::Private
 

Functions

template<class Axis >
std::vector< Axis > npstat::Private::addAxis (const std::vector< Axis > &axes, const Axis &newAxis, const unsigned newAxisNumber)
 
template<class Axis >
std::vector< Axis > npstat::Private::axesOfASlice (const std::vector< Axis > &axes, const unsigned *fixedIndices, const unsigned nFixedIndices)
 
template<typename Histo >
void npstat::convertHistoToDensity (Histo *histogram, bool knownNonNegative=false)
 
template<typename Histo >
std::vector< CircularMapper1d > npstat::convolutionHistoMap (const Histo &histo, bool doubleDataRange)
 
template<typename Histo >
std::vector< LinearMapper1d > npstat::densityScanHistoMap (const Histo &histo)
 
void npstat::Private::h_badargs (const char *method)
 
template<class Axis >
ArrayShape npstat::Private::makeHistoShape (const Axis &xAxis)
 
template<class Axis >
ArrayShape npstat::Private::makeHistoShape (const Axis &xAxis, const Axis &yAxis)
 
template<class Axis >
ArrayShape npstat::Private::makeHistoShape (const Axis &xAxis, const Axis &yAxis, const Axis &zAxis)
 
template<class Axis >
ArrayShape npstat::Private::makeHistoShape (const Axis &xAxis, const Axis &yAxis, const Axis &zAxis, const Axis &tAxis)
 
template<class Axis >
ArrayShape npstat::Private::makeHistoShape (const Axis &xAxis, const Axis &yAxis, const Axis &zAxis, const Axis &tAxis, const Axis &vAxis)
 
template<class Axis >
ArrayShape npstat::Private::makeHistoShape (const std::vector< Axis > &axes)
 
template<class Axis >
std::vector< Axis > npstat::Private::rebinAxes (const std::vector< Axis > &axes, const unsigned *newBins, const unsigned lenNewBins)
 
template<class Axis >
ArrayShape npstat::Private::shapeOfASlice (const std::vector< Axis > &axes, const unsigned *fixedIndices, const unsigned nFixedIndices)
 
template<class Axis >
ArrayShape npstat::Private::shapeWithExtraAxis (const std::vector< Axis > &axes, const Axis &newAxis, const unsigned newAxisNumber)
 

Detailed Description

Arbitrary-dimensional histogram template.

Author: I. Volobouev

July 2010

Definition in file HistoND.h.