1#ifndef OPALX_ReferencePathSegment_HH
2#define OPALX_ReferencePathSegment_HH
24 double begin = 0.0,
double end = 0.0,
const element_set_t& activeElements = {},
25 const std::optional<double>& legacyElementEdge = std::nullopt)
Defines the abstract interface for a single beamline component in the accelerator model.
Reference-coordinate interval with optional legacy ELEMEDGE anchor.
element_set_t activeElements_m
const element_set_t & getActiveElements() const
ReferencePathSegment(double begin=0.0, double end=0.0, const element_set_t &activeElements={}, const std::optional< double > &legacyElementEdge=std::nullopt)
bool hasLegacyElementEdge() const
const std::optional< double > & getLegacyElementEdge() const
std::set< std::shared_ptr< Component > > element_set_t
std::optional< double > legacyElementEdge_m