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 }
AlignableBeamSpot.h
AlignableDetUnit.h
AlignableDetOrUnitPtr::theAliDet
AlignableDet * theAliDet
Pointer to Alignable if it is a Det.
Definition: AlignableDetOrUnitPtr.h:93
Alignable
Definition: Alignable.h:27
AlignableDetOrUnitPtr::theAliBeamSpot
AlignableBeamSpot * theAliBeamSpot
Pointer to Alignable if it is the beam spot.
Definition: AlignableDetOrUnitPtr.h:92
AlignableDet.h
Utilities.operator
operator
Definition: Utilities.py:24
AlignableBeamSpot::alignmentPositionError
const AlignmentPositionError * alignmentPositionError() const
alignment position error - for checking only, otherwise use alignmentErrors() above!
Definition: AlignableBeamSpot.h:72
AlignableDetOrUnitPtr.h
AlignableDetOrUnitPtr::alignmentPositionError
const AlignmentPositionError * alignmentPositionError() const
alignment position error (see comments in specific classes)
Definition: AlignableDetOrUnitPtr.cc:40
AlignableDetOrUnitPtr::theAliDetUnit
AlignableDetUnit * theAliDetUnit
Pointer to Alignable if it is a DetUnit.
Definition: AlignableDetOrUnitPtr.h:94
AlignableDetUnit::alignmentPositionError
const AlignmentPositionError * alignmentPositionError() const
alignment position error - for checking only, otherwise use alignmentErrors() above!
Definition: AlignableDetUnit.h:89
AlignmentPositionError
Definition: AlignmentPositionError.h:10
AlignableDet::alignmentPositionError
const AlignmentPositionError * alignmentPositionError() const
alignment position error - for checking only, otherwise use alignmentErrors() above!
Definition: AlignableDet.h:44