48template <
typename PARAMETERS,
typename OBJECT>
52 return STATUS_CODE_INVALID_PARAMETER;
55 return STATUS_CODE_SUCCESS;
Header file for the pandora class.
Header file for persistency class.
BoxGap class, associated with all 3D hit types.
ConcentricGap class, associated with all 3D hit types.
LineGap class, associated only with 2D TPC hit types and applied only to the z coordinate when sampli...
ObjectFactory class responsible for extended pandora object creation.
PandoraObjectFactory class.
ObjectFactory< object_creation::Geometry::BoxGap::Parameters, object_creation::Geometry::BoxGap::Object > * m_pBoxGapFactory
Address of the box gap factory.
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.
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.
Persistency(const pandora::Pandora &pandora, const std::string &fileName)
Constructor.
ObjectFactory< object_creation::Geometry::ConcentricGap::Parameters, object_creation::Geometry::ConcentricGap::Object > * m_pConcentricGapFactory
Address of the concentric gap factory.
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.
StatusCode
The StatusCode enum.