Pandora
Pandora source code navigator
|
PandoraApiImpl class. More...
#include "PandoraApiImpl.h"
Private Member Functions | |
template<typename PARAMETERS , typename OBJECT > | |
StatusCode | Create (const PARAMETERS ¶meters, const ObjectFactory< PARAMETERS, OBJECT > &factory) const |
Create an object for pandora. | |
StatusCode | ProcessEvent () const |
Process event. | |
StatusCode | ReadSettings (const std::string &xmlFileName) const |
Read pandora settings. | |
StatusCode | RegisterAlgorithmFactory (const std::string &algorithmType, AlgorithmFactory *const pAlgorithmFactory) const |
Register an algorithm factory with pandora. | |
StatusCode | RegisterAlgorithmToolFactory (const std::string &algorithmToolType, AlgorithmToolFactory *const pAlgorithmToolFactory) const |
Register an algorithm tool factory with pandora. | |
StatusCode | SetMCParentDaughterRelationship (const void *const pParentAddress, const void *const pDaughterAddress) const |
Set parent-daughter mc particle relationship. | |
StatusCode | SetTrackParentDaughterRelationship (const void *const pParentAddress, const void *const pDaughterAddress) const |
Set parent-daughter track relationship. | |
StatusCode | SetTrackSiblingRelationship (const void *const pFirstSiblingAddress, const void *const pSecondSiblingAddress) const |
Set sibling track relationship. | |
StatusCode | SetCaloHitToMCParticleRelationship (const void *const pCaloHitParentAddress, const void *const pMCParticleParentAddress, const float mcParticleWeight) const |
Set calo hit to mc particle relationship. | |
StatusCode | SetTrackToMCParticleRelationship (const void *const pTrackParentAddress, const void *const pMCParticleParentAddress, const float mcParticleWeight) const |
Set track to mc particle relationship. | |
StatusCode | GetCurrentPfoList (const PfoList *&pPfoList, std::string &pfoListName) const |
Get the current pfo list. | |
StatusCode | GetPfoList (const std::string &pfoListName, const PfoList *&pPfoList) const |
Get a named pfo list. | |
StatusCode | SetHitTypeGranularity (const HitType hitType, const Granularity granularity) const |
Set the granularity level to be associated with a specified hit type. | |
StatusCode | SetBFieldPlugin (BFieldPlugin *const pBFieldPlugin) const |
Set the bfield plugin used by pandora. | |
StatusCode | SetLArTransformationPlugin (LArTransformationPlugin *const pLArTransformationPlugin) const |
Set the lar transformation plugin used by pandora. | |
StatusCode | SetPseudoLayerPlugin (PseudoLayerPlugin *const pPseudoLayerPlugin) const |
Set the pseudo layer plugin used by pandora. | |
StatusCode | SetShowerProfilePlugin (ShowerProfilePlugin *const pShowerProfilePlugin) const |
Set the shower profile plugin used by pandora. | |
StatusCode | RegisterEnergyCorrectionPlugin (const std::string &name, const EnergyCorrectionType energyCorrectionType, EnergyCorrectionPlugin *const pEnergyCorrectionPlugin) const |
Register an energy correction plugin. | |
StatusCode | RegisterParticleIdPlugin (const std::string &name, ParticleIdPlugin *const pParticleIdPlugin) const |
Register a particle id plugin. | |
StatusCode | ResetEvent () const |
Reset pandora to process another event. | |
PandoraApiImpl (Pandora *const pPandora) | |
Constructor. | |
Private Attributes | |
Pandora * | m_pPandora |
The pandora object to provide an interface to. | |
Friends | |
class | Pandora |
class | PandoraImpl |
class | ::PandoraApi |
template<typename PARAMETERS , typename METADATA , typename OBJECT > | |
class | ::object_creation::ObjectCreationHelper |
PandoraApiImpl class.
Definition at line 23 of file PandoraApiImpl.h.
|
private |
Constructor.
pPandora | address of the pandora object to interface |
Definition at line 236 of file PandoraApiImpl.cc.
StatusCode pandora::PandoraApiImpl::Create | ( | const object_creation::CaloHit::Parameters & | parameters, |
const ObjectFactory< object_creation::CaloHit::Parameters, object_creation::CaloHit::Object > & | factory | ||
) | const |
StatusCode pandora::PandoraApiImpl::Create | ( | const object_creation::Geometry::BoxGap::Parameters & | parameters, |
const ObjectFactory< object_creation::Geometry::BoxGap::Parameters, object_creation::Geometry::BoxGap::Object > & | factory | ||
) | const |
StatusCode pandora::PandoraApiImpl::Create | ( | const object_creation::Geometry::ConcentricGap::Parameters & | parameters, |
const ObjectFactory< object_creation::Geometry::ConcentricGap::Parameters, object_creation::Geometry::ConcentricGap::Object > & | factory | ||
) | const |
StatusCode pandora::PandoraApiImpl::Create | ( | const object_creation::Geometry::LArTPC::Parameters & | parameters, |
const ObjectFactory< object_creation::Geometry::LArTPC::Parameters, object_creation::Geometry::LArTPC::Object > & | factory | ||
) | const |
StatusCode pandora::PandoraApiImpl::Create | ( | const object_creation::Geometry::LineGap::Parameters & | parameters, |
const ObjectFactory< object_creation::Geometry::LineGap::Parameters, object_creation::Geometry::LineGap::Object > & | factory | ||
) | const |
StatusCode pandora::PandoraApiImpl::Create | ( | const object_creation::Geometry::SubDetector::Parameters & | parameters, |
const ObjectFactory< object_creation::Geometry::SubDetector::Parameters, object_creation::Geometry::SubDetector::Object > & | factory | ||
) | const |
StatusCode pandora::PandoraApiImpl::Create | ( | const object_creation::MCParticle::Parameters & | parameters, |
const ObjectFactory< object_creation::MCParticle::Parameters, object_creation::MCParticle::Object > & | factory | ||
) | const |
StatusCode pandora::PandoraApiImpl::Create | ( | const object_creation::Track::Parameters & | parameters, |
const ObjectFactory< object_creation::Track::Parameters, object_creation::Track::Object > & | factory | ||
) | const |
|
private |
Create an object for pandora.
parameters | the object parameters |
factory | the factory that performs the object allocation |
Definition at line 93 of file PandoraApiImpl.cc.
|
private |
Get the current pfo list.
pPfoList | to receive the address of the current pfo list |
pfoListName | to receive the current pfo list name |
Definition at line 165 of file PandoraApiImpl.cc.
|
private |
Get a named pfo list.
pfoListName | the name of the pfo list |
pPfoList | to receive the address of the pfo list |
Definition at line 172 of file PandoraApiImpl.cc.
|
private |
Process event.
Definition at line 100 of file PandoraApiImpl.cc.
|
private |
Read pandora settings.
xmlFileName | the name of the xml file containing the settings |
Definition at line 107 of file PandoraApiImpl.cc.
|
private |
Register an algorithm factory with pandora.
algorithmType | the type of algorithm that the factory will create |
pAlgorithmFactory | the address of an algorithm factory instance |
Definition at line 114 of file PandoraApiImpl.cc.
|
private |
Register an algorithm tool factory with pandora.
algorithmToolType | the type of algorithm tool that the factory will create |
pAlgorithmToolFactory | the address of an algorithm tool factory instance |
Definition at line 121 of file PandoraApiImpl.cc.
|
private |
Register an energy correction plugin.
name | the name/label associated with the energy correction plugin |
energyCorrectionType | the energy correction type |
pEnergyCorrectionPlugin | address of the energy correction plugin (will pass ownership to pandora) |
Definition at line 214 of file PandoraApiImpl.cc.
|
private |
Register a particle id plugin.
functionName | the name/label associated with the particle id plugin |
pParticleIdPlugin | address of the particle id plugin (will pass ownership to pandora) |
Definition at line 222 of file PandoraApiImpl.cc.
|
private |
Reset pandora to process another event.
Definition at line 229 of file PandoraApiImpl.cc.
|
private |
Set the bfield plugin used by pandora.
pBFieldPlugin | address of the bfield plugin (will pass ownership to pandora) |
Definition at line 186 of file PandoraApiImpl.cc.
|
private |
Set calo hit to mc particle relationship.
pCaloHitParentAddress | address of calo hit in the user framework |
pMCParticleParentAddress | address of mc particle in the user framework |
mcParticleWeight | weighting to assign to the mc particle |
Definition at line 149 of file PandoraApiImpl.cc.
|
private |
Set the granularity level to be associated with a specified hit type.
hitType | the specified hit type |
granularity | the specified granularity |
Definition at line 179 of file PandoraApiImpl.cc.
|
private |
Set the lar transformation plugin used by pandora.
pLArTransformationPlugin | address of the lar transformation plugin (will pass ownership to pandora) |
Definition at line 193 of file PandoraApiImpl.cc.
|
private |
Set parent-daughter mc particle relationship.
pParentAddress | address of parent mc particle in the user framework |
pDaughterAddress | address of daughter mc particle in the user framework |
Definition at line 128 of file PandoraApiImpl.cc.
|
private |
Set the pseudo layer plugin used by pandora.
pPseudoLayerPlugin | address of the pseudo layer plugin (will pass ownership to pandora) |
Definition at line 200 of file PandoraApiImpl.cc.
|
private |
Set the shower profile plugin used by pandora.
pPseudoLayerPlugin | address of the pseudo layer plugin (will pass ownership to pandora) |
Definition at line 207 of file PandoraApiImpl.cc.
|
private |
Set parent-daughter track relationship.
pParentAddress | address of parent track in the user framework |
pDaughterAddress | address of daughter track in the user framework |
Definition at line 135 of file PandoraApiImpl.cc.
|
private |
Set sibling track relationship.
pFirstSiblingAddress | address of first sibling track in the user framework |
pSecondSiblingAddress | address of second sibling track in the user framework |
Definition at line 142 of file PandoraApiImpl.cc.
|
private |
Set track to mc particle relationship.
pTrackParentAddress | address of track in the user framework |
pMCParticleParentAddress | address of mc particle in the user framework |
mcParticleWeight | weighting to assign to the mc particle |
Definition at line 157 of file PandoraApiImpl.cc.
|
friend |
Definition at line 194 of file PandoraApiImpl.h.
|
friend |
Definition at line 193 of file PandoraApiImpl.h.
|
friend |
Definition at line 191 of file PandoraApiImpl.h.
|
friend |
Definition at line 192 of file PandoraApiImpl.h.
|
private |
The pandora object to provide an interface to.
Definition at line 189 of file PandoraApiImpl.h.