Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
LArDLContent.cc File Reference

Factory implementations for content intended for use with particle flow reconstruction at liquid argon time projection chambers. More...

Include dependency graph for LArDLContent.cc:

Go to the source code of this file.

Namespaces

namespace  lar_dl_content
 

Macros

#define LAR_DL_ALGORITHM_LIST(d)
 
#define LAR_DL_ALGORITHM_TOOL_LIST(d)
 
#define DL_FACTORY   Factory
 
#define LAR_DL_CONTENT_CREATE_ALGORITHM_FACTORY(a, b)
 
#define LAR_DL_CONTENT_CREATE_ALGORITHM_TOOL_FACTORY(a, b)
 
#define LAR_DL_CONTENT_REGISTER_ALGORITHM(a, b)
 
#define LAR_DL_CONTENT_REGISTER_ALGORITHM_TOOL(a, b)
 

Detailed Description

Factory implementations for content intended for use with particle flow reconstruction at liquid argon time projection chambers.

Log

Definition in file LArDLContent.cc.

Macro Definition Documentation

◆ DL_FACTORY

#define DL_FACTORY   Factory

Definition at line 37 of file LArDLContent.cc.

◆ LAR_DL_ALGORITHM_LIST

#define LAR_DL_ALGORITHM_LIST (   d)
Value:
d("LArDLMaster", DLMasterAlgorithm) \
d("LArDLClusterCharacterisation", DlClusterCharacterisationAlgorithm) \
d("LArDLHitTrackShowerId", DlHitTrackShowerIdAlgorithm) \
d("LArDLPfoCharacterisation", DlPfoCharacterisationAlgorithm) \
d("LArDLHitValidation", DlHitValidationAlgorithm) \
d("LArDLTrackShowerStreamSelection", DlTrackShowerStreamSelectionAlgorithm) \
d("LArDLVertexing", DlVertexingAlgorithm)

Definition at line 26 of file LArDLContent.cc.

◆ LAR_DL_ALGORITHM_TOOL_LIST

#define LAR_DL_ALGORITHM_TOOL_LIST (   d)

Definition at line 35 of file LArDLContent.cc.

◆ LAR_DL_CONTENT_CREATE_ALGORITHM_FACTORY

#define LAR_DL_CONTENT_CREATE_ALGORITHM_FACTORY (   a,
 
)
Value:
{ \
public: \
{ \
return new b; \
}; \
};
#define DL_FACTORY
Factory class for instantiating algorithms.
Definition Algorithm.h:39
virtual Algorithm * CreateAlgorithm() const =0
Create an instance of an algorithm.
Algorithm class. Algorithm addresses are held only by the algorithm manager. They have a fully define...
Definition Algorithm.h:21

Definition at line 45 of file LArDLContent.cc.

◆ LAR_DL_CONTENT_CREATE_ALGORITHM_TOOL_FACTORY

#define LAR_DL_CONTENT_CREATE_ALGORITHM_TOOL_FACTORY (   a,
 
)
Value:
{ \
public: \
{ \
return new b; \
}; \
};
Factory class for instantiating algorithm tools.
virtual AlgorithmTool * CreateAlgorithmTool() const =0
Create an instance of an algorithm.
AlgorithmTool class. Algorithm tools will tend to be tailored for specific parent algorithms,...

Definition at line 59 of file LArDLContent.cc.

◆ LAR_DL_CONTENT_REGISTER_ALGORITHM

#define LAR_DL_CONTENT_REGISTER_ALGORITHM (   a,
 
)
Value:
{ \
const pandora::StatusCode statusCode(PandoraApi::RegisterAlgorithmFactory(pandora, a, new lar_dl_content::b##DL_FACTORY)); \
if (pandora::STATUS_CODE_SUCCESS != statusCode) \
return statusCode; \
}
static pandora::StatusCode RegisterAlgorithmFactory(const pandora::Pandora &pandora, const std::string &algorithmType, pandora::AlgorithmFactory *const pAlgorithmFactory)
Register an algorithm factory with pandora.
Definition PandoraApi.cc:28
StatusCode
The StatusCode enum.

Definition at line 76 of file LArDLContent.cc.

◆ LAR_DL_CONTENT_REGISTER_ALGORITHM_TOOL

#define LAR_DL_CONTENT_REGISTER_ALGORITHM_TOOL (   a,
 
)
Value:
{ \
const pandora::StatusCode statusCode(PandoraApi::RegisterAlgorithmToolFactory(pandora, a, new lar_dl_content::b##DL_FACTORY)); \
if (pandora::STATUS_CODE_SUCCESS != statusCode) \
return statusCode; \
}
static pandora::StatusCode RegisterAlgorithmToolFactory(const pandora::Pandora &pandora, const std::string &algorithmToolType, pandora::AlgorithmToolFactory *const pAlgorithmToolFactory)
Register an algorithm tool factory with pandora.
Definition PandoraApi.cc:36

Definition at line 83 of file LArDLContent.cc.