![]() |
ATLAS Offline Software
|
An adapter to create a container proxy from a range index which defines the actual element container and the element range. More...
#include <PhaseIIInDetRawDataContainer.h>
Public Types | |
| using | index_t |
| using | ContainerNonConst |
| using | ContainerPtr |
Public Member Functions | |
| index_t | index () const |
| const ContainerNonConst & | container () const |
| ContainerNonConst & | container () |
Static Public Member Functions | |
| static RawDataContainerProxy< T_RawDataContainer, T_RawDataProxy > | create (T_RawDataContainerCollection *container, unsigned int module_index) |
| Create the actual container proxy for the elements this proxy refers to. | |
| static RawDataContainerProxy< const T_RawDataContainer, T_RawDataProxy > | create (const T_RawDataContainerCollection *container, unsigned int module_index) |
| Create the actual container proxy for the elements this proxy refers to. | |
| static unsigned int | getOriginalElementIndex (const IndexWithRange &index) |
| Supporting method for "converted" proxies resulting from the methods above to recover the original "child" index. | |
Static Public Attributes | |
| static constexpr bool | isConst |
Protected Member Functions | |
| const ContainerNonConst * | cptr () const |
Protected Attributes | |
| ContainerPtr | m_container |
| index_t | m_index |
Private Types | |
| using | BASE = Utils::ElementProxyBase<T_RawDataContainerCollection,unsigned int > |
| using | T_Range = typename T_RawDataContainerCollection::T_RangeTypeBase |
| using | T_RawDataContainer = std::remove_cvref_t<decltype(std::declval<T_RawDataContainerCollection>().data(std::uint32_t{}))> |
Static Private Member Functions | |
| static IndexWithRange | getIndexWithRange (const T_RawDataContainerCollection &container, unsigned int module_index) |
| static const T_RawDataContainer * | getRawDataContainer (const T_RawDataContainerCollection &container, unsigned int module_index) |
| static T_RawDataContainer * | getRawDataContainer (T_RawDataContainerCollection &container, unsigned int module_index) |
An adapter to create a container proxy from a range index which defines the actual element container and the element range.
| T_RawDataContainerCollection | the hit container collection which provides the data for the hits, but also provides the container index and element ranges for a module index. it has to implement the method range(module_index), and data(container_index) |
| T_RawDataProxy | a proxy class which provides access to the properties of a single hit and is returned for each child element this proxy provides. |
Definition at line 445 of file PhaseIIInDetRawDataContainer.h.
|
private |
Definition at line 447 of file PhaseIIInDetRawDataContainer.h.
|
inherited |
Definition at line 116 of file ProxyContainer.h.
|
inherited |
Definition at line 117 of file ProxyContainer.h.
|
inherited |
Definition at line 115 of file ProxyContainer.h.
|
private |
Definition at line 448 of file PhaseIIInDetRawDataContainer.h.
|
private |
Definition at line 449 of file PhaseIIInDetRawDataContainer.h.
|
inlineinherited |
Definition at line 156 of file ProxyContainer.h.
|
inlineinherited |
Definition at line 152 of file ProxyContainer.h.
|
inlineprotectedinherited |
Definition at line 159 of file ProxyContainer.h.
|
inlinestatic |
Create the actual container proxy for the elements this proxy refers to.
This is contraction of creating this proxy and converting it into a new one. It will result in a read only proxy.
Definition at line 487 of file PhaseIIInDetRawDataContainer.h.
|
inlinestatic |
Create the actual container proxy for the elements this proxy refers to.
This is contraction of creating this proxy and converting it into a new one. It can result in a read/write or read only proxy.
Definition at line 475 of file PhaseIIInDetRawDataContainer.h.
|
inlinestaticprivate |
Definition at line 451 of file PhaseIIInDetRawDataContainer.h.
|
inlinestatic |
Supporting method for "converted" proxies resulting from the methods above to recover the original "child" index.
the original child index is the index which can be used to recover the given converted_element_proxy using the access operator [] on the parent proxy.
Definition at line 500 of file PhaseIIInDetRawDataContainer.h.
|
inlinestaticprivate |
Definition at line 458 of file PhaseIIInDetRawDataContainer.h.
|
inlinestaticprivate |
Definition at line 463 of file PhaseIIInDetRawDataContainer.h.
|
inlineinherited |
| Return | the "index" which identifies the element this proxy refers to within the container returned by container. This may or may not be the index which was used to create this proxy from the parent proxy i.e. in auto child_proxy=parent_proxy[index] it may be that child_proxy.index() != index. To recover "index" use auto index_recover = ParentProxy::getOriginalElementIndex(child_proxy); |
Definition at line 148 of file ProxyContainer.h.
|
staticconstexprinherited |
Definition at line 114 of file ProxyContainer.h.
|
protectedinherited |
Definition at line 162 of file ProxyContainer.h.
|
protectedinherited |
Definition at line 163 of file ProxyContainer.h.