1 #ifndef CommonDet_GeomDet_H
2 #define CommonDet_GeomDet_H
84 virtual std::vector< const GeomDet*>
components()
const = 0;
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
virtual AlignmentPositionError * alignmentPositionError() const
ReferenceCountingPointer< BoundPlane > thePlane
const Surface::RotationType & rotation() const
The rotation defining the local R.F.
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
LocalVector toLocal(const GlobalVector &gv) const
Conversion to the R.F. of the GeomDet.
virtual SubDetector subDetector() const =0
Which subdetector.
void setPosition(const Surface::PositionType &position, const Surface::RotationType &rotation)
LocalPoint toLocal(const GlobalPoint &gp) const
Conversion to the R.F. of the GeomDet.
virtual const GeomDet * component(DetId id) const
Returns a component GeomDet given its DetId, if existing.
const Surface::PositionType & position() const
The position (origin of the R.F.)
virtual const BoundPlane & specificSurface() const
Same as surface(), kept for backward compatibility.
GlobalVector toGlobal(const LocalVector &lv) const
Conversion to the global R.F. from the R.F. of the GeomDet.
LocalPoint toLocal(const GlobalPoint &gp) const
virtual void setAlignmentPositionError(const AlignmentPositionError &ape)
DetId geographicalId() const
The label of this GeomDet.
void move(const GlobalVector &displacement)
AlignmentPositionError * theAlignmentPositionError
virtual std::vector< const GeomDet * > components() const =0
Returns direct components, if any.
GeomDet(BoundPlane *plane)
const RotationType & rotation() const
GeomDetEnumerators::SubDetector SubDetector
void rotate(const Surface::RotationType &rotation)
const PositionType & position() const
GlobalPoint toGlobal(const Local3DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
virtual const BoundPlane & surface() const
The nominal surface of the GeomDet.