Warning, file /include/edm4hep/Quantity.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003 #ifndef EDM4HEP_Quantity_H
0004 #define EDM4HEP_Quantity_H
0005
0006 #include <cstdint>
0007 #include <ostream>
0008
0009 #if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
0010 #include "nlohmann/json_fwd.hpp"
0011 #endif
0012
0013 namespace edm4hep {
0014
0015
0016
0017
0018
0019 class Quantity {
0020 public:
0021 std::int16_t type{};
0022 float value{};
0023 float error{};
0024 };
0025
0026 std::ostream& operator<<(std::ostream& o, const edm4hep::Quantity& value);
0027
0028 #if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
0029 void to_json(nlohmann::json& j, const Quantity& value);
0030 #endif
0031
0032 }
0033
0034 #endif