13 #ifndef ROOT_Math_TDataPoint 14 #define ROOT_Math_TDataPoint 26 template<
unsigned int K,
typename _val_type =
float>
37 template<
typename _coord_typ>
38 TDataPoint(
const _coord_typ* pData,_val_type fWeight = 1);
42 template<
typename _val>
70 #endif // ROOT_Math_TDataPoint
TDataPoint< 2, Float_t > TDataPoint2F
TDataPoint< 2, Double_t > TDataPoint2D
Bool_t Less(TDataPoint &rPoint, unsigned int iAxis) const
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
TDataPoint< 1, Double_t > TDataPoint1D
value_type GetWeight() const
TDataPoint< 3, Double_t > TDataPoint3D
TDataPoint< 1, Float_t > TDataPoint1F
value_type GetCoordinate(unsigned int iAxis) const
void SetCoordinate(unsigned int iAxis, _val_type fValue)
void SetWeight(float fWeight)
Namespace for new Math classes and functions.
static UInt_t Dimension()
value_type m_vCoordinates[K]
value_type Distance(const TDataPoint< K, _val > &rPoint) const
TDataPoint< 3, Float_t > TDataPoint3F