APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
Private Member Functions | List of all members
april_content::TrackFactory Class Reference

TrackFactory class. More...

#include <ObjectFactories.h>

Inheritance diagram for april_content::TrackFactory:

Private Member Functions

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 &parameters, 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 &parameters, const pandora::Track *&pTrack) const
 Create an object with the given parameters. More...
 

Detailed Description

TrackFactory class.

Member Function Documentation

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
parametersthe parameters to pass in constructor
pObjectto 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
parametersthe parameters to pass in constructor
fileReaderthe 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
pCaloHitthe address of the object to persist
fileWriterthe file writer

The documentation for this class was generated from the following files: