3#ifndef EDM4EIC_Cluster_CollectionData_H
4#define EDM4EIC_Cluster_CollectionData_H
10#include "edm4hep/ParticleID.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::Cluster> m_rel_clusters;
79 std::vector<podio::UVecPtr<edm4eic::Cluster>> m_rel_clusters_tmp{};
80 podio::UVecPtr<edm4eic::CalorimeterHit> m_rel_hits;
81 std::vector<podio::UVecPtr<edm4eic::CalorimeterHit>> m_rel_hits_tmp{};
82 podio::UVecPtr<edm4hep::ParticleID> m_rel_particleIDs;
83 std::vector<podio::UVecPtr<edm4hep::ParticleID>> m_rel_particleIDs_tmp{};
86 podio::UVecPtr<float> m_vec_shapeParameters{
nullptr};
87 std::vector<podio::UVecPtr<float>> m_vecs_shapeParameters{};
88 podio::UVecPtr<float> m_vec_hitContributions{
nullptr};
89 std::vector<podio::UVecPtr<float>> m_vecs_hitContributions{};
90 podio::UVecPtr<float> m_vec_subdetectorEnergies{
nullptr};
91 std::vector<podio::UVecPtr<float>> m_vecs_subdetectorEnergies{};
94 podio::CollRefCollection m_refCollections{};
95 podio::VectorMembersInfo m_vecmem_info{};
96 std::unique_ptr<ClusterDataContainer> m_data{
nullptr};
Definition ClusterCollectionData.h:32
void clear(bool isSubsetColl)
Definition ClusterCollectionData.cc:50
ClusterObjPointerContainer entries
Definition ClusterCollectionData.h:37
ClusterCollectionData & operator=(const ClusterCollectionData &)=delete
void prepareForWrite(bool isSubsetColl)
Definition ClusterCollectionData.cc:127
ClusterCollectionData(ClusterCollectionData &&other)=default
void prepareAfterRead(uint32_t collectionID)
Definition ClusterCollectionData.cc:207
podio::CollectionWriteBuffers getCollectionBuffers(bool isSubsetColl)
Definition ClusterCollectionData.cc:111
void makeSubsetCollection()
Definition ClusterCollectionData.cc:309
ClusterCollectionData()
Definition ClusterCollectionData.cc:13
ClusterCollectionData(const ClusterCollectionData &)=delete
~ClusterCollectionData()=default
bool setReferences(const podio::ICollectionProvider *collectionProvider, bool isSubsetColl)
Definition ClusterCollectionData.cc:242
void createRelations(ClusterObj *obj)
Definition ClusterCollectionData.cc:227
ClusterCollectionData & operator=(ClusterCollectionData &&other)=default
Definition ClusterObj.h:20
Definition CalorimeterHit.cc:18
std::deque< ClusterObj * > ClusterObjPointerContainer
Definition ClusterCollectionData.h:24
std::vector< ClusterData > ClusterDataContainer
Definition ClusterCollectionData.h:25