Belle II Software development
PXDPairFilterFactory.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9
10#include <tracking/ckf/pxd/filters/relations/BasePXDPairFilter.h>
11
12#include <tracking/trackFindingCDC/filters/base/FilterFactory.dcl.h>
13
14namespace Belle2 {
20 class PXDPairFilterFactory : public TrackFindingCDC::FilterFactory<BasePXDPairFilter> {
21
22 private:
25
26 public:
28 explicit PXDPairFilterFactory(const std::string& defaultFilterName = "sensor");
29
32
34 std::string getIdentifier() const override;
35
37 std::string getFilterPurpose() const override;
38
40 std::map<std::string, std::string> getValidFilterNamesAndDescriptions() const override;
41
43 std::unique_ptr<BasePXDPairFilter> create(const std::string& filterName) const override;
44 };
46}
Factory that can create appropriate cluster filters from associated names.
std::map< std::string, std::string > getValidFilterNamesAndDescriptions() const override
Getter for valid filter names and a description for each.
~PXDPairFilterFactory()
Default destructor.
std::string getIdentifier() const override
Getter for a short identifier for the factory.
std::unique_ptr< BasePXDPairFilter > create(const std::string &filterName) const override
Create a filter with the given name.
std::string getFilterPurpose() const override
Getter for a descriptive purpose of the constructed filters.
Factory that can create appropriate filter instances from a name.
Abstract base class for different kinds of events.