8 #ifndef MULTI_PANDORA_API_H
9 #define MULTI_PANDORA_API_H 1
11 #include <unordered_map>
17 class ParticleFlowObject;
48 static const pandora::Pandora *
GetPandoraInstance(
const pandora::Pandora *
const pPrimaryPandora,
const unsigned int volumeId);
75 static unsigned int GetVolumeId(
const pandora::Pandora *
const pPandora);
92 static void AddDaughterPandoraInstance(
const pandora::Pandora *
const pPrimaryPandora,
const pandora::Pandora *
const pDaughterPandora);
107 static void SetVolumeId(
const pandora::Pandora *
const pPandora,
const unsigned int volumeId);
113 #endif // #ifndef MULTI_PANDORA_API_H
static void AddDaughterPandoraInstance(const pandora::Pandora *const pPrimaryPandora, const pandora::Pandora *const pDaughterPandora)
Add a pandora daughter instance, associated to a primary pandora instance.
static void DeletePandoraInstances(const pandora::Pandora *const pPrimaryPandora)
Delete all pandora instances associated with (and including) a specified primary pandora instance...
static unsigned int GetVolumeId(const pandora::Pandora *const pPandora)
Get the volume id associated with a given pandora instance.
static const pandora::Pandora * GetPrimaryPandoraInstance(const pandora::Pandora *const pDaughterPandora)
Get the address of the primary pandora instance associated with a given daughter pandora instance...
std::vector< const pandora::Pandora * > PandoraInstanceList
static void AddPrimaryPandoraInstance(const pandora::Pandora *const pPrimaryPandora)
Declare a new primary pandora instance and receive the relevant multi pandora book-keeping instance...
std::unordered_map< const pandora::Pandora *, PandoraInstanceList > PandoraInstanceMap
static const PandoraInstanceList & GetDaughterPandoraInstanceList(const pandora::Pandora *const pPrimaryPandora)
Get the list of daughter pandora instances associated with a given primary pandora instance...
static void SetVolumeId(const pandora::Pandora *const pPandora, const unsigned int volumeId)
Set the volume id associated with a given pandora instance.
required by fuzzyCluster table::sbnd_g4_services gaushitTruthMatch pandora
static const PandoraInstanceMap & GetPandoraInstanceMap()
Get the pandora instance map.
static const pandora::Pandora * GetPandoraInstance(const pandora::Pandora *const pPrimaryPandora, const unsigned int volumeId)
Get the address of the pandora instance associated with a given primary pandora instance and volume i...
MultiPandoraApiImpl class.
static MultiPandoraApiImpl m_multiPandoraApiImpl
The multi pandora api implementation.