3#ifndef EDM4EIC_Tensor_CollectionData_H
4#define EDM4EIC_Tensor_CollectionData_H
13#include "podio/CollectionBuffers.h"
14#include "podio/ICollectionProvider.h"
60 void clear(
bool isSubsetColl);
72 bool setReferences(
const podio::ICollectionProvider* collectionProvider,
bool isSubsetColl);
78 podio::UVecPtr<std::int64_t> m_vec_shape{
nullptr};
79 std::vector<podio::UVecPtr<std::int64_t>> m_vecs_shape{};
80 podio::UVecPtr<float> m_vec_floatData{
nullptr};
81 std::vector<podio::UVecPtr<float>> m_vecs_floatData{};
82 podio::UVecPtr<std::int64_t> m_vec_int64Data{
nullptr};
83 std::vector<podio::UVecPtr<std::int64_t>> m_vecs_int64Data{};
86 podio::CollRefCollection m_refCollections{};
87 podio::VectorMembersInfo m_vecmem_info{};
88 std::unique_ptr<TensorDataContainer> m_data{
nullptr};
Definition TensorCollectionData.h:30
TensorCollectionData(const TensorCollectionData &)=delete
TensorCollectionData(TensorCollectionData &&other)=default
bool setReferences(const podio::ICollectionProvider *collectionProvider, bool isSubsetColl)
Definition TensorCollectionData.cc:152
podio::CollectionWriteBuffers getCollectionBuffers(bool isSubsetColl)
Definition TensorCollectionData.cc:63
void makeSubsetCollection()
Definition TensorCollectionData.cc:171
void createRelations(TensorObj *obj)
Definition TensorCollectionData.cc:143
~TensorCollectionData()=default
TensorCollectionData()
Definition TensorCollectionData.cc:11
TensorObjPointerContainer entries
Definition TensorCollectionData.h:35
TensorCollectionData & operator=(const TensorCollectionData &)=delete
void clear(bool isSubsetColl)
Definition TensorCollectionData.cc:39
void prepareAfterRead(uint32_t collectionID)
Definition TensorCollectionData.cc:126
TensorCollectionData & operator=(TensorCollectionData &&other)=default
void prepareForWrite(bool isSubsetColl)
Definition TensorCollectionData.cc:79
Definition TensorObj.h:18
Definition CalorimeterHit.cc:18
std::deque< TensorObj * > TensorObjPointerContainer
Definition TensorCollectionData.h:22
std::vector< TensorData > TensorDataContainer
Definition TensorCollectionData.h:23