ATLAS Offline Software
Namespaces | Functions | Variables
supportsThinning.h File Reference

Metafunctions to test for thinning support. More...

#include "AthContainers/AuxVectorBase.h"
#include "AthContainers/AuxElement.h"
#include "AthContainersInterfaces/IAuxStore.h"
#include <type_traits>
Include dependency graph for supportsThinning.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 SG
 Forward declaration.
 

Functions

template<class T , typename std::enable_if_t< is_xAODInterfaceObject_v< T > > * = nullptr>
constexpr bool SG::xAODInterfaceSupportingThinning ()
 
template<class T , typename std::enable_if_t< is_xAODStoreObject_v< T > > * = nullptr>
constexpr bool SG::xAODStoreSupportingThinning ()
 

Variables

template<class T >
constexpr bool SG::is_xAODInterfaceObject_v
 Test for an xAOD interface class supporting thinning. More...
 
template<class T >
constexpr bool SG::is_xAODStoreObject_v
 Test for an xAOD auxiliary store class supporting thinning. More...
 

Detailed Description

Metafunctions to test for thinning support.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Sep, 2019 This file provides a couple metafunctions that can be used to select the proper pool converter class for a given data object.

xAODInterfaceSupportingThinning<T>() evaluates to true if T is an xAOD interface class (DataVector or standalone) that has not been tagged with supportsThinning = false. xAODStoreSupportingThinning() is the same for xAOD auxiliary store objects.

Definition in file supportsThinning.h.