ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
xAOD::ArrayFloat3 Struct Reference

A struct mimicking std::array<float ,3> this structure is a temporary solution for our dynamic variables. More...

#include <SpacePoint_v1.h>

Collaboration diagram for xAOD::ArrayFloat3:

Public Member Functions

floatdata ()
 
const floatdata () const
 

Public Attributes

float values [3]
 

Detailed Description

A struct mimicking std::array<float ,3> this structure is a temporary solution for our dynamic variables.

There is an issue with ROOT's handling of std::vector<std::array<T, N> >, followed in https://github.com/root-project/root/issues/12007, that prevents us from using std::vector< std::array<float, 3> > for dynamic variables. This structure bypass the issue.

Definition at line 23 of file SpacePoint_v1.h.

Member Function Documentation

◆ data() [1/2]

float* xAOD::ArrayFloat3::data ( )
inline

Definition at line 24 of file SpacePoint_v1.h.

24 { return &values[0]; }

◆ data() [2/2]

const float* xAOD::ArrayFloat3::data ( ) const
inline

Definition at line 25 of file SpacePoint_v1.h.

25 { return &values[0]; }

Member Data Documentation

◆ values

float xAOD::ArrayFloat3::values[3]

Definition at line 26 of file SpacePoint_v1.h.


The documentation for this struct was generated from the following file:
xAOD::ArrayFloat3::values
float values[3]
Definition: SpacePoint_v1.h:26