LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
MultiPandoraApi class. More...
#include "MultiPandoraApi.h"
Static Public Member Functions | |
static const PandoraInstanceMap & | GetPandoraInstanceMap () |
Get the pandora instance map. More... | |
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 id number. More... | |
static const PandoraInstanceList & | GetDaughterPandoraInstanceList (const pandora::Pandora *const pPrimaryPandora) |
Get the list of daughter pandora instances associated with a given primary pandora instance. More... | |
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. More... | |
static unsigned int | GetVolumeId (const pandora::Pandora *const pPandora) |
Get the volume id associated with a given pandora instance. More... | |
static void | AddPrimaryPandoraInstance (const pandora::Pandora *const pPrimaryPandora) |
Declare a new primary pandora instance and receive the relevant multi pandora book-keeping instance. More... | |
static void | AddDaughterPandoraInstance (const pandora::Pandora *const pPrimaryPandora, const pandora::Pandora *const pDaughterPandora) |
Add a pandora daughter instance, associated to a primary pandora instance. More... | |
static void | DeletePandoraInstances (const pandora::Pandora *const pPrimaryPandora) |
Delete all pandora instances associated with (and including) a specified primary pandora instance. More... | |
static void | SetVolumeId (const pandora::Pandora *const pPandora, const unsigned int volumeId) |
Set the volume id associated with a given pandora instance. More... | |
Static Private Attributes | |
static MultiPandoraApiImpl | m_multiPandoraApiImpl |
The multi pandora api implementation. More... | |
MultiPandoraApi class.
Definition at line 30 of file MultiPandoraApi.h.
|
static |
Add a pandora daughter instance, associated to a primary pandora instance.
pPrimaryPandora | the address of the primary pandora instance |
pDaughterPandora | the address of the daughter pandora instance |
Definition at line 61 of file MultiPandoraApi.cc.
References MultiPandoraApiImpl::AddDaughterPandoraInstance(), and m_multiPandoraApiImpl.
Referenced by lar_content::MasterAlgorithm::CreatePfo().
|
static |
Declare a new primary pandora instance and receive the relevant multi pandora book-keeping instance.
pPrimaryPandora | the address of the primary pandora instance |
Definition at line 54 of file MultiPandoraApi.cc.
References MultiPandoraApiImpl::AddPrimaryPandoraInstance(), and m_multiPandoraApiImpl.
Referenced by lar_pandora::StandardPandora::CreatePandoraInstances().
|
static |
Delete all pandora instances associated with (and including) a specified primary pandora instance.
pPrimaryPandora | the address of the primary pandora instance |
Definition at line 68 of file MultiPandoraApi.cc.
References MultiPandoraApiImpl::DeletePandoraInstances(), and m_multiPandoraApiImpl.
Referenced by lar_pandora::StandardPandora::DeletePandoraInstances().
|
static |
Get the list of daughter pandora instances associated with a given primary pandora instance.
pPrimaryPandora | the address of the primary pandora instance |
Definition at line 33 of file MultiPandoraApi.cc.
References MultiPandoraApiImpl::GetDaughterPandoraInstanceList(), and m_multiPandoraApiImpl.
Referenced by lar_pandora::LArPandoraOutput::GetPandoraInstance().
|
static |
Get the address of the pandora instance associated with a given primary pandora instance and volume id number.
pPrimaryPandora | the address of the primary pandora instance |
volumeId | the volume identifier number |
Definition at line 26 of file MultiPandoraApi.cc.
References MultiPandoraApiImpl::GetPandoraInstance(), and m_multiPandoraApiImpl.
|
static |
Get the pandora instance map.
Definition at line 19 of file MultiPandoraApi.cc.
References MultiPandoraApiImpl::GetPandoraInstanceMap(), and m_multiPandoraApiImpl.
Referenced by lar_content::LArStitchingHelper::FindClosestTPC().
|
static |
Get the address of the primary pandora instance associated with a given daughter pandora instance.
pDaughterPandora | the address of the daughter pandora instance |
Definition at line 40 of file MultiPandoraApi.cc.
References MultiPandoraApiImpl::GetPrimaryPandoraInstance(), and m_multiPandoraApiImpl.
|
static |
Get the volume id associated with a given pandora instance.
pPandora | the address of the pandora instance |
Definition at line 47 of file MultiPandoraApi.cc.
References MultiPandoraApiImpl::GetVolumeId(), and m_multiPandoraApiImpl.
|
static |
Set the volume id associated with a given pandora instance.
pPandora | the address of the pandora instance |
volumeId | the volume id |
Definition at line 75 of file MultiPandoraApi.cc.
References m_multiPandoraApiImpl, and MultiPandoraApiImpl::SetVolumeId().
|
staticprivate |
The multi pandora api implementation.
Definition at line 110 of file MultiPandoraApi.h.
Referenced by AddDaughterPandoraInstance(), AddPrimaryPandoraInstance(), DeletePandoraInstances(), GetDaughterPandoraInstanceList(), GetPandoraInstance(), GetPandoraInstanceMap(), GetPrimaryPandoraInstance(), GetVolumeId(), and SetVolumeId().