Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_content::LArTrackPfoFactory Class Referenceabstract

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

#include "LArTrackPfo.h"

Inheritance diagram for lar_content::LArTrackPfoFactory:
Collaboration diagram for lar_content::LArTrackPfoFactory:

Public Types

typedef object_creation::ParticleFlowObject::Parameters Parameters
 
typedef pandora::ParticleFlowObject Object
 

Public Member Functions

ParametersNewParameters () const
 Create new parameters instance on the heap (memory-management to be controlled by user)
 
pandora::StatusCode Read (Parameters &parameters, pandora::FileReader &fileReader) const
 Read any additional (derived class only) object parameters from file using the specified file reader.
 
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.
 
pandora::StatusCode Create (const object_creation::ParticleFlowObject::Parameters &parameters, const pandora::ParticleFlowObject *&pObject) const
 Create an object with the given parameters.
 
virtual StatusCode Read (Parameters &parameters, FileReader &fileReader) const=0
 Read any additional (derived class only) object parameters from file using the specified file reader.
 

Detailed Description

lar pfo object factory responsible for pfo creation

Definition at line 84 of file LArTrackPfo.h.

Member Typedef Documentation

◆ Object

◆ Parameters

Member Function Documentation

◆ Create()

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

Create an object with the given parameters.

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

Implements pandora::ObjectFactory< object_creation::ParticleFlowObject::Parameters, pandora::ParticleFlowObject >.

Definition at line 129 of file LArTrackPfo.h.

◆ NewParameters()

LArTrackPfoFactory::Parameters * lar_content::LArTrackPfoFactory::NewParameters ( ) const
inlinevirtual

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

Returns
the address of the new parameters instance

Implements pandora::ObjectFactory< object_creation::ParticleFlowObject::Parameters, pandora::ParticleFlowObject >.

Definition at line 122 of file LArTrackPfo.h.

◆ Read() [1/2]

virtual StatusCode pandora::ObjectFactory< object_creation::ParticleFlowObject::Parameters , pandora::ParticleFlowObject >::Read ( Parameters parameters,
FileReader fileReader 
) const
pure virtualinherited

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

◆ Read() [2/2]

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.

◆ Write()

pandora::StatusCode lar_content::LArTrackPfoFactory::Write ( const pandora::ParticleFlowObject *const  pObject,
pandora::FileWriter fileWriter 
) const
inlinevirtual

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

Parameters
pObjectthe address of the object to persist
fileWriterthe file writer

Implements pandora::ObjectFactory< object_creation::ParticleFlowObject::Parameters, pandora::ParticleFlowObject >.

Definition at line 148 of file LArTrackPfo.h.


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