Public Member Functions | List of all members
lar_content::LArTrackPfoFactory Class Reference

lar pfo object factory responsible for pfo creation More...

#include <LArTrackPfo.h>

Inheritance diagram for lar_content::LArTrackPfoFactory:

Public Member Functions

Parameters * NewParameters () const
 Create new parameters instance on the heap (memory-management to be controlled by user) More...
 
pandora::StatusCode Read (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::ParticleFlowObject *const pObject, pandora::FileWriter &fileWriter) const
 Persist any additional (derived class only) object parameters using the specified file writer. More...
 
pandora::StatusCode Create (const object_creation::ParticleFlowObject::Parameters &parameters, const pandora::ParticleFlowObject *&pObject) const
 Create an object with the given parameters. More...
 

Detailed Description

lar pfo object factory responsible for pfo creation

Definition at line 84 of file LArTrackPfo.h.

Member Function Documentation

pandora::StatusCode lar_content::LArTrackPfoFactory::Create ( const object_creation::ParticleFlowObject::Parameters &  parameters,
const pandora::ParticleFlowObject *&  pObject 
) const
inline

Create an object with the given parameters.

Parameters
parametersthe parameters to pass in constructor
pObjectto receive the address of the object created

Definition at line 129 of file LArTrackPfo.h.

130 {
131  const LArTrackPfoParameters &larPfoParameters(dynamic_cast<const LArTrackPfoParameters &>(parameters));
132  pObject = new LArTrackPfo(larPfoParameters);
133 
134  return pandora::STATUS_CODE_SUCCESS;
135 }
LArTrackPfoFactory::Parameters * lar_content::LArTrackPfoFactory::NewParameters ( ) const
inline

Create new parameters instance on the heap (memory-management to be controlled by user)

Returns
the address of the new parameters instance

Definition at line 122 of file LArTrackPfo.h.

123 {
124  return (new LArTrackPfoParameters);
125 }
pandora::StatusCode lar_content::LArTrackPfoFactory::Read ( Parameters &  parameters,
pandora::FileReader &  fileReader 
) const
inline

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

Definition at line 139 of file LArTrackPfo.h.

140 {
141  // TODO: Provide this functionality when necessary
142 
143  return pandora::STATUS_CODE_SUCCESS;
144 }
pandora::StatusCode lar_content::LArTrackPfoFactory::Write ( const pandora::ParticleFlowObject *const  pObject,
pandora::FileWriter &  fileWriter 
) const
inline

Persist any additional (derived class only) object parameters using the specified file writer.

Parameters
pObjectthe address of the object to persist
fileWriterthe file writer

Definition at line 148 of file LArTrackPfo.h.

149 {
150  // TODO: Provide this functionality when necessary
151 
152  return pandora::STATUS_CODE_SUCCESS;
153 }

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