Belle II Software development
UnionRecordingClusterFilter.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/cluster/ClusterFilterFactory.h>
11
12#include <tracking/trackFindingCDC/filters/base/UnionRecordingFilter.dcl.h>
13
14#include <tracking/trackFindingCDC/varsets/BaseVarSet.h>
15
16#include <vector>
17#include <string>
18#include <memory>
19
20namespace Belle2 {
25 namespace TrackFindingCDC {
26 class CDCWireHitCluster;
27
29 class UnionRecordingClusterFilter : public UnionRecordingFilter<ClusterFilterFactory> {
30
31 private:
34
35 public:
37 std::vector<std::string> getValidVarSetNames() const override;
38
40 std::unique_ptr<BaseVarSet<CDCWireHitCluster> >
41 createVarSet(const std::string& name) const override;
42 };
43 }
45}
Filter to record multiple chooseable variable sets for wire hit clusters.
std::vector< std::string > getValidVarSetNames() const override
Get the valid names of variable sets for wire hit clusters.
std::unique_ptr< BaseVarSet< CDCWireHitCluster > > createVarSet(const std::string &name) const override
Create a concrete variables set for wire hit clusters from a name.
Convenience template to create a recording filter for a filter factory.
Abstract base class for different kinds of events.