3#ifndef EDM4EIC_ReconstructedParticle_CollectionData_H
4#define EDM4EIC_ReconstructedParticle_CollectionData_H
13#include "edm4hep/ParticleID.h"
18#include "podio/CollectionBuffers.h"
19#include "podio/ICollectionProvider.h"
65 void clear(
bool isSubsetColl);
77 bool setReferences(
const podio::ICollectionProvider* collectionProvider,
bool isSubsetColl);
81 podio::UVecPtr<edm4eic::Cluster> m_rel_clusters{std::make_unique<std::vector<edm4eic::Cluster>>()};
82 std::vector<podio::UVecPtr<edm4eic::Cluster>> m_rel_clusters_tmp{};
83 podio::UVecPtr<edm4eic::Track> m_rel_tracks{std::make_unique<std::vector<edm4eic::Track>>()};
84 std::vector<podio::UVecPtr<edm4eic::Track>> m_rel_tracks_tmp{};
85 podio::UVecPtr<edm4eic::ReconstructedParticle> m_rel_particles{std::make_unique<std::vector<edm4eic::ReconstructedParticle>>()};
86 std::vector<podio::UVecPtr<edm4eic::ReconstructedParticle>> m_rel_particles_tmp{};
87 podio::UVecPtr<edm4hep::ParticleID> m_rel_particleIDs{std::make_unique<std::vector<edm4hep::ParticleID>>()};
88 std::vector<podio::UVecPtr<edm4hep::ParticleID>> m_rel_particleIDs_tmp{};
89 podio::UVecPtr<edm4eic::Vertex> m_rel_startVertex{std::make_unique<std::vector<edm4eic::Vertex>>()};
90 podio::UVecPtr<edm4hep::ParticleID> m_rel_particleIDUsed{std::make_unique<std::vector<edm4hep::ParticleID>>()};
95 podio::CollRefCollection m_refCollections{};
96 podio::VectorMembersInfo m_vecmem_info{};
97 std::unique_ptr<ReconstructedParticleDataContainer> m_data{
nullptr};
ReconstructedParticleCollectionData(const ReconstructedParticleCollectionData &)=delete
void prepareAfterRead(uint32_t collectionID)
Definition ReconstructedParticleCollectionData.cc:226
ReconstructedParticleObjPointerContainer entries
Definition ReconstructedParticleCollectionData.h:40
ReconstructedParticleCollectionData()
Definition ReconstructedParticleCollectionData.cc:16
ReconstructedParticleCollectionData(ReconstructedParticleCollectionData &&other)=default
void createRelations(ReconstructedParticleObj *obj)
Definition ReconstructedParticleCollectionData.cc:244
bool setReferences(const podio::ICollectionProvider *collectionProvider, bool isSubsetColl)
Definition ReconstructedParticleCollectionData.cc:255
ReconstructedParticleCollectionData & operator=(const ReconstructedParticleCollectionData &)=delete
ReconstructedParticleCollectionData & operator=(ReconstructedParticleCollectionData &&other)=default
void makeSubsetCollection()
Definition ReconstructedParticleCollectionData.cc:358
podio::CollectionWriteBuffers getCollectionBuffers(bool isSubsetColl)
Definition ReconstructedParticleCollectionData.cc:137
void prepareForWrite(bool isSubsetColl)
Definition ReconstructedParticleCollectionData.cc:146
~ReconstructedParticleCollectionData()=default
void clear(bool isSubsetColl)
Definition ReconstructedParticleCollectionData.cc:61
Definition ReconstructedParticleObj.h:29
Definition CalorimeterHit.cc:17
std::deque< ReconstructedParticleObj * > ReconstructedParticleObjPointerContainer
Definition ReconstructedParticleCollectionData.h:27
std::vector< ReconstructedParticleData > ReconstructedParticleDataContainer
Definition ReconstructedParticleCollectionData.h:28