3#ifndef EDM4EIC_Cluster_CollectionData_H
4#define EDM4EIC_Cluster_CollectionData_H
11#include "edm4hep/ParticleID.h"
16#include "podio/CollectionBuffers.h"
17#include "podio/ICollectionProvider.h"
63 void clear(
bool isSubsetColl);
75 bool setReferences(
const podio::ICollectionProvider* collectionProvider,
bool isSubsetColl);
79 podio::UVecPtr<edm4eic::Cluster> m_rel_clusters{std::make_unique<std::vector<edm4eic::Cluster>>()};
80 std::vector<podio::UVecPtr<edm4eic::Cluster>> m_rel_clusters_tmp{};
81 podio::UVecPtr<edm4eic::CalorimeterHit> m_rel_hits{std::make_unique<std::vector<edm4eic::CalorimeterHit>>()};
82 std::vector<podio::UVecPtr<edm4eic::CalorimeterHit>> m_rel_hits_tmp{};
83 podio::UVecPtr<edm4hep::ParticleID> m_rel_particleIDs{std::make_unique<std::vector<edm4hep::ParticleID>>()};
84 std::vector<podio::UVecPtr<edm4hep::ParticleID>> m_rel_particleIDs_tmp{};
87 podio::UVecPtr<float> m_vec_shapeParameters{
nullptr};
88 std::vector<podio::UVecPtr<float>> m_vecs_shapeParameters{};
89 podio::UVecPtr<float> m_vec_hitContributions{
nullptr};
90 std::vector<podio::UVecPtr<float>> m_vecs_hitContributions{};
91 podio::UVecPtr<float> m_vec_subdetectorEnergies{
nullptr};
92 std::vector<podio::UVecPtr<float>> m_vecs_subdetectorEnergies{};
95 podio::CollRefCollection m_refCollections{};
96 podio::VectorMembersInfo m_vecmem_info{};
97 std::unique_ptr<ClusterDataContainer> m_data{
nullptr};
void clear(bool isSubsetColl)
Definition ClusterCollectionData.cc:63
ClusterObjPointerContainer entries
Definition ClusterCollectionData.h:38
ClusterCollectionData & operator=(const ClusterCollectionData &)=delete
void prepareForWrite(bool isSubsetColl)
Definition ClusterCollectionData.cc:142
ClusterCollectionData(ClusterCollectionData &&other)=default
void prepareAfterRead(uint32_t collectionID)
Definition ClusterCollectionData.cc:222
podio::CollectionWriteBuffers getCollectionBuffers(bool isSubsetColl)
Definition ClusterCollectionData.cc:126
void makeSubsetCollection()
Definition ClusterCollectionData.cc:318
ClusterCollectionData()
Definition ClusterCollectionData.cc:15
ClusterCollectionData(const ClusterCollectionData &)=delete
~ClusterCollectionData()=default
bool setReferences(const podio::ICollectionProvider *collectionProvider, bool isSubsetColl)
Definition ClusterCollectionData.cc:257
void createRelations(ClusterObj *obj)
Definition ClusterCollectionData.cc:242
ClusterCollectionData & operator=(ClusterCollectionData &&other)=default
Definition ClusterObj.h:21
Definition CalorimeterHit.cc:17
std::deque< ClusterObj * > ClusterObjPointerContainer
Definition ClusterCollectionData.h:25
std::vector< ClusterData > ClusterDataContainer
Definition ClusterCollectionData.h:26