Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:55:32

0001 // AUTOMATICALLY GENERATED FILE - DO NOT EDIT
0002 
0003 #ifndef EDM4EIC_TensorOBJ_H
0004 #define EDM4EIC_TensorOBJ_H
0005 
0006 // data model specific includes
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   /// constructor
0021   TensorObj();
0022   /// copy constructor (does a deep-copy of relation containers)
0023   TensorObj(const TensorObj&);
0024   /// constructor from ObjectID and TensorData
0025   /// does not initialize the internal relation containers
0026   TensorObj(const podio::ObjectID id, TensorData data);
0027   /// No assignment operator
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 } // namespace edm4eic
0040 
0041 
0042 #endif