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/** @class TrackPoint
19 *
20 * @author:
21 */
23public:
24 std::uint64_t surface{}; ///< Surface track was propagated to (possibly multiple per detector)
25 std::uint32_t system{}; ///< Detector system track was propagated to
26 ::edm4hep::Vector3f position{}; ///< Position of the trajectory point [mm]
27 ::edm4eic::Cov3f positionError{}; ///< Error on the position
28 ::edm4hep::Vector3f momentum{}; ///< 3-momentum at the point [GeV]
29 ::edm4eic::Cov3f momentumError{}; ///< Error on the 3-momentum
30 float time{}; ///< Time at this point [ns]
31 float timeError{}; ///< Error on the time at this point
32 float theta{}; ///< polar direction of the track at the surface [rad]
33 float phi{}; ///< azimuthal direction of the track at the surface [rad]
34 ::edm4eic::Cov2f directionError{}; ///< Error on the polar and azimuthal angles
35 float pathlength{}; ///< Pathlength from the origin to this point
36 float pathlengthError{}; ///< Error on the pathlength
37
38
39};
40
41std::ostream& operator<<(std::ostream& o, const edm4eic::TrackPoint& value);
42
43#if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
44void to_json(nlohmann::json& j, const TrackPoint& value);
45#endif
46
47} // namespace edm4eic
48
49
50#endif
Definition Cov2f.h:18
Definition Cov3f.h:18
Definition TrackPoint.h:22
float time
Time at this point [ns].
Definition TrackPoint.h:30
float pathlengthError
Error on the pathlength.
Definition TrackPoint.h:36
float pathlength
Pathlength from the origin to this point.
Definition TrackPoint.h:35
::edm4eic::Cov3f momentumError
Error on the 3-momentum.
Definition TrackPoint.h:29
std::uint32_t system
Detector system track was propagated to.
Definition TrackPoint.h:25
::edm4hep::Vector3f momentum
3-momentum at the point [GeV]
Definition TrackPoint.h:28
float theta
polar direction of the track at the surface [rad]
Definition TrackPoint.h:32
::edm4eic::Cov3f positionError
Error on the position.
Definition TrackPoint.h:27
std::uint64_t surface
Surface track was propagated to (possibly multiple per detector)
Definition TrackPoint.h:24
::edm4eic::Cov2f directionError
Error on the polar and azimuthal angles.
Definition TrackPoint.h:34
::edm4hep::Vector3f position
Position of the trajectory point [mm].
Definition TrackPoint.h:26
float phi
azimuthal direction of the track at the surface [rad]
Definition TrackPoint.h:33
float timeError
Error on the time at this point.
Definition TrackPoint.h:31
Definition CalorimeterHit.cc:18
std::ostream & operator<<(std::ostream &o, const CalorimeterHit &value)
Definition CalorimeterHit.cc:97