Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Experimental::DetectorVolume::ObjectStore< internal_type > Struct Template Reference

#include <acts/blob/sPHENIX/Core/include/Acts/Detector/DetectorVolume.hpp>

+ Collaboration diagram for Acts::Experimental::DetectorVolume::ObjectStore< internal_type >:

Public Member Functions

 ObjectStore (std::vector< internal_type > objects)
 
 ObjectStore ()=default
 

Public Attributes

std::vector< internal_type > internal = {}
 The internal storage vector.
 
std::vector< const typename
internal_type::element_type * > 
external = {}
 The external storage vector, const raw pointer.
 

Detailed Description

template<typename internal_type>
struct Acts::Experimental::DetectorVolume::ObjectStore< internal_type >

Nested object store that holds the internal (non-const), reference counted objects and provides an external (const raw pointer) access

Template Parameters
internal_typeis the internal storage representation, has to comply with std::shared_ptr semantics

Definition at line 75 of file DetectorVolume.hpp.

View newest version in sPHENIX GitHub at line 75 of file DetectorVolume.hpp

Constructor & Destructor Documentation

template<typename internal_type>
Acts::Experimental::DetectorVolume::ObjectStore< internal_type >::ObjectStore ( std::vector< internal_type >  objects)
inline

Store constructor

Parameters
objectsare the ones copied into the internal store

Definition at line 85 of file DetectorVolume.hpp.

View newest version in sPHENIX GitHub at line 85 of file DetectorVolume.hpp

template<typename internal_type>
Acts::Experimental::DetectorVolume::ObjectStore< internal_type >::ObjectStore ( )
default

Member Data Documentation

template<typename internal_type>
std::vector<const typename internal_type::element_type*> Acts::Experimental::DetectorVolume::ObjectStore< internal_type >::external = {}

The external storage vector, const raw pointer.

Definition at line 80 of file DetectorVolume.hpp.

View newest version in sPHENIX GitHub at line 80 of file DetectorVolume.hpp

Referenced by Acts::Experimental::DetectorVolume::ObjectStore< std::shared_ptr< DetectorVolume > >::ObjectStore().

template<typename internal_type>
std::vector<internal_type> Acts::Experimental::DetectorVolume::ObjectStore< internal_type >::internal = {}

The internal storage vector.

Definition at line 77 of file DetectorVolume.hpp.

View newest version in sPHENIX GitHub at line 77 of file DetectorVolume.hpp

Referenced by Acts::Experimental::Detector::Detector().


The documentation for this struct was generated from the following file: