3#ifndef EDM4EIC_Tensor_CollectionData_H
4#define EDM4EIC_Tensor_CollectionData_H
14#include "podio/CollectionBuffers.h"
15#include "podio/ICollectionProvider.h"
61 void clear(
bool isSubsetColl);
73 bool setReferences(
const podio::ICollectionProvider* collectionProvider,
bool isSubsetColl);
79 podio::UVecPtr<std::int64_t> m_vec_shape{
nullptr};
80 std::vector<podio::UVecPtr<std::int64_t>> m_vecs_shape{};
81 podio::UVecPtr<float> m_vec_floatData{
nullptr};
82 std::vector<podio::UVecPtr<float>> m_vecs_floatData{};
83 podio::UVecPtr<std::int64_t> m_vec_int64Data{
nullptr};
84 std::vector<podio::UVecPtr<std::int64_t>> m_vecs_int64Data{};
87 podio::CollRefCollection m_refCollections{};
88 podio::VectorMembersInfo m_vecmem_info{};
89 std::unique_ptr<TensorDataContainer> m_data{
nullptr};
TensorCollectionData(const TensorCollectionData &)=delete
TensorCollectionData(TensorCollectionData &&other)=default
bool setReferences(const podio::ICollectionProvider *collectionProvider, bool isSubsetColl)
Definition TensorCollectionData.cc:170
podio::CollectionWriteBuffers getCollectionBuffers(bool isSubsetColl)
Definition TensorCollectionData.cc:81
void makeSubsetCollection()
Definition TensorCollectionData.cc:189
void createRelations(TensorObj *obj)
Definition TensorCollectionData.cc:161
~TensorCollectionData()=default
TensorCollectionData()
Definition TensorCollectionData.cc:13
TensorObjPointerContainer entries
Definition TensorCollectionData.h:36
TensorCollectionData & operator=(const TensorCollectionData &)=delete
void clear(bool isSubsetColl)
Definition TensorCollectionData.cc:55
void prepareAfterRead(uint32_t collectionID)
Definition TensorCollectionData.cc:144
TensorCollectionData & operator=(TensorCollectionData &&other)=default
void prepareForWrite(bool isSubsetColl)
Definition TensorCollectionData.cc:97
Definition TensorObj.h:19
Definition CalorimeterHit.cc:17
std::deque< TensorObj * > TensorObjPointerContainer
Definition TensorCollectionData.h:23
std::vector< TensorData > TensorDataContainer
Definition TensorCollectionData.h:24