File indexing completed on 2025-07-03 08:34:35
0001
0002
0003 #ifndef EDM4EIC_TensorOBJ_H
0004 #define EDM4EIC_TensorOBJ_H
0005
0006
0007 #include "edm4eic/TensorData.h"
0008 #include <vector>
0009
0010 #include "podio/ObjectID.h"
0011 #include <vector>
0012
0013
0014
0015 namespace edm4eic {
0016
0017 class Tensor;
0018
0019 class TensorObj {
0020 public:
0021
0022 TensorObj();
0023
0024 TensorObj(const TensorObj&);
0025
0026
0027 TensorObj(const podio::ObjectID id, TensorData data);
0028
0029 TensorObj& operator=(const TensorObj&) = delete;
0030 virtual ~TensorObj();
0031
0032 public:
0033 podio::ObjectID id;
0034 TensorData data;
0035 std::vector<std::int64_t>* m_shape{nullptr};
0036 std::vector<float>* m_floatData{nullptr};
0037 std::vector<std::int64_t>* m_int64Data{nullptr};
0038 };
0039
0040 }
0041
0042
0043 #endif