3#ifndef EICD_ReconstructedParticle_CollectionData_H
4#define EICD_ReconstructedParticle_CollectionData_H
12#include "edm4hep/ParticleID.h"
15#include "podio/CollectionBuffers.h"
16#include "podio/ICollectionProvider.h"
57 void clear(
bool isSubsetColl);
69 bool setReferences(
const podio::ICollectionProvider* collectionProvider,
bool isSubsetColl);
73 podio::UVecPtr<eicd::Cluster> m_rel_clusters;
74 std::vector<podio::UVecPtr<eicd::Cluster>> m_rel_clusters_tmp{};
75 podio::UVecPtr<eicd::Track> m_rel_tracks;
76 std::vector<podio::UVecPtr<eicd::Track>> m_rel_tracks_tmp{};
77 podio::UVecPtr<eicd::ReconstructedParticle> m_rel_particles;
78 std::vector<podio::UVecPtr<eicd::ReconstructedParticle>> m_rel_particles_tmp{};
79 podio::UVecPtr<edm4hep::ParticleID> m_rel_particleIDs;
80 std::vector<podio::UVecPtr<edm4hep::ParticleID>> m_rel_particleIDs_tmp{};
81 podio::UVecPtr<eicd::Vertex> m_rel_startVertex;
82 podio::UVecPtr<edm4hep::ParticleID> m_rel_particleIDUsed;
87 podio::CollRefCollection m_refCollections{};
88 podio::VectorMembersInfo m_vecmem_info{};
89 std::unique_ptr<ReconstructedParticleDataContainer> m_data{
nullptr};
Definition: ReconstructedParticleCollectionData.h:32
ReconstructedParticleCollectionData(ReconstructedParticleCollectionData &&other)=default
~ReconstructedParticleCollectionData()=default
void makeSubsetCollection()
Definition: ReconstructedParticleCollectionData.cc:334
ReconstructedParticleCollectionData & operator=(const ReconstructedParticleCollectionData &)=delete
void prepareAfterRead(int collectionID)
Definition: ReconstructedParticleCollectionData.cc:192
void clear(bool isSubsetColl)
Definition: ReconstructedParticleCollectionData.cc:30
bool setReferences(const podio::ICollectionProvider *collectionProvider, bool isSubsetColl)
Definition: ReconstructedParticleCollectionData.cc:221
void createRelations(ReconstructedParticleObj *obj)
Definition: ReconstructedParticleCollectionData.cc:210
ReconstructedParticleCollectionData()
Definition: ReconstructedParticleCollectionData.cc:14
ReconstructedParticleCollectionData(const ReconstructedParticleCollectionData &)=delete
ReconstructedParticleObjPointerContainer entries
Definition: ReconstructedParticleCollectionData.h:37
void prepareForWrite(bool isSubsetColl)
Definition: ReconstructedParticleCollectionData.cc:112
ReconstructedParticleCollectionData & operator=(ReconstructedParticleCollectionData &&other)=default
podio::CollectionBuffers getCollectionBuffers(bool isSubsetColl)
Definition: ReconstructedParticleCollectionData.cc:104
Definition: ReconstructedParticleObj.h:28
Definition: CalorimeterHit.cc:13
std::vector< ReconstructedParticleData > ReconstructedParticleDataContainer
Definition: ReconstructedParticleCollectionData.h:25
std::deque< ReconstructedParticleObj * > ReconstructedParticleObjPointerContainer
Definition: ReconstructedParticleCollectionData.h:24