wrapper around a DDAlgorithm More...
#include <DDAlgorithmHandler.h>
Public Member Functions | |
DDAlgorithmHandler () | |
creates an DDAlgorithm wrapper More... | |
void | execute (DDCompactView &) |
executes the wrapped algorithm algo_; some pre- and post-processing (exception handling) More... | |
void | initialize (const std::string &algoName, const DDLogicalPart &parent, const DDNumericArguments &nArgs, const DDVectorArguments &vArgs, const DDMapArguments &mArgs, const DDStringArguments &sArgs, const DDStringVectorArguments &svArgs) |
initializes the wrapped algorithm algo_ and does some pre- and post-processing More... | |
virtual | ~DDAlgorithmHandler () |
Private Attributes | |
DDAlgorithm * | algo_ |
the wrapped algorithm object More... | |
std::string | algoname_ |
name of the algorithm object More... | |
DDLogicalPart | parent_ |
parent logical part More... | |
wrapper around a DDAlgorithm
used from DDParser for setting up, initializing, and executing an DDAlgorithm
Definition at line 15 of file DDAlgorithmHandler.h.
DDAlgorithmHandler::DDAlgorithmHandler | ( | ) |
creates an DDAlgorithm wrapper
a | is a pointer to an DDAlgorithm object; its memory is NOT managed by DDAlgorithmHandler |
Definition at line 12 of file DDAlgorithmHandler.cc.
|
virtual |
Definition at line 17 of file DDAlgorithmHandler.cc.
References algo_.
void DDAlgorithmHandler::execute | ( | DDCompactView & | cpv | ) |
executes the wrapped algorithm algo_; some pre- and post-processing (exception handling)
Definition at line 41 of file DDAlgorithmHandler.cc.
References algo_.
Referenced by DDLAlgorithm::processElement().
void DDAlgorithmHandler::initialize | ( | const std::string & | algoName, |
const DDLogicalPart & | parent, | ||
const DDNumericArguments & | nArgs, | ||
const DDVectorArguments & | vArgs, | ||
const DDMapArguments & | mArgs, | ||
const DDStringArguments & | sArgs, | ||
const DDStringVectorArguments & | svArgs | ||
) |
initializes the wrapped algorithm algo_ and does some pre- and post-processing
pre- and postprocessing mainly covers exception handling, the algorithm object algo_ is fetched from the plugin-manager
Definition at line 25 of file DDAlgorithmHandler.cc.
References algo_, algoname_, DDSplit(), and reco::get().
Referenced by DDLAlgorithm::processElement().
|
private |
the wrapped algorithm object
Definition at line 41 of file DDAlgorithmHandler.h.
Referenced by execute(), initialize(), and ~DDAlgorithmHandler().
|
private |
name of the algorithm object
Definition at line 42 of file DDAlgorithmHandler.h.
Referenced by initialize().
|
private |
parent logical part
Definition at line 43 of file DDAlgorithmHandler.h.