diff --git a/Tracking/TrkDetDescr/TrkAlignableSurfaces/TrkAlignableSurfaces/AlignablePlaneSurface.h b/Tracking/TrkDetDescr/TrkAlignableSurfaces/TrkAlignableSurfaces/AlignablePlaneSurface.h index a031e794aec5658c4df5c56b67f80653d7d86497..d9e1181d8a122fde0e7609aefd649d0529f305d9 100644 --- a/Tracking/TrkDetDescr/TrkAlignableSurfaces/TrkAlignableSurfaces/AlignablePlaneSurface.h +++ b/Tracking/TrkDetDescr/TrkAlignableSurfaces/TrkAlignableSurfaces/AlignablePlaneSurface.h @@ -66,9 +66,9 @@ public: /**Assignment operator */ AlignablePlaneSurface& operator=(const AlignablePlaneSurface& sf); /**Equality operator*/ - bool operator==(const Surface& sf) const; + virtual bool operator==(const Surface& sf) const override; /**Implicit constructor - uses the copy constructor */ - AlignablePlaneSurface* clone() const; + virtual AlignablePlaneSurface* clone() const override; /** return associated Detector Element - forwarded from nominal Surface */ const TrkDetElementBase* associatedDetectorElement() const; @@ -85,19 +85,19 @@ public: virtual const PlaneSurface& surfaceRepresentation() const override; /** Get the nominal surface */ - const PlaneSurface& nominalSurface() const; + virtual const PlaneSurface& nominalSurface() const override; /** Get the nominal transformation */ - const Amg::Transform3D& nominalTransform() const; + virtual const Amg::Transform3D& nominalTransform() const override; /** Add an alignment correction on top of the actual one */ - void addAlignmentCorrection(Amg::Transform3D& corr); + virtual void addAlignmentCorrection(Amg::Transform3D& corr) override; /** Set an alignment correction on top of the nominal one */ - void setAlignmentCorrection(Amg::Transform3D& corr); + virtual void setAlignmentCorrection(Amg::Transform3D& corr) override; /** Set an alignment correction on top of the nominal one */ - void setAlignableTransform(Amg::Transform3D& trans); + virtual void setAlignableTransform(Amg::Transform3D& trans) override; protected: /** The pointer ro the nominal Surface */