Belle II Software  release-05-01-25
CDCSZFitter.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 namespace Belle2 {
17  namespace TrackFindingCDC {
18  class CDCSZObservations;
19  class CDCObservations2D;
20 
21  class CDCTrack;
22  class CDCSegmentPair;
23  class CDCSegment3D;
24  class CDCSegment2D;
25  class CDCTrajectory2D;
26  class CDCTrajectorySZ;
27 
29  class CDCSZFitter {
30 
31  public:
33  static const CDCSZFitter& getFitter();
34 
38 
40  CDCTrajectorySZ fit(const CDCSegment2D& stereoSegment,
41  const CDCTrajectory2D& axialTrajectory2D) const;
42 
44  CDCTrajectorySZ fit(const CDCSegment3D& segment3D) const;
45 
47  CDCTrajectorySZ fit(CDCSZObservations observationsSZ) const;
48 
50  CDCTrajectorySZ fit(const CDCObservations2D& observations2D) const;
51 
53  void update(const CDCSegmentPair& segmentPair) const;
54 
56  void update(CDCTrajectorySZ& trajectorySZ,
57  const CDCSegment2D& stereoSegment,
58  const CDCTrajectory2D& axialTrajectory2D) const;
59 
61  void update(CDCTrajectorySZ& trajectorySZ, CDCSZObservations& observationsSZ) const;
62  };
63  }
65 }
Belle2::TrackFindingCDC::CDCTrack
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:51
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::CDCSZFitter::getFitter
static const CDCSZFitter & getFitter()
Getter for a standard sz line fitter instance.
Definition: CDCSZFitter.cc:38
Belle2::TrackFindingCDC::CDCTrajectorySZ
Linear trajectory in sz space.
Definition: CDCTrajectorySZ.h:41
Belle2::TrackFindingCDC::CDCSegment3D
A segment consisting of three dimensional reconstructed hits.
Definition: CDCSegment3D.h:36
Belle2::TrackFindingCDC::CDCTrajectory2D
Particle trajectory as it is seen in xy projection represented as a circle.
Definition: CDCTrajectory2D.h:46
Belle2::TrackFindingCDC::CDCSZFitter::fitWithStereoHits
CDCTrajectorySZ fitWithStereoHits(const CDCTrack &track) const
Returns the fitted sz trajectory of the track with the z-information of all stereo hits of the number...
Definition: CDCSZFitter.cc:127
Belle2::TrackFindingCDC::CDCObservations2D
Class serving as a storage of observed drift circles to present to the Riemann fitter.
Definition: CDCObservations2D.h:53
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::TrackFindingCDC::CDCSZFitter::update
void update(const CDCSegmentPair &segmentPair) const
Updates the trajectory of the axial stereo segment pair inplace.
Definition: CDCSZFitter.cc:165
Belle2::TrackFindingCDC::CDCSZObservations
Class serving as a storage of observed sz positions to present to the sz line fitters.
Definition: CDCSZObservations.h:36
Belle2::TrackFindingCDC::CDCSegment2D
A reconstructed sequence of two dimensional hits in one super layer.
Definition: CDCSegment2D.h:40
Belle2::TrackFindingCDC::CDCSZFitter::fit
CDCTrajectorySZ fit(const CDCSegment2D &stereoSegment, const CDCTrajectory2D &axialTrajectory2D) const
Returns a fitted trajectory.
Definition: CDCSZFitter.cc:141