Pandora
Pandora source code navigator
|
Persistency class. More...
#include "Persistency.h"
Protected Member Functions | |
template<typename PARAMETERS , typename OBJECT > | |
void | ReplaceCurrentFactory (ObjectFactory< PARAMETERS, OBJECT > *const pFactory) |
Replace the current factory with the provided instance. | |
Persistency class.
Definition at line 25 of file Persistency.h.
pandora::Persistency::Persistency | ( | const pandora::Pandora & | pandora, |
const std::string & | fileName | ||
) |
Constructor.
pandora | the pandora instance to be used alongside the file writer |
fileName | the name of the output file |
fileMode | the mode for file writing |
Definition at line 16 of file Persistency.cc.
|
virtual |
Destructor.
Definition at line 34 of file Persistency.cc.
|
inline |
|
inline |
Get the file type.
Definition at line 97 of file Persistency.h.
void pandora::Persistency::ReplaceCurrentFactory | ( | ObjectFactory< object_creation::CaloHit::Parameters, object_creation::CaloHit::Object > *const | pFactory | ) |
Definition at line 61 of file Persistency.cc.
void pandora::Persistency::ReplaceCurrentFactory | ( | ObjectFactory< object_creation::Geometry::BoxGap::Parameters, object_creation::Geometry::BoxGap::Object > *const | pFactory | ) |
Definition at line 103 of file Persistency.cc.
void pandora::Persistency::ReplaceCurrentFactory | ( | ObjectFactory< object_creation::Geometry::ConcentricGap::Parameters, object_creation::Geometry::ConcentricGap::Object > *const | pFactory | ) |
Definition at line 110 of file Persistency.cc.
void pandora::Persistency::ReplaceCurrentFactory | ( | ObjectFactory< object_creation::Geometry::LArTPC::Parameters, object_creation::Geometry::LArTPC::Object > *const | pFactory | ) |
Definition at line 89 of file Persistency.cc.
void pandora::Persistency::ReplaceCurrentFactory | ( | ObjectFactory< object_creation::Geometry::LineGap::Parameters, object_creation::Geometry::LineGap::Object > *const | pFactory | ) |
Definition at line 96 of file Persistency.cc.
void pandora::Persistency::ReplaceCurrentFactory | ( | ObjectFactory< object_creation::Geometry::SubDetector::Parameters, object_creation::Geometry::SubDetector::Object > *const | pFactory | ) |
Definition at line 82 of file Persistency.cc.
void pandora::Persistency::ReplaceCurrentFactory | ( | ObjectFactory< object_creation::MCParticle::Parameters, object_creation::MCParticle::Object > *const | pFactory | ) |
Definition at line 75 of file Persistency.cc.
void pandora::Persistency::ReplaceCurrentFactory | ( | ObjectFactory< object_creation::Track::Parameters, object_creation::Track::Object > *const | pFactory | ) |
Definition at line 68 of file Persistency.cc.
|
protected |
Replace the current factory with the provided instance.
pFactory | address of the factory |
template StatusCode pandora::Persistency::SetFactory | ( | ObjectFactory< PARAMETERS, OBJECT > *const | pFactory | ) |
Set the factory to use for all instantiations and parameter persistence.
pFactory | address of the factory |
Definition at line 49 of file Persistency.cc.
|
protected |
The type of container currently being written to file.
Definition at line 76 of file Persistency.h.
|
protected |
The file name.
Definition at line 74 of file Persistency.h.
|
protected |
The file type.
Definition at line 75 of file Persistency.h.
|
protected |
Address of the box gap factory.
Definition at line 84 of file Persistency.h.
|
protected |
Address of the calo hit factory.
Definition at line 78 of file Persistency.h.
|
protected |
Address of the concentric gap factory.
Definition at line 85 of file Persistency.h.
|
protected |
Address of the lar tpc factory.
Definition at line 82 of file Persistency.h.
|
protected |
Address of the line gap factory.
Definition at line 83 of file Persistency.h.
|
protected |
Address of the mc particle factory.
Definition at line 80 of file Persistency.h.
|
protected |
Address of pandora instance to be used alongside the file writer.
Definition at line 73 of file Persistency.h.
|
protected |
Address of the sub detector factory.
Definition at line 81 of file Persistency.h.
|
protected |
Address of the track factory.
Definition at line 79 of file Persistency.h.