 |
Belle II Software
release-05-01-25
|
11 #include <tracking/ckf/pxd/entities/CKFToPXDResult.h>
13 #include <tracking/trackFindingCDC/utilities/ReversedRange.h>
15 #include <tracking/dataobjects/RecoTrack.h>
16 #include <tracking/spacePointCreation/SpacePoint.h>
17 #include <pxd/dataobjects/PXDCluster.h>
22 Super(path, path.back()->getMeasuredStateOnPlane())
24 B2ASSERT(
"Path should not be empty", not path.empty());
29 unsigned int sortingParameter = 0;
32 for (
const PXDCluster& cluster : relatedClusters) {
33 recoTrack.
addPXDHit(&cluster, sortingParameter, Belle2::RecoHitInformation::c_SVDtoPXDCKF);
SpacePoint typically is build from 1 PXDCluster or 1-2 SVDClusters.
This is the Reconstruction Event-Data Model Track.
void addToRecoTrack(RecoTrack &recoTrack) const
Called in the exporter findlet for adding this to a already created reco track.
Class for type safe access to objects that are referred to in relations.
Abstract base class for different kinds of events.
The PXD Cluster class This class stores all information about reconstructed PXD clusters The position...
const std::vector< const SpacePoint * > & getHits() const
Getter for the stored hits.
A mixin class to attach a weight to an object.
CKFToPXDResult(const std::vector< TrackFindingCDC::WithWeight< const CKFToPXDState * >> &path)
Constructor using a path.
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.