|
| template<typename Factory> |
| constexpr Slot | SHiP::geometry::layout::slotOf (LengthMm halfX, LengthMm halfY, LengthMm halfZ) |
| | A factory's slot: its registered placement (descriptor()) together with its container half-lengths.
|
| template<std::size_t N> |
| constexpr std::size_t | SHiP::geometry::layout::firstOutOfOrder (const std::array< Slot, N > &slots) |
| | Centres never decrease along the slot list.
|
| template<std::size_t M> |
| constexpr bool | SHiP::geometry::layout::isKnownOverlap (const std::array< KnownOverlap, M > &known, const Slot &a, const Slot &b) |
| | The pair is listed in known and overlaps no further than its region.
|
| template<std::size_t K> |
| constexpr bool | SHiP::geometry::layout::isCutOut (const std::array< CutOut, K > &cutOuts, const Slot &a, const Slot &b) |
| | One of the pair has the other's shape cut out of it (listed in cutOuts), and the other lies within that cavity.
|
| template<std::size_t N, std::size_t M = kKnownOverlaps.size(), std::size_t K = kCutOuts.size()> |
| constexpr std::size_t | SHiP::geometry::layout::firstUnexpectedOverlap (const std::array< Slot, N > &slots, const std::array< KnownOverlap, M > &known=kKnownOverlaps, const std::array< CutOut, K > &cutOuts=kCutOuts) |
| | Index of the first slot that overlaps a later one, unless the pair is a known overlap that has not grown, or one sits in a cavity cut out of the other; npos if there is none.
|
| constexpr bool | SHiP::geometry::layout::fitsEnvelopeZ (const Slot &slot, const envelopes::Envelope &env, LengthMm tol=1e-6 *detail::mm) |
| | Container lies inside the envelope along the beam (with tol of slack, for values that are equal on paper but rounded differently).
|
| constexpr bool | SHiP::geometry::layout::fitsEnvelopeXY (const Slot &slot, const envelopes::Envelope &env, LengthMm tolX=detail::zero, LengthMm tolY=detail::zero) |
| | Container stays inside the envelope's largest transverse size (with tolX and tolY of slack).
|
| constexpr bool | SHiP::geometry::layout::isInCavity (const Slot &slot) |
| | The container lies within the halls taken together: the muon shield runs from TCC8 across the step into ECN3, and the magnet sits partly in the yoke pit.
|
| constexpr checks::Span | SHiP::geometry::layout::trackerStation (LengthMm centreZ) |
| | Absolute z-span of one tracker station.
|