DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
Class describing an condition to re-adjust an alignment. More...
#include <AlignmentData.h>
Public Types | |
enum | AlignmentFlags { HAVE_NONE = 0, HAVE_TRANSLATION = 1<<2, HAVE_ROTATION = 1<<3, HAVE_PIVOT = 1<<4 } |
typedef Translation3D | Pivot |
Public Member Functions | |
Delta ()=default | |
Default constructor. More... | |
Delta (const Position &tr) | |
Initializing constructor. More... | |
Delta (const RotationZYX &rot) | |
Initializing constructor. More... | |
Delta (const Position &tr, const RotationZYX &rot) | |
Initializing constructor. More... | |
Delta (const Translation3D &piv, const RotationZYX &rot) | |
Initializing constructor. More... | |
Delta (const Position &tr, const Translation3D &piv, const RotationZYX &rot) | |
Initializing constructor. More... | |
Delta (const Delta &c) | |
Copy constructor. More... | |
~Delta () | |
Default destructor. More... | |
Delta & | operator= (const Delta &c) |
Assignment operator. More... | |
void | clear () |
Reset information to identity. More... | |
bool | checkFlag (unsigned int mask) const |
Check a given flag. More... | |
void | setFlag (unsigned int mask) |
Check a given flag. More... | |
bool | hasTranslation () const |
Access flags: Check if the delta operation contains a translation. More... | |
bool | hasRotation () const |
Access flags: Check if the delta operation contains a rotation. More... | |
bool | hasPivot () const |
Access flags: Check if the delta operation contains a pivot. More... | |
void | computeMatrix (TGeoHMatrix &tr_delta) const |
Compute the alignment delta for one detector element and its alignment condition. More... | |
Public Attributes | |
Position | translation |
Pivot | pivot |
RotationZYX | rotation |
unsigned int | flags = 0 |
Class describing an condition to re-adjust an alignment.
Definition at line 38 of file AlignmentData.h.
typedef Translation3D dd4hep::Delta::Pivot |
Definition at line 40 of file AlignmentData.h.
Enumerator | |
---|---|
HAVE_NONE | |
HAVE_TRANSLATION | |
HAVE_ROTATION | |
HAVE_PIVOT |
Definition at line 46 of file AlignmentData.h.
|
default |
Default constructor.
|
inline |
Initializing constructor.
Definition at line 56 of file AlignmentData.h.
|
inline |
Initializing constructor.
Definition at line 59 of file AlignmentData.h.
|
inline |
Initializing constructor.
Definition at line 62 of file AlignmentData.h.
|
inline |
Initializing constructor.
Definition at line 65 of file AlignmentData.h.
|
inline |
Initializing constructor.
Definition at line 68 of file AlignmentData.h.
Delta::Delta | ( | const Delta & | c | ) |
Copy constructor.
Definition at line 31 of file AlignmentData.cpp.
Delta::~Delta | ( | ) |
Default destructor.
Definition at line 37 of file AlignmentData.cpp.
|
inline |
Check a given flag.
Definition at line 79 of file AlignmentData.h.
void Delta::clear | ( | ) |
Reset information to identity.
Definition at line 52 of file AlignmentData.cpp.
void Delta::computeMatrix | ( | TGeoHMatrix & | tr_delta | ) | const |
Compute the alignment delta for one detector element and its alignment condition.
Definition at line 60 of file AlignmentData.cpp.
|
inline |
Access flags: Check if the delta operation contains a pivot.
Definition at line 87 of file AlignmentData.h.
|
inline |
Access flags: Check if the delta operation contains a rotation.
Definition at line 85 of file AlignmentData.h.
|
inline |
Access flags: Check if the delta operation contains a translation.
Definition at line 83 of file AlignmentData.h.
Assignment operator.
Definition at line 41 of file AlignmentData.cpp.
|
inline |
Check a given flag.
Definition at line 81 of file AlignmentData.h.
unsigned int dd4hep::Delta::flags = 0 |
Definition at line 44 of file AlignmentData.h.
Pivot dd4hep::Delta::pivot |
Definition at line 42 of file AlignmentData.h.
RotationZYX dd4hep::Delta::rotation |
Definition at line 43 of file AlignmentData.h.
Position dd4hep::Delta::translation |
Definition at line 41 of file AlignmentData.h.