23 #ifndef genfit_PlanarMeasurement_h
24 #define genfit_PlanarMeasurement_h
26 #include "AbsMeasurement.h"
27 #include "AbsHMatrix.h"
28 #include "MeasurementOnPlane.h"
54 int getPlaneId()
const {
return planeId_;}
60 virtual const AbsHMatrix*
constructHMatrix(
const AbsTrackRep*)
const override;
62 virtual void setPlane(
const SharedPlanePtr& physicalPlane,
int planeId = -1) {physicalPlane_ = physicalPlane;
planeId_ = planeId;}
Contains the measurement and covariance in raw detector coordinates.
Measurement class implementing a planar hit geometry (1 or 2D).
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.
virtual std::vector< MeasurementOnPlane * > constructMeasurementsOnPlane(const StateOnPlane &state) const override
Construct MeasurementOnPlane on plane of the state and wrt the states TrackRep.
void setStripV(bool v=true)
Use if the coordinate for 1D hits measured in V direction.
virtual const AbsHMatrix * constructHMatrix(const AbsTrackRep *) const override
Returns a new AbsHMatrix object.
int planeId_
This is persistent, but '!' makes ROOT shut up.
Object containing AbsMeasurement and AbsFitterInfo objects.
Defines for I/O streams used for error and debug printing.
std::shared_ptr< genfit::DetPlane > SharedPlanePtr
Shared Pointer to a DetPlane.