1 #ifndef Alignment_CommonAlignment_AlignableDetOrUnitPtr_H
2 #define Alignment_CommonAlignment_AlignableDetOrUnitPtr_H
AlignableDetOrUnitPtr(AlignableDetUnit *aliDetUnit)
Constructor from AlignableDetUnit* (non-explicit: for automatic conversions)
const AlignableDetUnit * alignableDetUnit() const
bool isNull() const
check for empty pointer
const Alignable * operator->() const
const AlignableBeamSpot * alignableBeamSpot() const
AlignableDetUnit * theAliDetUnit
Pointer to Alignable if it is a DetUnit.
const Alignable * alignable() const
AlignableBeamSpot * alignableBeamSpot()
AlignableBeamSpot * theAliBeamSpot
Pointer to Alignable if it is the beam spot.
~AlignableDetOrUnitPtr()
Non-virtual destructor: do not use as base class.
AlignableDet * theAliDet
Pointer to Alignable if it is a Det.
AlignableDetUnit * alignableDetUnit()
AlignableDetOrUnitPtr(AlignableBeamSpot *aliBeamSpot)
Constructor from AlignableBeamSpot* (non-explicit: for automatic conversions)
AlignableDet * alignableDet()
AlignableDetOrUnitPtr & operator=(AlignableBeamSpot *aliBeamSpot)
const AlignmentPositionError * alignmentPositionError() const
alignment position error (see comments in specific classes)
const AlignableDet * alignableDet() const
AlignableDetOrUnitPtr(AlignableDet *aliDet)
Constructor from AlignableDet* (non-explicit: for automatic conversions)