Belle II Software  release-05-01-25
CKFToSVDResult.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Nils Braun *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 #include <tracking/ckf/general/entities/CKFResult.h>
12 #include <tracking/ckf/svd/entities/CKFToSVDState.h>
13 
14 #include <tracking/trackFindingCDC/numerics/WithWeight.h>
15 
16 namespace Belle2 {
21  class RecoTrack;
22  class SpacePoint;
23 
25  class CKFToSVDResult : public CKFResult<RecoTrack, SpacePoint> {
27  using Super = CKFResult<RecoTrack, SpacePoint>;
28 
29  public:
31  explicit CKFToSVDResult(const std::vector<TrackFindingCDC::WithWeight<const CKFToSVDState*>>& path);
32 
34  void addToRecoTrack(RecoTrack& recoTrack) const;
35 
37  const RecoTrack* getRelatedSVDRecoTrack() const;
38 
39  private:
41  const RecoTrack* m_relatedSVDRecoTrack = nullptr;
42  };
44 }
Belle2::CKFToSVDResult::getRelatedSVDRecoTrack
const RecoTrack * getRelatedSVDRecoTrack() const
Return the related SVD track, if we go along one of them.
Definition: CKFToSVDResult.cc:48
Belle2::CKFToSVDResult::Super
CKFResult< RecoTrack, SpacePoint > Super
The parent class.
Definition: CKFToSVDResult.h:35
Belle2::CKFToSVDResult::CKFToSVDResult
CKFToSVDResult(const std::vector< TrackFindingCDC::WithWeight< const CKFToSVDState * >> &path)
Constructor using a path.
Definition: CKFToSVDResult.cc:21
Belle2::RecoTrack
This is the Reconstruction Event-Data Model Track.
Definition: RecoTrack.h:78
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::CKFToSVDResult::addToRecoTrack
void addToRecoTrack(RecoTrack &recoTrack) const
Called in the exporter findlet for adding this to a already created reco track.
Definition: CKFToSVDResult.cc:36
Belle2::CKFToSVDResult::m_relatedSVDRecoTrack
const RecoTrack * m_relatedSVDRecoTrack
The related SVD track, if we go along one of them (or a nullptr)
Definition: CKFToSVDResult.h:49