Belle II Software  release-08-01-10
CDCSZFitter.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 namespace Belle2 {
15  namespace TrackFindingCDC {
16  class CDCSZObservations;
17  class CDCObservations2D;
18 
19  class CDCTrack;
20  class CDCSegmentPair;
21  class CDCSegment3D;
22  class CDCSegment2D;
23  class CDCTrajectory2D;
24  class CDCTrajectorySZ;
25 
27  class CDCSZFitter {
28 
29  public:
31  static const CDCSZFitter& getFitter();
32 
35  CDCTrajectorySZ fitWithStereoHits(const CDCTrack& track) const;
36 
38  CDCTrajectorySZ fit(const CDCSegment2D& stereoSegment,
39  const CDCTrajectory2D& axialTrajectory2D) const;
40 
42  CDCTrajectorySZ fit(const CDCSegment3D& segment3D) const;
43 
45  CDCTrajectorySZ fit(CDCSZObservations observationsSZ) const;
46 
48  CDCTrajectorySZ fit(const CDCObservations2D& observations2D) const;
49 
51  void update(const CDCSegmentPair& segmentPair) const;
52 
54  void update(CDCTrajectorySZ& trajectorySZ,
55  const CDCSegment2D& stereoSegment,
56  const CDCTrajectory2D& axialTrajectory2D) const;
57 
59  void update(CDCTrajectorySZ& trajectorySZ, CDCSZObservations& observationsSZ) const;
60  };
61  }
63 }
Class serving as a storage of observed drift circles to present to the Riemann fitter.
Class implementing the z coordinate over travel distance line fit.
Definition: CDCSZFitter.h:27
void update(const CDCSegmentPair &segmentPair) const
Updates the trajectory of the axial stereo segment pair inplace.
Definition: CDCSZFitter.cc:163
static const CDCSZFitter & getFitter()
Getter for a standard sz line fitter instance.
Definition: CDCSZFitter.cc:36
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:125
CDCTrajectorySZ fit(const CDCSegment2D &stereoSegment, const CDCTrajectory2D &axialTrajectory2D) const
Returns a fitted trajectory.
Definition: CDCSZFitter.cc:139
Class serving as a storage of observed sz positions to present to the sz line fitters.
A reconstructed sequence of two dimensional hits in one super layer.
Definition: CDCSegment2D.h:39
A segment consisting of three dimensional reconstructed hits.
Definition: CDCSegment3D.h:26
Class representing a pair of one reconstructed axial segement and one stereo segment in adjacent supe...
Class representing a sequence of three dimensional reconstructed hits.
Definition: CDCTrack.h:41
Particle trajectory as it is seen in xy projection represented as a circle.
Linear trajectory in sz space.
Abstract base class for different kinds of events.