Belle II Software  release-08-01-10
UnionRecordingSegmentPairFilter.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/segmentPair/SegmentPairFilterFactory.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 
20 namespace Belle2 {
25  namespace TrackFindingCDC {
26  class CDCSegmentPair;
27 
29  class UnionRecordingSegmentPairFilter: public UnionRecordingFilter<SegmentPairFilterFactory> {
30 
31  private:
34 
35  public:
37  std::vector<std::string> getValidVarSetNames() const final;
38 
40  std::unique_ptr<BaseVarSet<CDCSegmentPair> >
41  createVarSet(const std::string& name) const final;
42  };
43  }
45 }
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.
Convience template to create a recording filter for a filter factory.
Filter to record multiple chooseable variable sets for segment pairs.
std::unique_ptr< BaseVarSet< CDCSegmentPair > > createVarSet(const std::string &name) const final
Create a concrete variables set for segment pairs from a name.
std::vector< std::string > getValidVarSetNames() const final
Get the valid names of variable sets for segment pairs.
Abstract base class for different kinds of events.