9#include <tracking/ckf/pxd/entities/CKFToPXDResult.h>
11#include <tracking/trackFindingCDC/utilities/ReversedRange.h>
13#include <tracking/dataobjects/RecoTrack.h>
14#include <tracking/spacePointCreation/SpacePoint.h>
15#include <pxd/dataobjects/PXDCluster.h>
20 Super(path, path.back()->getMeasuredStateOnPlane())
22 B2ASSERT(
"Path should not be empty", not path.empty());
27 unsigned int sortingParameter = 0;
30 for (
const PXDCluster& cluster : relatedClusters) {
31 recoTrack.
addPXDHit(&cluster, sortingParameter, Belle2::RecoHitInformation::c_SVDtoPXDCKF);
const std::vector< const SpacePoint * > & getHits() const
Getter for the stored hits.
CKFToPXDResult(const std::vector< TrackFindingCDC::WithWeight< const CKFToPXDState * > > &path)
Constructor using a path.
void addToRecoTrack(RecoTrack &recoTrack) const
Called in the exporter findlet for adding this to a already created reco track.
The PXD Cluster class This class stores all information about reconstructed PXD clusters The position...
This is the Reconstruction Event-Data Model Track.
bool addPXDHit(const UsedPXDHit *pxdHit, const unsigned int sortingParameter, OriginTrackFinder foundByTrackFinder=OriginTrackFinder::c_undefinedTrackFinder)
Adds a pxd hit with the given information to the reco track.
Class for type safe access to objects that are referred to in relations.
SpacePoint typically is build from 1 PXDCluster or 1-2 SVDClusters.
A mixin class to attach a weight to an object.
Abstract base class for different kinds of events.