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());
66 m_recoHits.emplace_back(&pxdCluster);
73 m_stateCache.sensorCenterPhi = sensorInfo.pointToGlobal(ROOT::Math::XYZVector(0., 0., 0.),
true).Phi();
DataType Phi() const
The azimuth angle.
DataType Theta() const
The polar angle.
DataType Perp() const
The transverse component (R in cylindrical coordinate system).
const genfit::MeasuredStateOnPlane & getMeasuredStateOnPlane() const
const Hit * getHit() const
void setMeasuredStateOnPlane(const genfit::MeasuredStateOnPlane &mSoP)
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.
RelationVector< TO > getRelationsTo(const std::string &name="", const std::string &namedRelation="") const
Get the relations that point from this object to another store array.
SpacePoint typically is build from 1 PXDCluster or 1-2 SVDClusters.
double getNormalizedLocalV() const
Return normalized local coordinates of the cluster in v (0 <= posV <= 1).
VxdID getVxdID() const
Return the VxdID of the sensor on which the the cluster of the SpacePoint lives.
const B2Vector3D & getPosition() const
return the position vector in global coordinates
double getNormalizedLocalU() const
Return normalized local coordinates of the cluster in u (0 <= posU <= 1).
static GeoCache & getInstance()
Return a reference to the singleton instance.
Base class to provide Sensor Information for PXD and SVD.
baseType getLayerNumber() const
Get the layer id.
Abstract base class for different kinds of events.