ATLAS Offline Software
Loading...
Searching...
No Matches
supportsThinning.h File Reference

Metafunctions to test for thinning support. More...

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

namespace  SG
 Forward declaration.

Functions

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

Variables

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

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.