8#ifndef PANDORA_PARTICLE_ID_PLUGIN_H
9#define PANDORA_PARTICLE_ID_PLUGIN_H 1
71 bool IsPhoton(
const T *
const pT)
const;
91 bool IsMuon(
const T *
const pT)
const;
Header file defining relevant internal typedefs, sort and string conversion functions.
Header file for the process class.
ParticleFlowObject class.
bool IsElectron(const T *const pT) const
Provide identification of whether a cluster or pfo is an electron.
ParticleIdPlugin * m_pElectronPlugin
The electron id plugin pointer.
ParticleIdPlugin * m_pEmShowerPlugin
The electromagnetic shower id plugin pointer.
bool IsEmShower(const T *const pT) const
Provide identification of whether a cluster or pfo is an electromagnetic shower.
StatusCode ResetForNextEvent()
Call the reset callback in all managed plugins.
ParticleIdPlugin * m_pPhotonPlugin
The photon id plugin pointer.
bool IsMuon(const T *const pT) const
Provide identification of whether a cluster or pfo is a muon.
ParticleIdPluginMap m_particleIdPluginMap
The particle id plugin map.
bool IsPhoton(const T *const pT) const
Provide identification of whether a cluster or pfo is a photon.
std::map< std::string, ParticleIdPlugin * > ParticleIdPluginMap
ParticleIdPlugin * m_pMuonPlugin
The muon id plugin pointer.
const Pandora *const m_pPandora
Address of the associated pandora instance.
StatusCode RegisterPlugin(const std::string &pluginName, ParticleIdPlugin *const pParticleIdPlugin)
Register a particle id plugin.
StatusCode InitializePlugin(const TiXmlHandle *const pXmlHandle, const std::string &xmlTagName, ParticleIdPlugin *&pParticleIdPlugin)
Read requested plugin name/label from a specified xml tag and attempt to assign the plugin pointer as...
StatusCode InitializePlugins(const TiXmlHandle *const pXmlHandle)
Initialize plugins.
virtual bool IsMatch(const ParticleFlowObject *const pPfo) const =0
Whether the pfo matches the specific particle hypothesis.
virtual bool IsMatch(const Cluster *const pCluster) const =0
Whether the cluster matches the specific particle hypothesis.
StatusCode
The StatusCode enum.