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

calculates the center of the circle for 3 hits in the XY plane and returns a B2Vector3 with the result (z=0). More...

#include <CircleCenterXY.h>

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

Public Types

typedef B2Vector3< 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

 BELLE2_DEFINE_EXCEPTION (Straight_Line, "The hits are on a straight Line (or indistinguishably near to being on it).")
 this exception is thrown by the CircleFit and occurs when the track is too straight.
 
 PUT_NAME_FUNCTION (CIRCLECENTERXY_NAME)
 is replaced by "static const std:string name(void)" frunction which returns name of the Class
 

Static Public Member Functions

static B2Vector3< double > value (const PointType &a, const PointType &b, const PointType &c)
 calculates an estimation of circleCenter position, result is returned as the x and y value of the B2Vector3.
 
static variableType value (const PointType &arg1, const PointType &arg2)
 Static method that return the variable associated to: More...
 

Static Public Attributes

static const size_t c_Nargs
 Number of arguments.
 

Detailed Description

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

calculates the center of the circle for 3 hits in the XY plane and returns a B2Vector3 with the result (z=0).

WARNING this method throws an exception!

Definition at line 27 of file CircleCenterXY.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 B2Vector3< double > variableType
inherited

Type of the returned object.

Needed for SFINAE in Filter.hh

Definition at line 81 of file SelectionVariable.h.

Member Function Documentation

◆ value()

static variableType value ( const PointType &  arg1,
const PointType &  arg2 
)
inlinestaticinherited

Static method that return the variable associated to:

Parameters
arg1first object of the pair
arg2second object of the pair

N.B. this method must be static.


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