ATLAS Offline Software
Static Public Member Functions | Static Public Attributes | List of all members
TrigVSI::Coordinate::is_coord< T > Struct Template Reference

=========================================================================== More...

#include <Coordinate.h>

Collaboration diagram for TrigVSI::Coordinate::is_coord< T >:

Static Public Member Functions

static auto check (...) -> std::false_type
 
template<typename _Coord >
static auto check (_Coord *) -> decltype(static_cast< TVector3(*)(const KDPoint< double, 3 > &)>(&_Coord::X123toXYZ), static_cast< KDPoint< double, 3 >(*)(const TVector3 &)>(&_Coord::XYZtoX123), static_cast< KDPoint< double, 3 >(*)(const KDPoint< double, 3 > &)>(&_Coord::Proj), static_cast< KDPoint< int, 3 >(*)(const KDPoint< int, 3 > &, const std::unique_ptr< TH3D > &)>(&_Coord::ProjBin), std::true_type())
 

Static Public Attributes

static constexpr T * insPolicy = nullptr
 
static constexpr bool value = decltype(check(insPolicy))::value
 

Detailed Description

template<typename T>
struct TrigVSI::Coordinate::is_coord< T >

===========================================================================

struct for meta-function to judge the policy class is coordinate.

Definition at line 117 of file TrigTools/TrigVrtSecInclusive/TrigVrtSecInclusive/Coordinate.h.

Member Function Documentation

◆ check() [1/2]

template<typename T >
static auto TrigVSI::Coordinate::is_coord< T >::check (   ...) -> std::false_type
static

◆ check() [2/2]

template<typename T >
template<typename _Coord >
static auto TrigVSI::Coordinate::is_coord< T >::check ( _Coord *  ) -> decltype(static_cast< TVector3(*)(const KDPoint< double, 3 > &)>(&_Coord::X123toXYZ), static_cast< KDPoint< double, 3 >(*)(const TVector3 &)>(&_Coord::XYZtoX123), static_cast< KDPoint< double, 3 >(*)(const KDPoint< double, 3 > &)>(&_Coord::Proj), static_cast< KDPoint< int, 3 >(*)(const KDPoint< int, 3 > &, const std::unique_ptr< TH3D > &)>(&_Coord::ProjBin), std::true_type())
static

Member Data Documentation

◆ insPolicy

template<typename T >
constexpr T* TrigVSI::Coordinate::is_coord< T >::insPolicy = nullptr
staticconstexpr

◆ value

template<typename T >
constexpr bool TrigVSI::Coordinate::is_coord< T >::value = decltype(check(insPolicy))::value
staticconstexpr

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