8#ifndef PANDORA_PERSISTENCY_H
9#define PANDORA_PERSISTENCY_H 1
61 template <
typename PARAMETERS,
typename OBJECT>
70 template <
typename PARAMETERS,
typename OBJECT>
Header file for pandora object creation classes.
Header file for the object factory class.
Header file for the pandora object factories classes.
ObjectFactory class responsible for extended pandora object creation.
ObjectFactory< object_creation::Geometry::BoxGap::Parameters, object_creation::Geometry::BoxGap::Object > * m_pBoxGapFactory
Address of the box gap factory.
ContainerId m_containerId
The type of container currently being written to file.
const Pandora *const m_pPandora
Address of pandora instance to be used alongside the file writer.
ObjectFactory< object_creation::MCParticle::Parameters, object_creation::MCParticle::Object > * m_pMCParticleFactory
Address of the mc particle factory.
ObjectFactory< object_creation::Geometry::LArTPC::Parameters, object_creation::Geometry::LArTPC::Object > * m_pLArTPCFactory
Address of the lar tpc factory.
ObjectFactory< object_creation::Track::Parameters, object_creation::Track::Object > * m_pTrackFactory
Address of the track factory.
virtual ~Persistency()
Destructor.
const std::string & GetFileName() const
Get the file name.
ObjectFactory< object_creation::CaloHit::Parameters, object_creation::CaloHit::Object > * m_pCaloHitFactory
Address of the calo hit factory.
ObjectFactory< object_creation::Geometry::LineGap::Parameters, object_creation::Geometry::LineGap::Object > * m_pLineGapFactory
Address of the line gap factory.
void ReplaceCurrentFactory(ObjectFactory< PARAMETERS, OBJECT > *const pFactory)
Replace the current factory with the provided instance.
ObjectFactory< object_creation::Geometry::ConcentricGap::Parameters, object_creation::Geometry::ConcentricGap::Object > * m_pConcentricGapFactory
Address of the concentric gap factory.
std::string m_fileName
The file name.
ObjectFactory< object_creation::Geometry::SubDetector::Parameters, object_creation::Geometry::SubDetector::Object > * m_pSubDetectorFactory
Address of the sub detector factory.
StatusCode SetFactory(ObjectFactory< PARAMETERS, OBJECT > *const pFactory)
Set the factory to use for all instantiations and parameter persistence.
FileType GetFileType() const
Get the file type.
FileType m_fileType
The file type.
ContainerId
The container identification enum.
StatusCode
The StatusCode enum.
FileType
The file type enum.