TrackFactory class.
More...
#include <ObjectFactories.h>
|
PandoraApi::Track::Parameters * | NewParameters () const |
| Create new parameters instance on the heap (memory-management to be controlled by user) More...
|
|
pandora::StatusCode | Read (PandoraApi::Track::Parameters ¶meters, pandora::FileReader &fileReader) const |
| Read any additional (derived class only) object parameters from file using the specified file reader. More...
|
|
pandora::StatusCode | Write (const pandora::Track *const pTrack, pandora::FileWriter &fileWriter) const |
| Persist any additional (derived class only) object parameters using the specified file writer. More...
|
|
pandora::StatusCode | Create (const PandoraApi::Track::Parameters ¶meters, const pandora::Track *&pTrack) const |
| Create an object with the given parameters. More...
|
|
pandora::StatusCode april_content::TrackFactory::Create |
( |
const PandoraApi::Track::Parameters & |
parameters, |
|
|
const pandora::Track *& |
pTrack |
|
) |
| const |
|
private |
Create an object with the given parameters.
- Parameters
-
parameters | the parameters to pass in constructor |
pObject | to receive the address of the object created |
PandoraApi::Track::Parameters * april_content::TrackFactory::NewParameters |
( |
| ) |
const |
|
private |
Create new parameters instance on the heap (memory-management to be controlled by user)
- Returns
- the address of the new parameters instance
pandora::StatusCode april_content::TrackFactory::Read |
( |
PandoraApi::Track::Parameters & |
parameters, |
|
|
pandora::FileReader & |
fileReader |
|
) |
| const |
|
private |
Read any additional (derived class only) object parameters from file using the specified file reader.
- Parameters
-
parameters | the parameters to pass in constructor |
fileReader | the file reader, used to extract any additional parameters from file |
pandora::StatusCode april_content::TrackFactory::Write |
( |
const pandora::Track *const |
pTrack, |
|
|
pandora::FileWriter & |
fileWriter |
|
) |
| const |
|
private |
Persist any additional (derived class only) object parameters using the specified file writer.
- Parameters
-
pCaloHit | the address of the object to persist |
fileWriter | the file writer |
The documentation for this class was generated from the following files: