11#include <vxd/dataobjects/VxdID.h>
12#include <pxd/dataobjects/PXDTrueHit.h>
13#include <pxd/dataobjects/PXDCluster.h>
19#include <genfit/PlanarMeasurement.h>
20#include <genfit/HMatrixUV.h>
21#include <genfit/TrackCandHit.h>
68 explicit PXDRecoHit(
const PXDTrueHit* hit,
const genfit::TrackCandHit* trackCandHit = NULL,
float sigmaU = -1,
float sigmaV = -1);
94 genfit::AbsMeasurement*
clone()
const override;
109 float getU()
const {
return rawHitCoords_(0); }
111 float getV()
const {
return rawHitCoords_(1); }
118 float getUVCov()
const {
return rawHitCov_(0, 1); }
130 virtual const genfit::AbsHMatrix*
constructHMatrix(
const genfit::AbsTrackRep*)
const override {
return new genfit::HMatrixUV(); };
148 TVectorD
applyPlanarDeformation(TVectorD hitCoords, std::vector<double> planarParameters,
const genfit::StateOnPlane& state)
const;
The PXD Cluster class This class stores all information about reconstructed PXD clusters The position...
PXDRecoHit - an extended form of PXDCluster containing geometry information.
float getShapeLikelyhood(const genfit::StateOnPlane &state) const
Get deposited energy error.
@ HIT_DIMENSIONS
sensitive Dimensions of the Hit
virtual std::vector< genfit::MeasurementOnPlane * > constructMeasurementsOnPlane(const genfit::StateOnPlane &state) const override
Methods that actually interface to Genfit.
float getV() const
Get v coordinate.
float m_energyDep
transient member (not written out during streaming)
float getUVariance() const
Get u coordinate variance.
float getEnergyDep() const
Get deposited energy.
unsigned short m_sensorID
Unique sensor identifier.
const PXDTrueHit * getTrueHit() const
Get pointer to the TrueHit used when creating this RecoHit, can be NULL if created from something els...
float getVVariance() const
Get v coordinate variance.
const PXDTrueHit * m_trueHit
Pointer to the TrueHit used when creating this object.
PXDRecoHit()
Default constructor for ROOT IO.
const PXDCluster * m_cluster
transient member (not written out during streaming)
TVectorD applyPlanarDeformation(TVectorD hitCoords, std::vector< double > planarParameters, const genfit::StateOnPlane &state) const
Apply planar deformation of sensors.
void setDetectorPlane()
Set up Detector plane information.
float getUVCov() const
Get u-v error covariance.
const PXDCluster * getCluster() const
Get pointer to the Cluster used when creating this RecoHit, can be NULL if created from something els...
VxdID getSensorID() const
Get the compact ID.
genfit::AbsMeasurement * clone() const override
Creating a deep copy of this hit.
virtual const genfit::AbsHMatrix * constructHMatrix(const genfit::AbsTrackRep *) const override
Construct the hessian matrix.
float getU() const
Get u coordinate.
Class PXDTrueHit - Records of tracks that either enter or leave the sensitive volume.
Class to uniquely identify a any structure of the PXD and SVD.
Abstract base class for different kinds of events.