Belle II Software  release-06-01-15
EKLMHitGlobalCoord Class Reference

Hit coordinates. More...

#include <EKLMHitGlobalCoord.h>

Inheritance diagram for EKLMHitGlobalCoord:

Public Member Functions

 EKLMHitGlobalCoord ()
 Constructor.
 
virtual ~EKLMHitGlobalCoord ()
 Destructor.
 
void setPosition (float x, float y, float z)
 Set hit global position. More...
 
void setPosition (const TVector3 &pos)
 Set hit global position. More...
 
float getPositionX () const
 Get hit global position x coordinate. More...
 
float getPositionY () const
 Get hit global position y coordinate. More...
 
float getPositionZ () const
 Get hit global position z coordinate. More...
 
TVector3 getPosition () const
 Get hit global position. More...
 

Protected Attributes

float m_globalX
 Global position X coordinate.
 
float m_globalY
 Global position Y coordinate.
 
float m_globalZ
 Global position Z coordinate.
 

Private Member Functions

 ClassDef (Belle2::EKLMHitGlobalCoord, 1)
 Class version.
 

Detailed Description

Hit coordinates.

Definition at line 23 of file EKLMHitGlobalCoord.h.

Member Function Documentation

◆ getPosition()

TVector3 getPosition ( ) const
inline

Get hit global position.

Returns
Hit coordinates.

Definition at line 82 of file EKLMHitGlobalCoord.h.

◆ getPositionX()

float getPositionX ( ) const
inline

Get hit global position x coordinate.

Returns
Hit x coordinate.

Definition at line 55 of file EKLMHitGlobalCoord.h.

◆ getPositionY()

float getPositionY ( ) const
inline

Get hit global position y coordinate.

Returns
Hit y coordinate.

Definition at line 64 of file EKLMHitGlobalCoord.h.

◆ getPositionZ()

float getPositionZ ( ) const
inline

Get hit global position z coordinate.

Returns
Hit z coordinate.

Definition at line 73 of file EKLMHitGlobalCoord.h.

◆ setPosition() [1/2]

void setPosition ( const TVector3 &  pos)

Set hit global position.

Parameters
[in]posPosition.

Definition at line 32 of file EKLMHitGlobalCoord.cc.

◆ setPosition() [2/2]

void setPosition ( float  x,
float  y,
float  z 
)

Set hit global position.

Parameters
[in]xHit x coordinate.
[in]yHit y coordinate.
[in]zHit z coordinate.

Definition at line 25 of file EKLMHitGlobalCoord.cc.


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