EDM4eic
EIC data model
Loading...
Searching...
No Matches
TrackPoint.h
Go to the documentation of this file.
1// AUTOMATICALLY GENERATED FILE - DO NOT EDIT
2
3#ifndef EDM4EIC_TrackPoint_H
4#define EDM4EIC_TrackPoint_H
5
6#include "edm4eic/Cov2f.h"
7#include "edm4eic/Cov3f.h"
8#include "edm4hep/Vector3f.h"
9#include <cstdint>
10#include <ostream>
11
12#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
13#include "nlohmann/json_fwd.hpp"
14#endif
15
16namespace edm4eic {
17
18
19/** @class TrackPoint
20 *
21 * @author:
22 */
24public:
25 std::uint64_t surface{}; ///< Surface track was propagated to (possibly multiple per detector)
26 std::uint32_t system{}; ///< Detector system track was propagated to
27 ::edm4hep::Vector3f position{}; ///< Position of the trajectory point [mm]
28 ::edm4eic::Cov3f positionError{}; ///< Error on the position
29 ::edm4hep::Vector3f momentum{}; ///< 3-momentum at the point [GeV]
30 ::edm4eic::Cov3f momentumError{}; ///< Error on the 3-momentum
31 float time{}; ///< Time at this point [ns]
32 float timeError{}; ///< Error on the time at this point
33 float theta{}; ///< polar direction of the track at the surface [rad]
34 float phi{}; ///< azimuthal direction of the track at the surface [rad]
35 ::edm4eic::Cov2f directionError{}; ///< Error on the polar and azimuthal angles
36 float pathlength{}; ///< Pathlength from the origin to this point
37 float pathlengthError{}; ///< Error on the pathlength
38
39
40};
41
42std::ostream& operator<<(std::ostream& o, const TrackPoint& value);
43
44#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
45void to_json(nlohmann::json& j, const TrackPoint& value);
46#endif
47
48namespace v850 {
50} // namespace v850
51
52
53} // namespace edm4eic
54
55
56#endif
Definition Cov2f.h:19
Definition Cov3f.h:19
Definition TrackPoint.h:23
float time
Time at this point [ns].
Definition TrackPoint.h:31
float pathlengthError
Error on the pathlength.
Definition TrackPoint.h:37
float pathlength
Pathlength from the origin to this point.
Definition TrackPoint.h:36
::edm4eic::Cov3f momentumError
Error on the 3-momentum.
Definition TrackPoint.h:30
std::uint32_t system
Detector system track was propagated to.
Definition TrackPoint.h:26
::edm4hep::Vector3f momentum
3-momentum at the point [GeV]
Definition TrackPoint.h:29
float theta
polar direction of the track at the surface [rad]
Definition TrackPoint.h:33
::edm4eic::Cov3f positionError
Error on the position.
Definition TrackPoint.h:28
std::uint64_t surface
Surface track was propagated to (possibly multiple per detector)
Definition TrackPoint.h:25
::edm4eic::Cov2f directionError
Error on the polar and azimuthal angles.
Definition TrackPoint.h:35
::edm4hep::Vector3f position
Position of the trajectory point [mm].
Definition TrackPoint.h:27
float phi
azimuthal direction of the track at the surface [rad]
Definition TrackPoint.h:34
float timeError
Error on the time at this point.
Definition TrackPoint.h:32
edm4eic::TrackPoint TrackPoint
Definition TrackPoint.h:49
Definition CalorimeterHit.cc:17
std::ostream & operator<<(std::ostream &o, const CalorimeterHit &value)
Definition CalorimeterHit.cc:99