CMS 3D CMS Logo

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  if (theAliBeamSpot)
22  return theAliBeamSpot;
23  else if (theAliDet)
24  return theAliDet;
25  else
26  return theAliDetUnit;
27 }
28 
31  if (theAliBeamSpot)
32  return theAliBeamSpot;
33  else if (theAliDet)
34  return theAliDet;
35  else
36  return theAliDetUnit;
37 }
38 
41  if (theAliBeamSpot)
43  else if (theAliDet)
45  else if (theAliDetUnit)
47  else
48  return nullptr;
49 }
const AlignmentPositionError * alignmentPositionError() const
alignment position error - for checking only, otherwise use alignmentErrors() above! ...
Definition: AlignableDet.h:44
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)