Standard algorithm maker class. More...
#include <OpRecoFactoryStuff.h>
Public Member Functions | |
| AlgoMakerFor (std::string const &name) | |
| std::unique_ptr< Base > | makeAlgo (fhicl::ParameterSet const &pset) const override |
| Algorithm class construction. More... | |
Public Member Functions inherited from opdet::factory::AlgorithmFactory< Base >::AlgoMaker | |
| AlgoMaker (std::string name) | |
| virtual | ~AlgoMaker ()=default |
| bool | operator< (AlgoMaker const &other) const |
| Comparison: sort by name in lexicographic order. More... | |
Additional Inherited Members | |
Public Attributes inherited from opdet::factory::AlgorithmFactory< Base >::AlgoMaker | |
| std::string | name |
| The name associated to this algorithm. More... | |
Standard algorithm maker class.
| Algo | the concrete algorithm class delivered by this object |
This class implements AlgoMaker by overriding makeAlgo() method. Its implementation simply constructs a new object of type Algo passing the parameter set in the interface to the constructor of the Algo class.
Definition at line 340 of file OpRecoFactoryStuff.h.
|
inline |
Definition at line 466 of file OpRecoFactoryStuff.h.
|
inlineoverridevirtual |
Algorithm class construction.
| pset | the parameter set used to construct the algorithm object |
Base, ready for useThe implementations will do whatever it takes to allocate and construct the Algo_t-derived object they cover, based on the content of pset, and return it.
Implements opdet::factory::AlgorithmFactory< Base >::AlgoMaker.
Definition at line 469 of file OpRecoFactoryStuff.h.
1.8.5