3#ifndef EDM4EIC_ProtoCluster_CollectionData_H
4#define EDM4EIC_ProtoCluster_CollectionData_H
15#include "podio/CollectionBuffers.h"
16#include "podio/ICollectionProvider.h"
62 void clear(
bool isSubsetColl);
74 bool setReferences(
const podio::ICollectionProvider* collectionProvider,
bool isSubsetColl);
78 podio::UVecPtr<edm4eic::CalorimeterHit> m_rel_hits{std::make_unique<std::vector<edm4eic::CalorimeterHit>>()};
79 std::vector<podio::UVecPtr<edm4eic::CalorimeterHit>> m_rel_hits_tmp{};
82 podio::UVecPtr<float> m_vec_weights{
nullptr};
83 std::vector<podio::UVecPtr<float>> m_vecs_weights{};
86 podio::CollRefCollection m_refCollections{};
87 podio::VectorMembersInfo m_vecmem_info{};
88 std::unique_ptr<ProtoClusterDataContainer> m_data{
nullptr};
void createRelations(ProtoClusterObj *obj)
Definition ProtoClusterCollectionData.cc:155
ProtoClusterCollectionData & operator=(const ProtoClusterCollectionData &)=delete
ProtoClusterCollectionData & operator=(ProtoClusterCollectionData &&other)=default
void prepareForWrite(bool isSubsetColl)
Definition ProtoClusterCollectionData.cc:99
ProtoClusterCollectionData(ProtoClusterCollectionData &&other)=default
bool setReferences(const podio::ICollectionProvider *collectionProvider, bool isSubsetColl)
Definition ProtoClusterCollectionData.cc:162
podio::CollectionWriteBuffers getCollectionBuffers(bool isSubsetColl)
Definition ProtoClusterCollectionData.cc:85
ProtoClusterCollectionData(const ProtoClusterCollectionData &)=delete
ProtoClusterCollectionData()
Definition ProtoClusterCollectionData.cc:14
void makeSubsetCollection()
Definition ProtoClusterCollectionData.cc:195
void prepareAfterRead(uint32_t collectionID)
Definition ProtoClusterCollectionData.cc:139
void clear(bool isSubsetColl)
Definition ProtoClusterCollectionData.cc:52
ProtoClusterObjPointerContainer entries
Definition ProtoClusterCollectionData.h:37
~ProtoClusterCollectionData()=default
Definition ProtoClusterObj.h:20
Definition CalorimeterHit.cc:17
std::vector< ProtoClusterData > ProtoClusterDataContainer
Definition ProtoClusterCollectionData.h:25
std::deque< ProtoClusterObj * > ProtoClusterObjPointerContainer
Definition ProtoClusterCollectionData.h:24