CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlignableDetOrUnitPtr.cc
Go to the documentation of this file.
1 
14 
15 // Due to some implications with includes
16 // (needed for converison from AlignableDet(Unit)* to Alignable*)
17 // it is currently not possible to inline the following methods in the header...
18 
21 {
22  if (theAliBeamSpot) return theAliBeamSpot;
23  else if (theAliDet) return theAliDet;
24  else return theAliDetUnit;
25 }
26 
29 {
30  if (theAliBeamSpot) return theAliBeamSpot;
31  else if (theAliDet) return theAliDet;
32  else return theAliDetUnit;
33 }
34 
37 {
39  else if (theAliDet) return theAliDet->alignmentPositionError();
41  else return 0;
42 }
43 
const AlignmentPositionError * alignmentPositionError() const
alignment position error - for checking only, otherwise use alignmentErrors() above! ...
Definition: AlignableDet.h:43
AlignableDetUnit * theAliDetUnit
Pointer to Alignable if it is a DetUnit.
const AlignmentPositionError * alignmentPositionError() const
alignment position error - for checking only, otherwise use alignmentErrors() above! ...
const AlignmentPositionError * alignmentPositionError() const
alignment position error - for checking only, otherwise use alignmentErrors() above! ...
AlignableBeamSpot * theAliBeamSpot
Pointer to Alignable if it is the beam spot.
AlignableDet * theAliDet
Pointer to Alignable if it is a Det.
const AlignmentPositionError * alignmentPositionError() const
alignment position error (see comments in specific classes)