EDM4eic
EIC data model
Loading...
Searching...
No Matches
edm4eic::TensorObj Class Reference

#include <TensorObj.h>

Public Member Functions

 TensorObj ()
 constructor
 
 TensorObj (const TensorObj &)
 copy constructor (does a deep-copy of relation containers)
 
 TensorObj (const podio::ObjectID id, TensorData data)
 
TensorObjoperator= (const TensorObj &)=delete
 No assignment operator.
 
virtual ~TensorObj ()
 

Public Attributes

podio::ObjectID id
 
TensorData data
 
std::vector< std::int64_t > * m_shape {nullptr}
 
std::vector< float > * m_floatData {nullptr}
 
std::vector< std::int64_t > * m_int64Data {nullptr}
 

Constructor & Destructor Documentation

◆ TensorObj() [1/3]

edm4eic::TensorObj::TensorObj ( )

constructor

◆ TensorObj() [2/3]

edm4eic::TensorObj::TensorObj ( const TensorObj & other)

copy constructor (does a deep-copy of relation containers)

◆ TensorObj() [3/3]

edm4eic::TensorObj::TensorObj ( const podio::ObjectID id,
TensorData data )

constructor from ObjectID and TensorData does not initialize the internal relation containers

◆ ~TensorObj()

edm4eic::TensorObj::~TensorObj ( )
virtual

Member Function Documentation

◆ operator=()

TensorObj & edm4eic::TensorObj::operator= ( const TensorObj & )
delete

No assignment operator.

Member Data Documentation

◆ data

TensorData edm4eic::TensorObj::data

◆ id

podio::ObjectID edm4eic::TensorObj::id

◆ m_floatData

std::vector<float>* edm4eic::TensorObj::m_floatData {nullptr}

◆ m_int64Data

std::vector<std::int64_t>* edm4eic::TensorObj::m_int64Data {nullptr}

◆ m_shape

std::vector<std::int64_t>* edm4eic::TensorObj::m_shape {nullptr}

The documentation for this class was generated from the following files: