9#include <tracking/ckf/pxd/entities/CKFToPXDState.h>
10#include <tracking/dataobjects/RecoTrack.h>
11#include <tracking/spacePointCreation/SpacePoint.h>
12#include <pxd/dataobjects/PXDCluster.h>
14#include <genfit/MeasuredStateOnPlane.h>
48 return recoHit.constructPlane(state);
53 B2ASSERT(
"You are asking for the reco hit, although no hit is present.", not
m_recoHits.empty());
59 B2ASSERT(
"You are asking for the reco hit, although no hit is present.", not
m_recoHits.empty());
77 m_stateCache.localNormalizedu = hit->getNormalizedLocalU();
78 m_stateCache.localNormalizedv = hit->getNormalizedLocalV();
State object to store one step in the CKF algorithm together with its parent (the state before),...
const genfit::MeasuredStateOnPlane & getMeasuredStateOnPlane() const
Get the mSoP if already set during extrapolation (or fitting)
const Hit * getHit() const
Return the SP this state is related to. May be nullptr.
void setMeasuredStateOnPlane(const genfit::MeasuredStateOnPlane &mSoP)
Set the mSoP.
stateCache m_stateCache
Cache the most important data of this state for better runtime performance.
unsigned int getGeometricalLayer() const
Extract the real layer this state sits on.
const PXDRecoHit & getRecoHit() const
Helper function for getting the already created reco hit (runtime reasons)
genfit::SharedPlanePtr getPlane(const genfit::MeasuredStateOnPlane &state) const
Return the plane of the first PXD cluster.
const std::vector< PXDRecoHit > & getRecoHits() const
Helper function for getting the already created reco hits (runtime reasons)
CKFToPXDState(const SpacePoint *hit)
When constructed by a hit, set the reco hit.
std::vector< PXDRecoHit > m_recoHits
Precache the PXDRecoHits for runtime performance reasons.
The PXD Cluster class This class stores all information about reconstructed PXD clusters The position...
PXDRecoHit - an extended form of PXDCluster containing geometry information.
This is the Reconstruction Event-Data Model Track.
SpacePoint typically is build from 1 PXDCluster or 1-2 SVDClusters.
VxdID getVxdID() const
Return the VxdID of the sensor on which the the cluster of the SpacePoint lives.
const SensorInfoBase & getSensorInfo(Belle2::VxdID id) const
Return a referecne to the SensorInfo of a given SensorID.
static GeoCache & getInstance()
Return a reference to the singleton instance.
Base class to provide Sensor Information for PXD and SVD.
ROOT::Math::XYZVector pointToGlobal(const ROOT::Math::XYZVector &local, bool reco=false) const
Convert a point from local to global coordinates.
baseType getLayerNumber() const
Get the layer id.
Abstract base class for different kinds of events.