Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-09-18 09:10:55

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 };
0027 
0028 std::ostream& operator<<(std::ostream& o, const edm4hep::Quantity& value);
0029 
0030 #if defined(PODIO_JSON_OUTPUT) && !defined(__CLING__)
0031 void to_json(nlohmann::json& j, const Quantity& value);
0032 #endif
0033 
0034 } // namespace edm4hep
0035 
0036 
0037 #endif