 |
Belle II Software
release-05-02-19
|
12 #include <tracking/trackFindingCDC/filters/base/FilterFactory.fwd.h>
23 namespace TrackFindingCDC {
26 template<
class AFilter>
55 virtual std::unique_ptr<AFilter>
create(
const std::string& filterName)
const;
virtual ~FilterFactory()
Make destructor of interface class virtual.
virtual std::unique_ptr< AFilter > create(const std::string &filterName) const
Create a filter with the given name, does not set filter specific parameters.
FilterFactory(const std::string &defaultFilterName="")
Fill the default filter name values.
virtual std::string createFiltersNameDescription() const
Create a string with a description mentioning the names of the chooseable filter.
virtual std::string getIdentifier() const =0
Getter for a short identifier of the factory. Currently unused.
AFilter CreatedFilter
Type of the filter that this factory creates.
const std::string & getDefaultFilterName() const
Legacy - Return the default filter suggested by the factory.
std::string m_defaultFilterName
Legacy - Default filter name suggested by this factory.
Abstract base class for different kinds of events.
virtual std::string createFiltersParametersDescription() const
Create a string with a description mentioning the parameters of the chooseable filter.
virtual std::map< std::string, std::string > getValidFilterNamesAndDescriptions() const =0
Getter for the valid filter names and a description for each.
virtual std::string getFilterPurpose() const =0
Getter for a descriptive purpose of the filter.