Belle II Software  release-08-01-10
CKFToSVDResult.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 #include <tracking/ckf/general/entities/CKFResult.h>
10 #include <tracking/ckf/svd/entities/CKFToSVDState.h>
11 
12 #include <tracking/trackFindingCDC/numerics/WithWeight.h>
13 
14 namespace Belle2 {
19  class RecoTrack;
20  class SpacePoint;
21 
23  class CKFToSVDResult : public CKFResult<RecoTrack, SpacePoint> {
26 
27  public:
29  explicit CKFToSVDResult(const std::vector<TrackFindingCDC::WithWeight<const CKFToSVDState*>>& path);
30 
32  void addToRecoTrack(RecoTrack& recoTrack) const;
33 
35  const RecoTrack* getRelatedSVDRecoTrack() const;
36 
37  private:
39  const RecoTrack* m_relatedSVDRecoTrack = nullptr;
40  };
42 }
Object for temporary storage of a CKF tree search result.
Definition: CKFResult.h:30
Specialized CKF Result for extrapolating into the SVD.
CKFToSVDResult(const std::vector< TrackFindingCDC::WithWeight< const CKFToSVDState * >> &path)
Constructor using a path.
const RecoTrack * m_relatedSVDRecoTrack
The related SVD track, if we go along one of them (or a nullptr)
const RecoTrack * getRelatedSVDRecoTrack() const
Return the related SVD track, if we go along one of them.
void addToRecoTrack(RecoTrack &recoTrack) const
Called in the exporter findlet for adding this to a already created reco track.
This is the Reconstruction Event-Data Model Track.
Definition: RecoTrack.h:79
A mixin class to attach a weight to an object.
Definition: WithWeight.h:24
Abstract base class for different kinds of events.