Belle II Software  release-08-01-10
TrackRelationFilterFactory Class Reference

Factory that can create appropriate track relation filters from associated names. More...

#include <TrackRelationFilterFactory.h>

Inheritance diagram for TrackRelationFilterFactory:
Collaboration diagram for TrackRelationFilterFactory:

Public Types

using CreatedFilter = BaseTrackRelationFilter
 Type of the filter that this factory creates.
 

Public Member Functions

 TrackRelationFilterFactory (const std::string &defaultFilterName="realistic")
 Constructor forwarding the default filter name.
 
std::string getIdentifier () const final
 Getter for a short identifier for the factory.
 
std::string getFilterPurpose () const final
 Getter for a descriptive purpose of the constructed filters.
 
std::map< std::string, std::string > getValidFilterNamesAndDescriptions () const final
 Getter for valid filter names and a description for each.
 
std::unique_ptr< BaseTrackRelationFiltercreate (const std::string &filterName) const final
 Create a filter with the given name.
 
virtual std::string createFiltersNameDescription () const
 Create a string with a description mentioning the names of the chooseable filter.
 
virtual std::string createFiltersParametersDescription () const
 Create a string with a description mentioning the parameters of the chooseable filter.
 
const std::string & getDefaultFilterName () const
 Legacy - Return the default filter suggested by the factory.
 

Private Types

using Super = FilterFactory< BaseTrackRelationFilter >
 Type of the base class.
 

Private Attributes

std::string m_defaultFilterName
 Legacy - Default filter name suggested by this factory.
 

Detailed Description

Factory that can create appropriate track relation filters from associated names.

Definition at line 24 of file TrackRelationFilterFactory.h.


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