EDM4eic
EIC data model
Toggle main menu visibility
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
7
#include "
edm4eic/TensorData.h
"
8
#include <vector>
9
10
#include "podio/ObjectID.h"
11
#include <vector>
12
13
14
15
namespace
edm4eic
{
16
17
class
Tensor
;
18
19
class
TensorObj
{
20
public
:
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
,
const
TensorData
&
data
);
28
/// No assignment operator
29
TensorObj
&
operator=
(
const
TensorObj
&) =
delete
;
30
virtual
~TensorObj
();
31
32
public
:
33
podio::ObjectID
id
{};
34
TensorData
data
;
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
TensorData.h
edm4eic::TensorData
Definition
TensorData.h:15
edm4eic::Tensor
Definition
Tensor.h:43
edm4eic::TensorObj::~TensorObj
virtual ~TensorObj()
Definition
TensorObj.cc:27
edm4eic::TensorObj::m_int64Data
std::vector< std::int64_t > * m_int64Data
Definition
TensorObj.h:37
edm4eic::TensorObj::TensorObj
TensorObj()
constructor
Definition
TensorObj.cc:8
edm4eic::TensorObj::m_floatData
std::vector< float > * m_floatData
Definition
TensorObj.h:36
edm4eic::TensorObj::m_shape
std::vector< std::int64_t > * m_shape
Definition
TensorObj.h:35
edm4eic::TensorObj::operator=
TensorObj & operator=(const TensorObj &)=delete
No assignment operator.
edm4eic::TensorObj::data
TensorData data
Definition
TensorObj.h:34
edm4eic
Definition
CalorimeterHit.cc:17
build
edm4eic
TensorObj.h
Generated by
1.17.0