Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
pandora::PluginManager Class Reference

PluginManager class. More...

#include "PluginManager.h"

Collaboration diagram for pandora::PluginManager:

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 BFieldPluginGetBFieldPlugin () const
 Get the address of the b field plugin.
 
const LArTransformationPluginGetLArTransformationPlugin () const
 Get the address of the lar transformation plugin.
 
const PseudoLayerPluginGetPseudoLayerPlugin () const
 Get the address of the pseudo layer plugin.
 
const ShowerProfilePluginGetShowerProfilePlugin () const
 Get the shower profile plugin.
 
const EnergyCorrectionsGetEnergyCorrections () const
 Get the pandora energy corrections instance.
 
const ParticleIdGetParticleId () 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

BFieldPluginm_pBFieldPlugin
 Address of the bfield plugin.
 
LArTransformationPluginm_pLArTransformationPlugin
 Address of the lar transformation plugin.
 
PseudoLayerPluginm_pPseudoLayerPlugin
 Address of the pseudolayer plugin.
 
ShowerProfilePluginm_pShowerProfilePlugin
 The shower profile plugin.
 
EnergyCorrectionsm_pEnergyCorrections
 The energy corrections.
 
ParticleIdm_pParticleId
 The particle id.
 
const Pandora *const m_pPandora
 The associated pandora object.
 

Friends

class PandoraApiImpl
 
class PandoraImpl
 

Detailed Description

PluginManager class.

Definition at line 32 of file PluginManager.h.

Constructor & Destructor Documentation

◆ PluginManager()

pandora::PluginManager::PluginManager ( const Pandora *const  pPandora)

Constructor.

Parameters
pPandoraaddress of the associated pandora object

Definition at line 23 of file PluginManager.cc.

Here is the call graph for this function:

◆ ~PluginManager()

pandora::PluginManager::~PluginManager ( )

Destructor.

Definition at line 53 of file PluginManager.cc.

Member Function Documentation

◆ GetBFieldPlugin()

const BFieldPlugin * pandora::PluginManager::GetBFieldPlugin ( ) const

Get the address of the b field plugin.

Returns
the address of the b field plugin

Definition at line 94 of file PluginManager.cc.

◆ GetEnergyCorrections()

const EnergyCorrections * pandora::PluginManager::GetEnergyCorrections ( ) const

Get the pandora energy corrections instance.

Returns
the address of the pandora energy corrections instance

Definition at line 134 of file PluginManager.cc.

◆ GetLArTransformationPlugin()

const LArTransformationPlugin * pandora::PluginManager::GetLArTransformationPlugin ( ) const

Get the address of the lar transformation plugin.

Returns
the address of the lar transformation plugin

Definition at line 104 of file PluginManager.cc.

Here is the caller graph for this function:

◆ GetParticleId()

const ParticleId * pandora::PluginManager::GetParticleId ( ) const

Get the address of the pandora particle id instance.

Returns
the address of the pandora particle id instance

Definition at line 144 of file PluginManager.cc.

Here is the caller graph for this function:

◆ GetPseudoLayerPlugin()

const PseudoLayerPlugin * pandora::PluginManager::GetPseudoLayerPlugin ( ) const

Get the address of the pseudo layer plugin.

Returns
the address of the pseudo layer plugin

Definition at line 114 of file PluginManager.cc.

Here is the caller graph for this function:

◆ GetShowerProfilePlugin()

const ShowerProfilePlugin * pandora::PluginManager::GetShowerProfilePlugin ( ) const

Get the shower profile plugin.

Returns
address of the shower profile plugin

Definition at line 124 of file PluginManager.cc.

◆ HasBFieldPlugin()

bool pandora::PluginManager::HasBFieldPlugin ( ) const

Whether the b field plugin is available.

Returns
boolean

Definition at line 66 of file PluginManager.cc.

◆ HasLArTransformationPlugin()

bool pandora::PluginManager::HasLArTransformationPlugin ( ) const

Whether the lar transformation plugin is available.

Returns
boolean

Definition at line 73 of file PluginManager.cc.

◆ HasPseudoLayerPlugin()

bool pandora::PluginManager::HasPseudoLayerPlugin ( ) const

Whether the pseudo layer plugin is available.

Returns
boolean

Definition at line 80 of file PluginManager.cc.

Here is the caller graph for this function:

◆ HasShowerProfilePlugin()

bool pandora::PluginManager::HasShowerProfilePlugin ( ) const

Whether the shower profile plugin is available.

Returns
boolean

Definition at line 87 of file PluginManager.cc.

◆ InitializePlugins()

StatusCode pandora::PluginManager::InitializePlugins ( const TiXmlHandle *const  pXmlHandle)
private

Initialize plugins.

Parameters
pXmlHandleaddress of the relevant xml handle

Definition at line 198 of file PluginManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ResetForNextEvent()

StatusCode pandora::PluginManager::ResetForNextEvent ( )
private

Call the reset callback in all managed plugins.

Definition at line 252 of file PluginManager.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetBFieldPlugin()

StatusCode pandora::PluginManager::SetBFieldPlugin ( BFieldPlugin *const  pBFieldPlugin)
private

Set the bfield plugin.

Parameters
pBFieldPluginaddress of the bfield plugin

Definition at line 154 of file PluginManager.cc.

Here is the caller graph for this function:

◆ SetLArTransformationPlugin()

StatusCode pandora::PluginManager::SetLArTransformationPlugin ( LArTransformationPlugin *const  pLArTransformationPlugin)
private

Set the lar transformation plugin.

Parameters
pLArTransformationPluginaddress of the lar transformation plugin

Definition at line 165 of file PluginManager.cc.

Here is the caller graph for this function:

◆ SetPseudoLayerPlugin()

StatusCode pandora::PluginManager::SetPseudoLayerPlugin ( PseudoLayerPlugin *const  pPseudoLayerPlugin)
private

Set the pseudo layer plugin.

Parameters
pPseudoLayerPluginaddress of the pseudo layer plugin

Definition at line 176 of file PluginManager.cc.

Here is the caller graph for this function:

◆ SetShowerProfilePlugin()

StatusCode pandora::PluginManager::SetShowerProfilePlugin ( ShowerProfilePlugin *const  pShowerProfilePlugin)
private

Set the shower profile plugin.

Parameters
pPseudoLayerPluginaddress of the shower profile plugin

Definition at line 187 of file PluginManager.cc.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ PandoraApiImpl

friend class PandoraApiImpl
friend

Definition at line 168 of file PluginManager.h.

◆ PandoraImpl

friend class PandoraImpl
friend

Definition at line 169 of file PluginManager.h.

Member Data Documentation

◆ m_pBFieldPlugin

BFieldPlugin* pandora::PluginManager::m_pBFieldPlugin
private

Address of the bfield plugin.

Definition at line 158 of file PluginManager.h.

◆ m_pEnergyCorrections

EnergyCorrections* pandora::PluginManager::m_pEnergyCorrections
private

The energy corrections.

Definition at line 163 of file PluginManager.h.

◆ m_pLArTransformationPlugin

LArTransformationPlugin* pandora::PluginManager::m_pLArTransformationPlugin
private

Address of the lar transformation plugin.

Definition at line 159 of file PluginManager.h.

◆ m_pPandora

const Pandora* const pandora::PluginManager::m_pPandora
private

The associated pandora object.

Definition at line 166 of file PluginManager.h.

◆ m_pParticleId

ParticleId* pandora::PluginManager::m_pParticleId
private

The particle id.

Definition at line 164 of file PluginManager.h.

◆ m_pPseudoLayerPlugin

PseudoLayerPlugin* pandora::PluginManager::m_pPseudoLayerPlugin
private

Address of the pseudolayer plugin.

Definition at line 160 of file PluginManager.h.

◆ m_pShowerProfilePlugin

ShowerProfilePlugin* pandora::PluginManager::m_pShowerProfilePlugin
private

The shower profile plugin.

Definition at line 161 of file PluginManager.h.


The documentation for this class was generated from the following files: