Belle II Software  release-08-01-10
WireHitFilterFactory.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/wireHit/BaseWireHitFilter.h>
11 
12 #include <tracking/trackFindingCDC/filters/base/FilterFactory.dcl.h>
13 
14 namespace Belle2 {
19  namespace TrackFindingCDC {
21  extern template class FilterFactory<BaseWireHitFilter>;
22 
25 
26  private:
29 
30  public:
32  explicit WireHitFilterFactory(const std::string& defaultFilterName = "all");
33 
36 
38  std::string getIdentifier() const override;
39 
41  std::string getFilterPurpose() const override;
42 
44  std::map<std::string, std::string> getValidFilterNamesAndDescriptions() const override;
45 
47  std::unique_ptr<BaseWireHitFilter> create(const std::string& filterName) const override;
48  };
49  }
51 }
Factory that can create appropriate wireHit filters from associated names.
Abstract base class for different kinds of events.