Belle II Software  release-05-02-19
SimpleSegmentTripleFilter.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2012 - 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/segmentTriple/BaseSegmentTripleFilter.h>
13 #include <tracking/trackFindingCDC/fitting/CDCSZFitter.h>
14 #include <tracking/trackFindingCDC/filters/axialSegmentPair/SimpleAxialSegmentPairFilter.h>
15 
16 namespace Belle2 {
21  namespace TrackFindingCDC {
22 
24  class SimpleSegmentTripleFilter : public Filter<CDCSegmentTriple> {
25 
26  private:
28  using Super = Filter<CDCSegmentTriple>;
29 
30  public:
37  Weight operator()(const CDCSegmentTriple& segmentTriple) final;
38 
39  private:
41  const CDCRiemannFitter& getFitter2D() const
42  { return m_riemannFitter; }
43 
45  const CDCSZFitter& getSZFitter() const
46  { return m_szFitter; }
47 
48  private:
50  CDCSZFitter m_szFitter;
51 
54  };
55 
56  }
58 }
Belle2::TrackFindingCDC::SimpleSegmentTripleFilter::m_szFitter
CDCSZFitter m_szFitter
Memory of the SZ fitter fitting sz lines to the stereo segments.
Definition: SimpleSegmentTripleFilter.h:58
Belle2::TrackFindingCDC::CDCRiemannFitter
Class implementing the Riemann fit for two dimensional trajectory circle.
Definition: CDCRiemannFitter.h:34
Belle2::TrackFindingCDC::SimpleSegmentTripleFilter::m_riemannFitter
CDCRiemannFitter m_riemannFitter
Memory of the Riemann fitter for the circle fits.
Definition: SimpleSegmentTripleFilter.h:61
Belle2::TrackFindingCDC::SimpleSegmentTripleFilter::getFitter2D
const CDCRiemannFitter & getFitter2D() const
Returns the xy fitter instance that is used by this filter.
Definition: SimpleSegmentTripleFilter.h:49
Belle2::TrackFindingCDC::SimpleSegmentTripleFilter::getSZFitter
const CDCSZFitter & getSZFitter() const
Returns the sz fitter instance that is used by this filter.
Definition: SimpleSegmentTripleFilter.h:53
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::SimpleSegmentTripleFilter::operator()
Weight operator()(const CDCSegmentTriple &segmentTriple) final
Checks if a triple of axial, stereo and axial segments is a good combination to be stored.
Definition: SimpleSegmentTripleFilter.cc:25
Belle2::TrackFindingCDC::SimpleSegmentTripleFilter::Super
Filter< CDCSegmentTriple > Super
Type of the base class.
Definition: SimpleSegmentTripleFilter.h:36