24 #ifndef genfit_WireMeasurementNew_h
25 #define genfit_WireMeasurementNew_h
27 #include "AbsMeasurement.h"
28 #include "AbsHMatrix.h"
29 #include "MeasurementOnPlane.h"
60 WireMeasurementNew(
double driftDistance,
double driftDistanceError,
const TVector3& endPoint1,
const TVector3& endPoint2,
int detId,
int hitId,
TrackPoint* trackPoint);
99 virtual bool isLeftRigthMeasurement()
const {
return true;}
101 int getLeftRightResolution()
const override {
return leftRight_;}
105 double wireEndPoint1_[3];
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...
double wireEndPoint2_[3]
Wire end point 1 (X, Y, Z)
void setWireEndPoints(const TVector3 &endPoint1, const TVector3 &endPoint2)
Reset the wire end points.
virtual SharedPlanePtr constructPlane(const StateOnPlane &state) const override
Construct (virtual) detector plane (use state's AbsTrackRep).
void setMaxDistance(double d)
Set maximum drift distance.
virtual WireMeasurementNew * clone() const override
Deep copy ctor for polymorphic class.
void setLeftRightResolution(int lr)
select how to resolve the left/right ambiguity: -1: negative (left) side on vector (wire direction) x...
double maxDistance_
Wire end point 2 (X, Y, Z)
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.