Belle II Software development
SimpleAxialSegmentPairFilter.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/axialSegmentPair/BaseAxialSegmentPairFilter.h>
11
12#include <tracking/trackFindingCDC/fitting/CDCRiemannFitter.h>
13
14namespace Belle2 {
19 namespace TrackFindingCDC {
20 using CDCAxialSegment2D = class CDCSegment2D;
21
24
25 public:
28
30 Weight operator()(const CDCAxialSegmentPair& axialSegmentPair) final;
31
32 public:
34 const CDCTrajectory2D& getFittedTrajectory2D(const CDCAxialSegment2D& segment) const;
35
37 const CDCTrajectory2D& getFittedTrajectory2D(const CDCAxialSegmentPair& axialSegmentPair) const;
38
41 { return m_riemannFitter; }
42
43 private:
46 };
47 }
49}
Class representing a pair of reconstructed axial segements in adjacent superlayer.
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
Particle trajectory as it is seen in xy projection represented as a circle.
Base class for filters on a generic object type.
Definition: Filter.dcl.h:31
Filter for the constuction 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 CDCAxialSegment2D &segment) const
Returns the trajectory of the axial segment. Also fits it if necessary.
Weight operator()(const CDCAxialSegmentPair &axialSegmentPair) final
Checks if a pair of axial segments is a good combination.
CDCRiemannFitter m_riemannFitter
Memory of the Riemann fitter for the circle fits.
Abstract base class for different kinds of events.