45 const Track *pTrack(
nullptr);
53 const CaloHit *pCaloHit(
nullptr);
92template <
typename PARAMETERS,
typename OBJECT>
95 return STATUS_CODE_NOT_ALLOWED;
150 const float mcParticleWeight)
const
158 const float mcParticleWeight)
const
Header file for the algorithm manager class.
Header file for the calo hit manager class.
Header file for the cluster manager class.
Header file for the calo hit plugin class.
Header file for the geometry manager class.
Header file for the mc particle manager class.
Header file for pandora object creation classes.
Header file for the pandora class.
Header file for the pandora api class.
Header file for the pandora api implementation class.
Header file for the pandora settings class.
Header file for the particle flow object manager class.
Header file for the particle id plugin class.
Header file for the pandora plugin manager class.
Header file for the track manager class.
Header file for the vertex manager class.
Factory class for instantiating algorithms.
StatusCode RegisterAlgorithmToolFactory(const std::string &algorithmToolType, AlgorithmToolFactory *const pAlgorithmToolFactory)
Register an algorithm tool factory.
StatusCode RegisterAlgorithmFactory(const std::string &algorithmType, AlgorithmFactory *const pAlgorithmFactory)
Register an algorithm factory.
StatusCode Create(const object_creation::CaloHit::Parameters ¶meters, const CaloHit *&pCaloHit, const ObjectFactory< object_creation::CaloHit::Parameters, object_creation::CaloHit::Object > &factory)
Create calo hit.
EnergyCorrectionPlugin class.
StatusCode RegisterPlugin(const std::string &pluginName, const EnergyCorrectionType energyCorrectionType, EnergyCorrectionPlugin *const pEnergyCorrectionPlugin)
Register an energy correction plugin.
StatusCode SetHitTypeGranularity(const HitType hitType, const Granularity granularity)
Set the granularity level to be associated with a specified hit type.
StatusCode CreateSubDetector(const object_creation::Geometry::SubDetector::Parameters ¶meters, const ObjectFactory< object_creation::Geometry::SubDetector::Parameters, object_creation::Geometry::SubDetector::Object > &factory)
Create sub detector.
StatusCode CreateGap(const PARAMETERS ¶meters, const ObjectFactory< PARAMETERS, OBJECT > &factory)
Create gap.
StatusCode CreateLArTPC(const object_creation::Geometry::LArTPC::Parameters ¶meters, const ObjectFactory< object_creation::Geometry::LArTPC::Parameters, object_creation::Geometry::LArTPC::Object > &factory)
Create lar tpc.
StatusCode SetMCParentDaughterRelationship(const Uid parentUid, const Uid daughterUid)
Set mc particle relationship.
StatusCode Create(const object_creation::MCParticle::Parameters ¶meters, const MCParticle *&pMCParticle, const ObjectFactory< object_creation::MCParticle::Parameters, object_creation::MCParticle::Object > &factory)
Create a mc particle.
StatusCode SetTrackToMCParticleRelationship(const Uid trackUid, const Uid mcParticleUid, const float mcParticleWeight)
Set track to mc particle relationship.
StatusCode SetCaloHitToMCParticleRelationship(const Uid caloHitUid, const Uid mcParticleUid, const float mcParticleWeight)
Set calo hit to mc particle relationship.
virtual StatusCode GetCurrentList(const ObjectList *&pObjectList, std::string &listName) const
Get the current list.
virtual StatusCode GetList(const std::string &listName, const ObjectList *&pObjectList) const
Get a list.
ObjectFactory class responsible for extended pandora object creation.
StatusCode GetCurrentPfoList(const PfoList *&pPfoList, std::string &pfoListName) const
Get the current pfo list.
StatusCode ResetEvent() const
Reset pandora to process another event.
StatusCode RegisterAlgorithmToolFactory(const std::string &algorithmToolType, AlgorithmToolFactory *const pAlgorithmToolFactory) const
Register an algorithm tool factory with pandora.
StatusCode SetShowerProfilePlugin(ShowerProfilePlugin *const pShowerProfilePlugin) const
Set the shower profile plugin used by pandora.
Pandora * m_pPandora
The pandora object to provide an interface to.
StatusCode SetTrackSiblingRelationship(const void *const pFirstSiblingAddress, const void *const pSecondSiblingAddress) const
Set sibling track relationship.
StatusCode SetLArTransformationPlugin(LArTransformationPlugin *const pLArTransformationPlugin) const
Set the lar transformation plugin used by pandora.
StatusCode SetCaloHitToMCParticleRelationship(const void *const pCaloHitParentAddress, const void *const pMCParticleParentAddress, const float mcParticleWeight) const
Set calo hit to mc particle relationship.
StatusCode SetBFieldPlugin(BFieldPlugin *const pBFieldPlugin) const
Set the bfield plugin used by pandora.
StatusCode RegisterParticleIdPlugin(const std::string &name, ParticleIdPlugin *const pParticleIdPlugin) const
Register a particle id plugin.
StatusCode SetHitTypeGranularity(const HitType hitType, const Granularity granularity) const
Set the granularity level to be associated with a specified hit type.
StatusCode RegisterEnergyCorrectionPlugin(const std::string &name, const EnergyCorrectionType energyCorrectionType, EnergyCorrectionPlugin *const pEnergyCorrectionPlugin) const
Register an energy correction plugin.
StatusCode Create(const PARAMETERS ¶meters, const ObjectFactory< PARAMETERS, OBJECT > &factory) const
Create an object for pandora.
StatusCode RegisterAlgorithmFactory(const std::string &algorithmType, AlgorithmFactory *const pAlgorithmFactory) const
Register an algorithm factory with pandora.
StatusCode GetPfoList(const std::string &pfoListName, const PfoList *&pPfoList) const
Get a named pfo list.
StatusCode SetPseudoLayerPlugin(PseudoLayerPlugin *const pPseudoLayerPlugin) const
Set the pseudo layer plugin used by pandora.
StatusCode SetTrackToMCParticleRelationship(const void *const pTrackParentAddress, const void *const pMCParticleParentAddress, const float mcParticleWeight) const
Set track to mc particle relationship.
StatusCode ProcessEvent() const
Process event.
StatusCode ReadSettings(const std::string &xmlFileName) const
Read pandora settings.
StatusCode SetTrackParentDaughterRelationship(const void *const pParentAddress, const void *const pDaughterAddress) const
Set parent-daughter track relationship.
StatusCode SetMCParentDaughterRelationship(const void *const pParentAddress, const void *const pDaughterAddress) const
Set parent-daughter mc particle relationship.
PandoraApiImpl(Pandora *const pPandora)
Constructor.
MCManager * m_pMCManager
The MC manager.
StatusCode ProcessEvent()
Process event, calling event prepare event function, then running the algorithms.
TrackManager * m_pTrackManager
The track manager.
CaloHitManager * m_pCaloHitManager
The hit manager.
AlgorithmManager * m_pAlgorithmManager
The algorithm manager.
PluginManager * m_pPluginManager
The pandora plugin manager.
GeometryManager * m_pGeometryManager
The geometry manager.
StatusCode ResetEvent()
Reset event, calling manager reset functions and any registered reset functions.
ParticleFlowObjectManager * m_pPfoManager
The particle flow object manager.
StatusCode ReadSettings(const std::string &xmlFileName)
Read pandora settings.
StatusCode RegisterPlugin(const std::string &pluginName, ParticleIdPlugin *const pParticleIdPlugin)
Register a particle id plugin.
StatusCode SetShowerProfilePlugin(ShowerProfilePlugin *const pShowerProfilePlugin)
Set the shower profile plugin.
StatusCode SetPseudoLayerPlugin(PseudoLayerPlugin *const pPseudoLayerPlugin)
Set the pseudo layer plugin.
EnergyCorrections * m_pEnergyCorrections
The energy corrections.
StatusCode SetLArTransformationPlugin(LArTransformationPlugin *const pLArTransformationPlugin)
Set the lar transformation plugin.
ParticleId * m_pParticleId
The particle id.
StatusCode SetBFieldPlugin(BFieldPlugin *const pBFieldPlugin)
Set the bfield plugin.
ShowerProfilePlugin class.
StatusCode SetTrackParentDaughterRelationship(const Uid parentUid, const Uid daughterUid)
Set a track parent-daughter relationship.
StatusCode SetTrackSiblingRelationship(const Uid firstSiblingUid, const Uid secondSiblingUid)
Set a track sibling relationship.
StatusCode Create(const object_creation::Track::Parameters ¶meters, const Track *&pTrack, const ObjectFactory< object_creation::Track::Parameters, object_creation::Track::Object > &factory)
Create track.
HitType
Calorimeter hit type enum.
Granularity
Granularity enum.
EnergyCorrectionType
Energy correction type enum.
StatusCode
The StatusCode enum.
MANAGED_CONTAINER< const ParticleFlowObject * > PfoList