ATLAS Offline Software
Loading...
Searching...
No Matches
ArrayFloat3.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ARRAY_FLOAT_3_H
6#define ARRAY_FLOAT_3_H
7
8namespace xAOD {
9
16
17 struct ArrayFloat3 {
18 float* data() { return &values[0]; }
19 const float* data() const { return &values[0]; }
20 float& operator[](const std::size_t idx) { return values[idx]; }
21 const float& operator[](const std::size_t idx) const { return values[idx]; }
22 float values[3];
23 };
24
25}
26
27#endif
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
A struct mimicking std::array<float ,3> this structure is a temporary solution for our dynamic variab...
Definition ArrayFloat3.h:17
const float * data() const
Definition ArrayFloat3.h:19
const float & operator[](const std::size_t idx) const
Definition ArrayFloat3.h:21
float & operator[](const std::size_t idx)
Definition ArrayFloat3.h:20