1 #ifndef CommonDet_GeomDet_H
2 #define CommonDet_GeomDet_H
81 virtual std::vector< const GeomDet*>
components()
const = 0;
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
ReferenceCountingPointer< Plane > 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.
LocalError theLocalAlignmentError
const Plane & surface() const
The nominal surface of the GeomDet.
const Surface::PositionType & position() const
The position (origin of the R.F.)
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
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.
LocalError const & localAlignmentError() const
Return local alligment error.
AlignmentPositionError * alignmentPositionError() const
Return pointer to alignment errors.
bool setAlignmentPositionError(const AlignmentPositionError &ape)
virtual const GeomDet * component(DetId) const
Returns a component GeomDet given its DetId, if existing.
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.
const Plane & specificSurface() const
Same as surface(), kept for backward compatibility.