 |
Belle II Software
release-05-01-25
|
11 #include <tracking/ckf/svd/entities/CKFToSVDState.h>
12 #include <tracking/dataobjects/RecoTrack.h>
13 #include <tracking/spacePointCreation/SpacePoint.h>
14 #include <svd/dataobjects/SVDCluster.h>
16 #include <genfit/MeasuredStateOnPlane.h>
41 return spacePoint->getVxdID().getLayerNumber();
52 B2ASSERT(
"You are asking for the reco hit, although no hit is present.", not
m_recoHits.empty());
58 B2ASSERT(
"You are asking for reco hits, although no hit is present.", not
m_recoHits.empty());
78 m_stateCache.localNormalizedu = hit->getNormalizedLocalU();
79 m_stateCache.localNormalizedv = hit->getNormalizedLocalV();
90 B2FATAL(
"You are resetting the related track to a different value!");
SVDRecoHit - an extended form of SVDHit containing geometry information.
std::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.
void setRelatedSVDTrack(const RecoTrack *relatedSVDTrack)
Set the related SVD track, if we go along one of them (or a nullptr)
#StateOnPlane with additional covariance matrix.
CKFToSVDState(const SpacePoint *hit)
When constructed by a hit, set the reco hit.
const RecoTrack * m_relatedSVDTrack
The related SVD track, if we go along one of them (or a nullptr)
const std::vector< SVDRecoHit > & getRecoHits() const
Helper function for getting the already created reco hits (runtime reasons)
Base class to provide Sensor Information for PXD and SVD.
const genfit::MeasuredStateOnPlane & getMeasuredStateOnPlane() const
Get the mSoP if already set during extrapolation (or fitting)
stateCache m_stateCache
Cache the most important data of this state for better runtime performance.
State object to store one step in the CKF algorithm together with its parent (the state before),...
virtual SharedPlanePtr constructPlane(const StateOnPlane &state) const override
Construct (virtual) detector plane (use state's AbsTrackRep).
SpacePoint typically is build from 1 PXDCluster or 1-2 SVDClusters.
This is the Reconstruction Event-Data Model Track.
genfit::SharedPlanePtr getPlane(const genfit::MeasuredStateOnPlane &state) const
Return the plane of the first SVD cluster.
unsigned int getGeometricalLayer() const
Extract the real layer this state sits on.
const RecoTrack * getRelatedSVDTrack() const
Return the related SVD track, if we go along one of them (or a nullptr)
const SVDRecoHit & getRecoHit() const
Helper function for getting the already created reco hit (runtime reasons)
static GeoCache & getInstance()
Return a reference to the singleton instance.
Abstract base class for different kinds of events.
std::vector< SVDRecoHit > m_recoHits
Precache the PXDRecoHits for runtime performance reasons.
void setMeasuredStateOnPlane(const genfit::MeasuredStateOnPlane &mSoP)
Set the mSoP.
TVector3 pointToGlobal(const TVector3 &local, bool reco=false) const
Convert a point from local to global coordinates.
const Hit * getHit() const
Return the SP this state is related to. May be nullptr.
The SVD Cluster class This class stores all information about reconstructed SVD clusters.
Class to faciliate easy access to sensor information of the VXD like coordinate transformations or pi...