EDM4eic
EIC data model
Loading...
Searching...
No Matches
TensorObj.h
Go to the documentation of this file.
1// AUTOMATICALLY GENERATED FILE - DO NOT EDIT
2
3#ifndef EDM4EIC_TensorOBJ_H
4#define EDM4EIC_TensorOBJ_H
5
6// data model specific includes
8#include <vector>
9
10#include "podio/ObjectID.h"
11#include <vector>
12
13
14namespace edm4eic {
15
16class Tensor;
17
18class TensorObj {
19public:
20 /// constructor
21 TensorObj();
22 /// copy constructor (does a deep-copy of relation containers)
23 TensorObj(const TensorObj&);
24 /// constructor from ObjectID and TensorData
25 /// does not initialize the internal relation containers
26 TensorObj(const podio::ObjectID id, TensorData data);
27 /// No assignment operator
28 TensorObj& operator=(const TensorObj&) = delete;
29 virtual ~TensorObj();
30
31public:
32 podio::ObjectID id;
34 std::vector<std::int64_t>* m_shape{nullptr};
35 std::vector<float>* m_floatData{nullptr};
36 std::vector<std::int64_t>* m_int64Data{nullptr};
37};
38
39} // namespace edm4eic
40
41
42#endif
Definition TensorData.h:15
Definition TensorObj.h:18
virtual ~TensorObj()
Definition TensorObj.cc:29
std::vector< std::int64_t > * m_int64Data
Definition TensorObj.h:36
TensorObj()
constructor
Definition TensorObj.cc:8
podio::ObjectID id
Definition TensorObj.h:32
std::vector< float > * m_floatData
Definition TensorObj.h:35
std::vector< std::int64_t > * m_shape
Definition TensorObj.h:34
TensorObj & operator=(const TensorObj &)=delete
No assignment operator.
TensorData data
Definition TensorObj.h:33
Definition CalorimeterHit.cc:18