Belle II Software  release-05-01-25
UnionRecordingSegmentPairFilter.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Oliver Frost *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <tracking/trackFindingCDC/filters/segmentPair/SegmentPairFilterFactory.h>
13 
14 #include <tracking/trackFindingCDC/filters/base/UnionRecordingFilter.dcl.h>
15 
16 #include <tracking/trackFindingCDC/varsets/BaseVarSet.h>
17 
18 #include <vector>
19 #include <string>
20 #include <memory>
21 
22 namespace Belle2 {
27  namespace TrackFindingCDC {
28  class CDCSegmentPair;
29 
31  class UnionRecordingSegmentPairFilter: public UnionRecordingFilter<SegmentPairFilterFactory> {
32 
33  private:
35  using Super = UnionRecordingFilter<SegmentPairFilterFactory>;
36 
37  public:
39  std::vector<std::string> getValidVarSetNames() const final;
40 
42  std::unique_ptr<BaseVarSet<CDCSegmentPair> >
43  createVarSet(const std::string& name) const final;
44  };
45  }
47 }
Belle2::TrackFindingCDC::UnionRecordingSegmentPairFilter::createVarSet
std::unique_ptr< BaseVarSet< CDCSegmentPair > > createVarSet(const std::string &name) const final
Create a concrete variables set for segment pairs from a name.
Definition: UnionRecordingSegmentPairFilter.cc:52
Belle2::TrackFindingCDC::CDCSegmentPair
Class representing a pair of one reconstructed axial segement and one stereo segment in adjacent supe...
Definition: CDCSegmentPair.h:44
Belle2::TrackFindingCDC::UnionRecordingSegmentPairFilter::Super
UnionRecordingFilter< SegmentPairFilterFactory > Super
Type of the base class.
Definition: UnionRecordingSegmentPairFilter.h:43
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::UnionRecordingSegmentPairFilter::getValidVarSetNames
std::vector< std::string > getValidVarSetNames() const final
Get the valid names of variable sets for segment pairs.
Definition: UnionRecordingSegmentPairFilter.cc:32
Belle2::TrackFindingCDC::BaseVarSet
Generic class that generates some named float values from a given object.
Definition: BaseVarSet.h:43