 |
Belle II Software
release-05-01-25
|
11 #include <tracking/ckf/svd/entities/CKFToSVDResult.h>
13 #include <tracking/trackFindingCDC/utilities/ReversedRange.h>
15 #include <tracking/dataobjects/RecoTrack.h>
16 #include <tracking/spacePointCreation/SpacePoint.h>
17 #include <svd/dataobjects/SVDCluster.h>
22 Super(path, path.back()->getMeasuredStateOnPlane())
24 B2ASSERT(
"Path should not be empty", not path.empty());
27 const RecoTrack* relatedSVDTrack = state->getRelatedSVDTrack();
29 B2ASSERT(
"There is a state with a different VXD track in it!",
m_relatedSVDRecoTrack == relatedSVDTrack);
38 unsigned int sortingParameter = 0;
41 for (
const SVDCluster& cluster : relatedClusters) {
42 recoTrack.
addSVDHit(&cluster, sortingParameter, Belle2::RecoHitInformation::c_CDCtoSVDCKF);
const RecoTrack * getRelatedSVDRecoTrack() const
Return the related SVD track, if we go along one of them.
SpacePoint typically is build from 1 PXDCluster or 1-2 SVDClusters.
CKFToSVDResult(const std::vector< TrackFindingCDC::WithWeight< const CKFToSVDState * >> &path)
Constructor using a path.
This is the Reconstruction Event-Data Model Track.
Class for type safe access to objects that are referred to in relations.
bool addSVDHit(const UsedSVDHit *svdHit, const unsigned int sortingParameter, OriginTrackFinder foundByTrackFinder=OriginTrackFinder::c_undefinedTrackFinder)
Adds a svd hit with the given information to the reco track.
Abstract base class for different kinds of events.
const std::vector< const SpacePoint * > & getHits() const
Getter for the stored hits.
A mixin class to attach a weight to an object.
The SVD Cluster class This class stores all information about reconstructed SVD clusters.
void addToRecoTrack(RecoTrack &recoTrack) const
Called in the exporter findlet for adding this to a already created reco track.
const RecoTrack * m_relatedSVDRecoTrack
The related SVD track, if we go along one of them (or a nullptr)