3#ifndef EICD_Cluster_CollectionData_H
4#define EICD_Cluster_CollectionData_H
10#include "edm4hep/ParticleID.h"
13#include "podio/CollectionBuffers.h"
14#include "podio/ICollectionProvider.h"
55 void clear(
bool isSubsetColl);
67 bool setReferences(
const podio::ICollectionProvider* collectionProvider,
bool isSubsetColl);
71 podio::UVecPtr<eicd::Cluster> m_rel_clusters;
72 std::vector<podio::UVecPtr<eicd::Cluster>> m_rel_clusters_tmp{};
73 podio::UVecPtr<eicd::CalorimeterHit> m_rel_hits;
74 std::vector<podio::UVecPtr<eicd::CalorimeterHit>> m_rel_hits_tmp{};
75 podio::UVecPtr<edm4hep::ParticleID> m_rel_particleIDs;
76 std::vector<podio::UVecPtr<edm4hep::ParticleID>> m_rel_particleIDs_tmp{};
79 podio::UVecPtr<float> m_vec_shapeParameters;
80 std::vector<podio::UVecPtr<float>> m_vecs_shapeParameters{};
81 podio::UVecPtr<float> m_vec_hitContributions;
82 std::vector<podio::UVecPtr<float>> m_vecs_hitContributions{};
83 podio::UVecPtr<float> m_vec_subdetectorEnergies;
84 std::vector<podio::UVecPtr<float>> m_vecs_subdetectorEnergies{};
87 podio::CollRefCollection m_refCollections{};
88 podio::VectorMembersInfo m_vecmem_info{};
89 std::unique_ptr<ClusterDataContainer> m_data{
nullptr};
Definition: ClusterCollectionData.h:30
ClusterCollectionData()
Definition: ClusterCollectionData.cc:13
void createRelations(ClusterObj *obj)
Definition: ClusterCollectionData.cc:203
ClusterCollectionData & operator=(const ClusterCollectionData &)=delete
bool setReferences(const podio::ICollectionProvider *collectionProvider, bool isSubsetColl)
Definition: ClusterCollectionData.cc:218
ClusterCollectionData(const ClusterCollectionData &)=delete
ClusterObjPointerContainer entries
Definition: ClusterCollectionData.h:35
void prepareAfterRead(int collectionID)
Definition: ClusterCollectionData.cc:183
ClusterCollectionData & operator=(ClusterCollectionData &&other)=default
~ClusterCollectionData()=default
podio::CollectionBuffers getCollectionBuffers(bool isSubsetColl)
Definition: ClusterCollectionData.cc:90
void clear(bool isSubsetColl)
Definition: ClusterCollectionData.cc:29
void makeSubsetCollection()
Definition: ClusterCollectionData.cc:285
ClusterCollectionData(ClusterCollectionData &&other)=default
void prepareForWrite(bool isSubsetColl)
Definition: ClusterCollectionData.cc:103
Definition: ClusterObj.h:20
Definition: CalorimeterHit.cc:13
std::deque< ClusterObj * > ClusterObjPointerContainer
Definition: ClusterCollectionData.h:22
std::vector< ClusterData > ClusterDataContainer
Definition: ClusterCollectionData.h:23