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 TrackFindingCDC {
20 class CDCSegmentPair;
21 class CDCSegment2D;
22 class CDCTrajectory3D;
23 class CDCTrajectory2D;
24
27
28 public:
30 Weight operator()(const CDCSegmentPair& segmentPair) final;
31
33 const CDCTrajectory2D& getFittedTrajectory2D(const CDCSegment2D& segment) const;
34
39 const CDCTrajectory3D& getFittedTrajectory3D(const CDCSegmentPair& segmentPair) const;
40
43 {
44 return m_riemannFitter;
45 }
46
47 private:
50 };
51 }
53}
Class implementing the Riemann fit for two dimensional trajectory circle.
A reconstructed sequence of two dimensional hits in one super layer.
Definition: CDCSegment2D.h:39
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.
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 CDCTrajectory2D & getFittedTrajectory2D(const CDCSegment2D &segment) const
Returns the trajectory of the segment. Also fits it if necessary.
Weight operator()(const CDCSegmentPair &segmentPair) final
Checks if a pair of segments is a good combination.
CDCRiemannFitter m_riemannFitter
Memory of the Riemann fitter for the circle fits.
const CDCTrajectory3D & getFittedTrajectory3D(const CDCSegmentPair &segmentPair) const
Returns the three dimensional trajectory of the axial stereo segment pair.
Abstract base class for different kinds of events.