ATLAS Offline Software
Loading...
Searching...
No Matches
AthExDevice::DeviceObject< BASE > Class Template Reference

Interface to the example SoA collection. More...

#include <DeviceObjectCollection.h>

Inheritance diagram for AthExDevice::DeviceObject< BASE >:
Collaboration diagram for AthExDevice::DeviceObject< BASE >:

Public Member Functions

Constructors
 DeviceObject (const DeviceObject &other)=default
 Use a default copy constructor.
 DeviceObject (DeviceObject &&other)=default
 Use a default move constructor.
Member accessor(s)
auto & eta ()
const auto & eta () const
auto & phi ()
const auto & phi () const
auto & indices ()
const auto & indices () const

Detailed Description

template<typename BASE>
class AthExDevice::DeviceObject< BASE >

Interface to the example SoA collection.

Definition at line 15 of file DeviceObjectCollection.h.

Constructor & Destructor Documentation

◆ DeviceObject() [1/2]

template<typename BASE>
AthExDevice::DeviceObject< BASE >::DeviceObject ( const DeviceObject< BASE > & other)
default

Use a default copy constructor.

◆ DeviceObject() [2/2]

template<typename BASE>
AthExDevice::DeviceObject< BASE >::DeviceObject ( DeviceObject< BASE > && other)
default

Use a default move constructor.

Member Function Documentation

◆ eta() [1/2]

template<typename BASE>
auto & AthExDevice::DeviceObject< BASE >::eta ( )
inline

Definition at line 33 of file DeviceObjectCollection.h.

33{ return BASE::template get<0>(); }
Interface to the example SoA collection.
T * get(TKey *tobj)
get a TObject* from a TKey* (why can't a TObject be a TKey?)
Definition hcg.cxx:132

◆ eta() [2/2]

template<typename BASE>
const auto & AthExDevice::DeviceObject< BASE >::eta ( ) const
inline

Definition at line 34 of file DeviceObjectCollection.h.

34{ return BASE::template get<0>(); }

◆ indices() [1/2]

template<typename BASE>
auto & AthExDevice::DeviceObject< BASE >::indices ( )
inline

Definition at line 39 of file DeviceObjectCollection.h.

39{ return BASE::template get<2>(); }

◆ indices() [2/2]

template<typename BASE>
const auto & AthExDevice::DeviceObject< BASE >::indices ( ) const
inline

Definition at line 40 of file DeviceObjectCollection.h.

40{ return BASE::template get<2>(); }

◆ phi() [1/2]

template<typename BASE>
auto & AthExDevice::DeviceObject< BASE >::phi ( )
inline

Definition at line 36 of file DeviceObjectCollection.h.

36{ return BASE::template get<1>(); }

◆ phi() [2/2]

template<typename BASE>
const auto & AthExDevice::DeviceObject< BASE >::phi ( ) const
inline

Definition at line 37 of file DeviceObjectCollection.h.

37{ return BASE::template get<1>(); }

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