Belle II Software development
MCTrajectoryPoint Struct Reference

Small struct to encode a position/momentum without additional overhead. More...

#include <MCTrajectoryPoint.h>

Public Member Functions

 MCTrajectoryPoint (float x_=0, float y_=0, float z_=0, float px_=0, float py_=0, float pz_=0)
 Constructor to allow initialization.
 

Public Attributes

float x
 x coordinate
 
float y
 y coordinate
 
float z
 z coordinate
 
float px
 momentum along x
 
float py
 momentum along y
 
float pz
 momentum along z
 

Detailed Description

Small struct to encode a position/momentum without additional overhead.

Definition at line 19 of file MCTrajectoryPoint.h.

Constructor & Destructor Documentation

◆ MCTrajectoryPoint()

MCTrajectoryPoint ( float  x_ = 0,
float  y_ = 0,
float  z_ = 0,
float  px_ = 0,
float  py_ = 0,
float  pz_ = 0 
)
inline

Constructor to allow initialization.

Definition at line 21 of file MCTrajectoryPoint.h.

21 :
22 x(x_), y(y_), z(z_), px(px_), py(py_), pz(pz_) {}
float py
momentum along y
float px
momentum along x
float pz
momentum along z

Member Data Documentation

◆ px

float px

momentum along x

Definition at line 26 of file MCTrajectoryPoint.h.

◆ py

float py

momentum along y

Definition at line 27 of file MCTrajectoryPoint.h.

◆ pz

float pz

momentum along z

Definition at line 28 of file MCTrajectoryPoint.h.

◆ x

float x

x coordinate

Definition at line 23 of file MCTrajectoryPoint.h.

◆ y

float y

y coordinate

Definition at line 24 of file MCTrajectoryPoint.h.

◆ z

float z

z coordinate

Definition at line 25 of file MCTrajectoryPoint.h.


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