Belle II Software development
TestSpacePoint Struct Reference

Helper struct for SpacePoint Tests. More...

#include <TestSpacePoint.h>

Public Member Functions

 TestSpacePoint (double x, double y, double z)
 Constructor.
 
double X () const
 Getter for x.
 
double Y () const
 Getter for y.
 
double Z () const
 Getter for z.
 

Public Attributes

double x
 x coordiante of the SP
 
double y
 y coordiante of the SP
 
double z
 z coordiante of the SP
 

Detailed Description

Helper struct for SpacePoint Tests.

Definition at line 15 of file TestSpacePoint.h.

Constructor & Destructor Documentation

◆ TestSpacePoint()

TestSpacePoint ( double  x,
double  y,
double  z 
)
inline

Constructor.

Parameters
x: x coordiante
y: y coordiante
z: z coordiante

Definition at line 21 of file TestSpacePoint.h.

21: x(x), y(y), z(z) { ; }
double z
z coordiante of the SP
double y
y coordiante of the SP
double x
x coordiante of the SP

Member Function Documentation

◆ X()

double X ( ) const
inline

Getter for x.

Definition at line 28 of file TestSpacePoint.h.

28{ return x; }

◆ Y()

double Y ( ) const
inline

Getter for y.

Definition at line 30 of file TestSpacePoint.h.

30{ return y; }

◆ Z()

double Z ( ) const
inline

Getter for z.

Definition at line 32 of file TestSpacePoint.h.

32{ return z; }

Member Data Documentation

◆ x

double x

x coordiante of the SP

Definition at line 23 of file TestSpacePoint.h.

◆ y

double y

y coordiante of the SP

Definition at line 24 of file TestSpacePoint.h.

◆ z

double z

z coordiante of the SP

Definition at line 25 of file TestSpacePoint.h.


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