23 #ifndef genfit_WireMeasurement_h
24 #define genfit_WireMeasurement_h
26 #include "AbsMeasurement.h"
27 #include "AbsHMatrix.h"
28 #include "MeasurementOnPlane.h"
56 WireMeasurement(
const TVectorD& rawHitCoords,
const TMatrixDSym& rawHitCov,
int detId,
int hitId,
TrackPoint* trackPoint);
91 virtual int getLeftRightResolution()
const override {
return leftRight_;}
93 double getMaxDistance(){
return maxDistance_;}
98 signed char leftRight_;
102 ClassDefOverride(WireMeasurement, 2)
HMatrix for projecting from AbsTrackRep parameters to measured parameters in a DetPlane.
Contains the measurement and covariance in raw detector coordinates.
Abstract base class for a track representation.
A state with arbitrary dimension defined in a DetPlane.
Object containing AbsMeasurement and AbsFitterInfo objects.
Class for measurements in wire detectors (Straw tubes and drift chambers) which do not measure the co...
virtual bool isLeftRightMeasurement() const override
If the AbsMeasurement is a wire hit, the left/right resolution will be used.
virtual SharedPlanePtr constructPlane(const StateOnPlane &state) const override
Construct (virtual) detector plane (use state's AbsTrackRep).
virtual AbsMeasurement * clone() const override
Deep copy ctor for polymorphic class.
void setMaxDistance(double d)
Set maximum drift distance.
void setLeftRightResolution(int lr)
select how to resolve the left/right ambiguity: -1: negative (left) side on vector (track direction) ...
virtual std::vector< MeasurementOnPlane * > constructMeasurementsOnPlane(const StateOnPlane &state) const override
Hits with a small drift distance get a higher weight, whereas hits with big drift distances become we...
virtual const AbsHMatrix * constructHMatrix(const AbsTrackRep *) const override
Returns a new AbsHMatrix object.
Defines for I/O streams used for error and debug printing.
std::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.