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

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

#include "LArShowerPfo.h"

Inheritance diagram for lar_content::LArShowerPfoFactory:
Collaboration diagram for lar_content::LArShowerPfoFactory:

Public Types

typedef object_creation::ParticleFlowObject::Parameters Parameters
 
typedef object_creation::ParticleFlowObject::Object 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 Object *const pObject, pandora::FileWriter &fileWriter) const
 Persist any additional (derived class only) object parameters using the specified file writer.
 
pandora::StatusCode Create (const Parameters &parameters, const Object *&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.
 
virtual StatusCode Write (const Object *const pObject, FileWriter &fileWriter) const=0
 Persist any additional (derived class only) object parameters using the specified file writer.
 

Protected Member Functions

virtual StatusCode Create (const Parameters &parameters, const Object *&pObject) const=0
 Create an object with the given parameters.
 

Detailed Description

lar pfo object factory responsible for pfo creation

Definition at line 124 of file LArShowerPfo.h.

Member Typedef Documentation

◆ Object

◆ Parameters

Member Function Documentation

◆ Create() [1/2]

pandora::StatusCode lar_content::LArShowerPfoFactory::Create ( const Parameters parameters,
const Object *&  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 240 of file LArShowerPfo.h.

◆ Create() [2/2]

virtual StatusCode pandora::ObjectFactory< object_creation::ParticleFlowObject::Parameters , object_creation::ParticleFlowObject::Object >::Create ( const Parameters parameters,
const Object *&  pObject 
) const
protectedpure virtualinherited

Create an object with the given parameters.

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

◆ NewParameters()

LArShowerPfoFactory::Parameters * lar_content::LArShowerPfoFactory::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, object_creation::ParticleFlowObject::Object >.

Definition at line 233 of file LArShowerPfo.h.

◆ Read() [1/2]

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::LArShowerPfoFactory::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 250 of file LArShowerPfo.h.

◆ Write() [1/2]

virtual StatusCode pandora::ObjectFactory< object_creation::ParticleFlowObject::Parameters , object_creation::ParticleFlowObject::Object >::Write ( const Object *const  pObject,
FileWriter fileWriter 
) const
pure virtualinherited

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

Parameters
pObjectthe address of the object to persist
fileWriterthe file writer

◆ Write() [2/2]

pandora::StatusCode lar_content::LArShowerPfoFactory::Write ( const Object *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 259 of file LArShowerPfo.h.


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