Belle II Software development
SimpleSegmentPairFilter.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/BaseSegmentPairFilter.h>
11
12#include <tracking/trackFindingCDC/fitting/CDCRiemannFitter.h>
13
14namespace Belle2 {
19 namespace TrackingUtilities {
20 class CDCTrajectory3D;
21 class CDCTrajectory2D;
22 class CDCSegmentPair;
23 class CDCSegment2D;
24 }
25 namespace TrackFindingCDC {
26
28 class SimpleSegmentPairFilter : public BaseSegmentPairFilter {
29
30 public:
32 TrackingUtilities::Weight operator()(const TrackingUtilities::CDCSegmentPair& segmentPair) final;
33
36
42
45 {
46 return m_riemannFitter;
47 }
48
49 private:
52 };
53 }
55}
Class implementing the Riemann fit for two dimensional trajectory circle.
Filter for the construction of axial to axial segment pairs based on simple criterions.
const CDCRiemannFitter & getRiemannFitter() const
Returns the xy fitter instance that is used by this filter.
const TrackingUtilities::CDCTrajectory2D & getFittedTrajectory2D(const TrackingUtilities::CDCSegment2D &segment) const
Returns the trajectory of the segment. Also fits it if necessary.
CDCRiemannFitter m_riemannFitter
Memory of the Riemann fitter for the circle fits.
TrackingUtilities::Weight operator()(const TrackingUtilities::CDCSegmentPair &segmentPair) final
Checks if a pair of segments is a good combination.
const TrackingUtilities::CDCTrajectory3D & getFittedTrajectory3D(const TrackingUtilities::CDCSegmentPair &segmentPair) const
Returns the three dimensional trajectory of the axial stereo segment pair.
A reconstructed sequence of two dimensional hits in one super layer.
Class representing a pair of one reconstructed axial segment and one stereo segment in adjacent super...
Particle trajectory as it is seen in xy projection represented as a circle.
Particle full three dimensional trajectory.
Abstract base class for different kinds of events.