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
14
15namespace edm4eic {
16
17class Tensor;
18
19class TensorObj {
20public:
21 /// constructor
22 TensorObj();
23 /// copy constructor (does a deep-copy of relation containers)
24 TensorObj(const TensorObj&);
25 /// constructor from ObjectID and TensorData
26 /// does not initialize the internal relation containers
27 TensorObj(const podio::ObjectID id, TensorData data);
28 /// No assignment operator
29 TensorObj& operator=(const TensorObj&) = delete;
30 virtual ~TensorObj();
31
32public:
33 podio::ObjectID id;
35 std::vector<std::int64_t>* m_shape{nullptr};
36 std::vector<float>* m_floatData{nullptr};
37 std::vector<std::int64_t>* m_int64Data{nullptr};
38};
39
40} // namespace edm4eic
41
42
43#endif
Definition TensorData.h:15
Definition TensorObj.h:19
virtual ~TensorObj()
Definition TensorObj.cc:29
std::vector< std::int64_t > * m_int64Data
Definition TensorObj.h:37
TensorObj()
constructor
Definition TensorObj.cc:8
podio::ObjectID id
Definition TensorObj.h:33
std::vector< float > * m_floatData
Definition TensorObj.h:36
std::vector< std::int64_t > * m_shape
Definition TensorObj.h:35
TensorObj & operator=(const TensorObj &)=delete
No assignment operator.
TensorData data
Definition TensorObj.h:34
Definition CalorimeterHit.cc:17