Belle II Software development
|
Class for EKLM alignment checking. More...
#include <AlignmentChecker.h>
Public Member Functions | |
AlignmentChecker (bool printOverlaps) | |
Constructor. | |
AlignmentChecker (const AlignmentChecker &)=delete | |
Copy constructor (disabled). | |
AlignmentChecker & | operator= (const AlignmentChecker &)=delete |
Operator = (disabled). | |
~AlignmentChecker () | |
Destructor. | |
bool | checkSectorAlignment (int section, int layer, int sector, const KLMAlignmentData *sectorAlignment) const |
Check sector alignment. | |
bool | checkSegmentAlignment (int section, int layer, int sector, int plane, int segment, const KLMAlignmentData *sectorAlignment, const KLMAlignmentData *segmentAlignment, bool calledFromSectorCheck) const |
Check segment alignment. | |
bool | checkAlignment (const EKLMAlignment *alignment, const EKLMSegmentAlignment *segmentAlignment) const |
Check alignment. | |
Private Attributes | |
bool | m_PrintOverlaps |
Print information about overlaps or not. | |
const GeometryData * | m_GeoDat |
Geometry data. | |
const EKLMElementNumbers * | m_ElementNumbers |
Element numbers. | |
LineSegment2D * | m_LineCorner1 |
Sector support edge: corner 1 line. | |
Arc2D * | m_ArcOuter |
Sector support edge: outer arc. | |
LineSegment2D * | m_Line23 |
Sector support edge: line between corners 2 and 3. | |
Arc2D * | m_ArcInner |
Sector support edge: inner arc. | |
LineSegment2D * | m_Line41 |
Sector support edge: line between corners 4 and 1. | |
Polygon2D *** | m_SegmentSupport |
Segment support. | |
Class for EKLM alignment checking.
Note that this class internally works in CLHEP units.
Definition at line 36 of file AlignmentChecker.h.
|
explicit |
Constructor.
[in] | printOverlaps | Print information about overlaps or not. |
Definition at line 22 of file AlignmentChecker.cc.
~AlignmentChecker | ( | ) |
Destructor.
Definition at line 62 of file AlignmentChecker.cc.
bool checkAlignment | ( | const EKLMAlignment * | alignment, |
const EKLMSegmentAlignment * | segmentAlignment | ||
) | const |
Check alignment.
[in] | alignment | Alignment data. |
[in] | segmentAlignment | Segment alignment data. |
Definition at line 308 of file AlignmentChecker.cc.
bool checkSectorAlignment | ( | int | section, |
int | layer, | ||
int | sector, | ||
const KLMAlignmentData * | sectorAlignment | ||
) | const |
Check sector alignment.
[in] | section | Section. |
[in] | layer | Layer. |
[in] | sector | Sector. |
[in] | sectorAlignment | Sector alignment. |
Definition at line 81 of file AlignmentChecker.cc.
bool checkSegmentAlignment | ( | int | section, |
int | layer, | ||
int | sector, | ||
int | plane, | ||
int | segment, | ||
const KLMAlignmentData * | sectorAlignment, | ||
const KLMAlignmentData * | segmentAlignment, | ||
bool | calledFromSectorCheck | ||
) | const |
Check segment alignment.
[in] | section | Section. |
[in] | layer | Layer. |
[in] | sector | Sector. |
[in] | plane | Plane number. |
[in] | segment | Segment number. |
[in] | sectorAlignment | Sector alignment. |
[in] | segmentAlignment | Segment alignment. |
[in] | calledFromSectorCheck | Called from checkSectorAlignment() or not. |
Definition at line 194 of file AlignmentChecker.cc.
|
private |
Sector support edge: inner arc.
Definition at line 121 of file AlignmentChecker.h.
|
private |
Sector support edge: outer arc.
Definition at line 115 of file AlignmentChecker.h.
|
private |
Element numbers.
Definition at line 109 of file AlignmentChecker.h.
|
private |
Geometry data.
Definition at line 106 of file AlignmentChecker.h.
|
private |
Sector support edge: line between corners 2 and 3.
Definition at line 118 of file AlignmentChecker.h.
|
private |
Sector support edge: line between corners 4 and 1.
Definition at line 124 of file AlignmentChecker.h.
|
private |
Sector support edge: corner 1 line.
Definition at line 112 of file AlignmentChecker.h.
|
private |
Print information about overlaps or not.
Definition at line 103 of file AlignmentChecker.h.
|
private |
Segment support.
Definition at line 127 of file AlignmentChecker.h.