Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-07-03 08:34:35

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 
0015 namespace edm4eic {
0016 
0017 class Tensor;
0018 
0019 class TensorObj {
0020 public:
0021   /// constructor
0022   TensorObj();
0023   /// copy constructor (does a deep-copy of relation containers)
0024   TensorObj(const TensorObj&);
0025   /// constructor from ObjectID and TensorData
0026   /// does not initialize the internal relation containers
0027   TensorObj(const podio::ObjectID id, TensorData data);
0028   /// No assignment operator
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 } // namespace edm4eic
0041 
0042 
0043 #endif