Belle II Software development
SegmentTripleRelationFilterFactory.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/trackFindingCDC/filters/segmentTripleRelation/BaseSegmentTripleRelationFilter.h>
11#include <tracking/trackFindingCDC/filters/base/FilterFactory.dcl.h>
12
13namespace Belle2 {
18 namespace TrackFindingCDC {
19 // Guard to prevent repeated instantiations
20 extern template class FilterFactory<BaseSegmentTripleRelationFilter>;
21
24
25 private:
28
29 public:
31 explicit SegmentTripleRelationFilterFactory(const std::string& defaultFilterName = "simple");
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<BaseSegmentTripleRelationFilter> create(const std::string& filterName) const override;
44 };
45 }
47}
Factory that can create appropriate filter instances from a name.
Factory that can create appropriate segment triple relation filters from associated names.
Abstract base class for different kinds of events.