npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
ntupleStats.hh File Reference

Convenience functions for calculating ntuple means and covariances. More...

Go to the source code of this file.

Namespaces

 npstat
 

Functions

template<typename Numeric >
void npstat::ntupleMean (const AbsNtuple< Numeric > &nt, double *mean, const unsigned long lengthMean)
 
template<typename Numeric , class WeightCalc >
void npstat::ntupleWeightedMean (const AbsNtuple< Numeric > &nt, const WeightCalc &wcalc, double *mean, const unsigned long lengthMean)
 
template<typename Numeric >
Matrix< double > npstat::ntupleCovariance (const AbsNtuple< Numeric > &nt)
 
template<typename Numeric , class WeightCalc >
Matrix< double > npstat::ntupleWeightedCovariance (const AbsNtuple< Numeric > &nt, const WeightCalc &wcalc)
 

Detailed Description

Convenience functions for calculating ntuple means and covariances.

Author: I. Volobouev

October 2022