Belle II Software  release-08-01-10
DISTANCE2DXYSQUARED_NAME< PointType > Class Template Reference

This is the specialization for SpacePoints with returning floats, where value calculates the squared distance between two hits in 2D on the X-Y-plane. More...

#include <Distance2DXYSquared.h>

Inheritance diagram for DISTANCE2DXYSQUARED_NAME< PointType >:
Collaboration diagram for DISTANCE2DXYSQUARED_NAME< PointType >:

Public Types

typedef double variableType
 Type of the returned object. More...
 
typedef PointType argumentType
 Type of the argument object. More...
 
typedef FunctionOf< Nargs, variableType, const argumentType & >::functionType functionType
 Type of the function returning the value. More...
 

Public Member Functions

 PUT_NAME_FUNCTION (DISTANCE2DXYSQUARED_NAME)
 is expanded as "static const std:string name(void)" frunction which returns name of the Class
 

Static Public Member Functions

static double value (const PointType &outerHit, const PointType &innerHit)
 calculates the squared distance between the hits (2D on the X-Y-plane), returning unit: cm^2 for speed optimization
 

Static Public Attributes

static const size_t c_Nargs
 Number of arguments.
 

Detailed Description

template<typename PointType>
class Belle2::DISTANCE2DXYSQUARED_NAME< PointType >

This is the specialization for SpacePoints with returning floats, where value calculates the squared distance between two hits in 2D on the X-Y-plane.

Definition at line 24 of file Distance2DXYSquared.h.

Member Typedef Documentation

◆ argumentType

typedef PointType argumentType
inherited

Type of the argument object.

Needed for SFINAE in Filter.hh

Definition at line 84 of file SelectionVariable.h.

◆ functionType

typedef FunctionOf<Nargs, variableType, const argumentType&>::functionType functionType
inherited

Type of the function returning the value.

Needed for the automated training

Definition at line 88 of file SelectionVariable.h.

◆ variableType

typedef double variableType
inherited

Type of the returned object.

Needed for SFINAE in Filter.hh

Definition at line 81 of file SelectionVariable.h.


The documentation for this class was generated from the following file: