Back to home page

EIC code displayed by LXR

 
 

    


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 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
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 /** @class Quantity
0016  *
0017  *  @author:
0018  */
0019 class Quantity {
0020 public:
0021   std::int16_t type{}; ///< flag identifying how to interpret the quantity
0022   float value{};       ///< value of the quantity
0023   float error{};       ///< error on the value of the quantity
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 } // namespace edm4hep
0033 
0034 #endif