File indexing completed on 2025-01-18 09:55:32
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 namespace edm4eic {
0015
0016 class Tensor;
0017
0018 class TensorObj {
0019 public:
0020
0021 TensorObj();
0022
0023 TensorObj(const TensorObj&);
0024
0025
0026 TensorObj(const podio::ObjectID id, TensorData data);
0027
0028 TensorObj& operator=(const TensorObj&) = delete;
0029 virtual ~TensorObj();
0030
0031 public:
0032 podio::ObjectID id;
0033 TensorData data;
0034 std::vector<std::int64_t>* m_shape{nullptr};
0035 std::vector<float>* m_floatData{nullptr};
0036 std::vector<std::int64_t>* m_int64Data{nullptr};
0037 };
0038
0039 }
0040
0041
0042 #endif