Belle II Software  release-08-01-10
UnionRecordingSegmentPairRelationFilter.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/segmentPairRelation/SegmentPairRelationFilterFactory.h>
11 
12 #include <tracking/trackFindingCDC/filters/base/UnionRecordingFilter.dcl.h>
13 
14 #include <tracking/trackFindingCDC/varsets/BaseVarSet.h>
15 
16 #include <tracking/trackFindingCDC/utilities/Relation.h>
17 
18 #include <vector>
19 #include <string>
20 #include <memory>
21 
22 namespace Belle2 {
27  namespace TrackFindingCDC {
28  class CDCSegmentPair;
29 
32  : public UnionRecordingFilter<SegmentPairRelationFilterFactory> {
33 
34  private:
37 
38  public:
40  std::vector<std::string> getValidVarSetNames() const final;
41 
43  std::unique_ptr<BaseVarSet<Relation<const CDCSegmentPair> > >
44  createVarSet(const std::string& name) const final;
45  };
46  }
48 }
Generic class that generates some named float values from a given object.
Definition: BaseVarSet.h:33
Class representing a pair of one reconstructed axial segement and one stereo segment in adjacent supe...
AFilter Super
Type of the base class.
Type for two related objects.
Definition: Relation.h:21
Convience template to create a recording filter for a filter factory.
Filter to record multiple chooseable variable sets for segment pair relations.
std::vector< std::string > getValidVarSetNames() const final
Get the valid names of variable sets for segment pair relations.
std::unique_ptr< BaseVarSet< Relation< const CDCSegmentPair > > > createVarSet(const std::string &name) const final
Create a concrete variables set for segment pair relations from a name.
Abstract base class for different kinds of events.