Belle II Software  release-05-01-25
MCTrajectoryPoint.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Martin Ritter *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 #ifndef SIMULATION_DATAOBJECTS_MCTRAJECTORYPOINT_H
13 #define SIMULATION_DATAOBJECTS_MCTRAJECTORYPOINT_H
14 
15 namespace Belle2 {
23  MCTrajectoryPoint(float x_ = 0, float y_ = 0, float z_ = 0, float px_ = 0, float py_ = 0, float pz_ = 0):
24  x(x_), y(y_), z(z_), px(px_), py(py_), pz(pz_) {}
25  float x;
26  float y;
27  float z;
28  float px;
29  float py;
30  float pz;
31  };
33 } //Belle2 namespace
34 
35 #endif // SIMULATION_DATAOBJECTS_TRAJECTORYPOINT_H
Belle2::MCTrajectoryPoint::py
float py
momentum along y
Definition: MCTrajectoryPoint.h:29
Belle2::MCTrajectoryPoint
Small struct to encode a position/momentum without additional overhead.
Definition: MCTrajectoryPoint.h:21
Belle2::MCTrajectoryPoint::x
float x
x coordinate
Definition: MCTrajectoryPoint.h:25
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::MCTrajectoryPoint::px
float px
momentum along x
Definition: MCTrajectoryPoint.h:28
Belle2::MCTrajectoryPoint::y
float y
y coordinate
Definition: MCTrajectoryPoint.h:26
Belle2::MCTrajectoryPoint::z
float z
z coordinate
Definition: MCTrajectoryPoint.h:27
Belle2::MCTrajectoryPoint::pz
float pz
momentum along z
Definition: MCTrajectoryPoint.h:30
Belle2::MCTrajectoryPoint::MCTrajectoryPoint
MCTrajectoryPoint(float x_=0, float y_=0, float z_=0, float px_=0, float py_=0, float pz_=0)
Constructor to allow initialization.
Definition: MCTrajectoryPoint.h:23