Pandora
Pandora source code navigator
|
PluginManager class. More...
#include "PluginManager.h"
Public Member Functions | |
PluginManager (const Pandora *const pPandora) | |
Constructor. | |
~PluginManager () | |
Destructor. | |
bool | HasBFieldPlugin () const |
Whether the b field plugin is available. | |
bool | HasLArTransformationPlugin () const |
Whether the lar transformation plugin is available. | |
bool | HasPseudoLayerPlugin () const |
Whether the pseudo layer plugin is available. | |
bool | HasShowerProfilePlugin () const |
Whether the shower profile plugin is available. | |
const BFieldPlugin * | GetBFieldPlugin () const |
Get the address of the b field plugin. | |
const LArTransformationPlugin * | GetLArTransformationPlugin () const |
Get the address of the lar transformation plugin. | |
const PseudoLayerPlugin * | GetPseudoLayerPlugin () const |
Get the address of the pseudo layer plugin. | |
const ShowerProfilePlugin * | GetShowerProfilePlugin () const |
Get the shower profile plugin. | |
const EnergyCorrections * | GetEnergyCorrections () const |
Get the pandora energy corrections instance. | |
const ParticleId * | GetParticleId () const |
Get the address of the pandora particle id instance. | |
Private Member Functions | |
StatusCode | SetBFieldPlugin (BFieldPlugin *const pBFieldPlugin) |
Set the bfield plugin. | |
StatusCode | SetLArTransformationPlugin (LArTransformationPlugin *const pLArTransformationPlugin) |
Set the lar transformation plugin. | |
StatusCode | SetPseudoLayerPlugin (PseudoLayerPlugin *const pPseudoLayerPlugin) |
Set the pseudo layer plugin. | |
StatusCode | SetShowerProfilePlugin (ShowerProfilePlugin *const pShowerProfilePlugin) |
Set the shower profile plugin. | |
StatusCode | InitializePlugins (const TiXmlHandle *const pXmlHandle) |
Initialize plugins. | |
StatusCode | ResetForNextEvent () |
Call the reset callback in all managed plugins. | |
Private Attributes | |
BFieldPlugin * | m_pBFieldPlugin |
Address of the bfield plugin. | |
LArTransformationPlugin * | m_pLArTransformationPlugin |
Address of the lar transformation plugin. | |
PseudoLayerPlugin * | m_pPseudoLayerPlugin |
Address of the pseudolayer plugin. | |
ShowerProfilePlugin * | m_pShowerProfilePlugin |
The shower profile plugin. | |
EnergyCorrections * | m_pEnergyCorrections |
The energy corrections. | |
ParticleId * | m_pParticleId |
The particle id. | |
const Pandora *const | m_pPandora |
The associated pandora object. | |
Friends | |
class | PandoraApiImpl |
class | PandoraImpl |
PluginManager class.
Definition at line 32 of file PluginManager.h.
pandora::PluginManager::PluginManager | ( | const Pandora *const | pPandora | ) |
Constructor.
pPandora | address of the associated pandora object |
Definition at line 23 of file PluginManager.cc.
pandora::PluginManager::~PluginManager | ( | ) |
Destructor.
Definition at line 53 of file PluginManager.cc.
const BFieldPlugin * pandora::PluginManager::GetBFieldPlugin | ( | ) | const |
Get the address of the b field plugin.
Definition at line 94 of file PluginManager.cc.
const EnergyCorrections * pandora::PluginManager::GetEnergyCorrections | ( | ) | const |
Get the pandora energy corrections instance.
Definition at line 134 of file PluginManager.cc.
const LArTransformationPlugin * pandora::PluginManager::GetLArTransformationPlugin | ( | ) | const |
Get the address of the lar transformation plugin.
Definition at line 104 of file PluginManager.cc.
const ParticleId * pandora::PluginManager::GetParticleId | ( | ) | const |
Get the address of the pandora particle id instance.
Definition at line 144 of file PluginManager.cc.
const PseudoLayerPlugin * pandora::PluginManager::GetPseudoLayerPlugin | ( | ) | const |
Get the address of the pseudo layer plugin.
Definition at line 114 of file PluginManager.cc.
const ShowerProfilePlugin * pandora::PluginManager::GetShowerProfilePlugin | ( | ) | const |
Get the shower profile plugin.
Definition at line 124 of file PluginManager.cc.
bool pandora::PluginManager::HasBFieldPlugin | ( | ) | const |
Whether the b field plugin is available.
Definition at line 66 of file PluginManager.cc.
bool pandora::PluginManager::HasLArTransformationPlugin | ( | ) | const |
Whether the lar transformation plugin is available.
Definition at line 73 of file PluginManager.cc.
bool pandora::PluginManager::HasPseudoLayerPlugin | ( | ) | const |
Whether the pseudo layer plugin is available.
Definition at line 80 of file PluginManager.cc.
bool pandora::PluginManager::HasShowerProfilePlugin | ( | ) | const |
Whether the shower profile plugin is available.
Definition at line 87 of file PluginManager.cc.
|
private |
Initialize plugins.
pXmlHandle | address of the relevant xml handle |
Definition at line 198 of file PluginManager.cc.
|
private |
Call the reset callback in all managed plugins.
Definition at line 252 of file PluginManager.cc.
|
private |
Set the bfield plugin.
pBFieldPlugin | address of the bfield plugin |
Definition at line 154 of file PluginManager.cc.
|
private |
Set the lar transformation plugin.
pLArTransformationPlugin | address of the lar transformation plugin |
Definition at line 165 of file PluginManager.cc.
|
private |
Set the pseudo layer plugin.
pPseudoLayerPlugin | address of the pseudo layer plugin |
Definition at line 176 of file PluginManager.cc.
|
private |
Set the shower profile plugin.
pPseudoLayerPlugin | address of the shower profile plugin |
Definition at line 187 of file PluginManager.cc.
|
friend |
Definition at line 168 of file PluginManager.h.
|
friend |
Definition at line 169 of file PluginManager.h.
|
private |
Address of the bfield plugin.
Definition at line 158 of file PluginManager.h.
|
private |
The energy corrections.
Definition at line 163 of file PluginManager.h.
|
private |
Address of the lar transformation plugin.
Definition at line 159 of file PluginManager.h.
|
private |
The associated pandora object.
Definition at line 166 of file PluginManager.h.
|
private |
The particle id.
Definition at line 164 of file PluginManager.h.
|
private |
Address of the pseudolayer plugin.
Definition at line 160 of file PluginManager.h.
|
private |
The shower profile plugin.
Definition at line 161 of file PluginManager.h.