Project
Loading...
Searching...
No Matches
o2::framework::Defines< T > Struct Template Reference

#include <AnalysisHelpers.h>

Inherits decltypetransformBase< T >.

Public Types

using spawnable_t = T
 
using metadata = decltype(transformBase< T >())::metadata
 
using extension_t = typename metadata::extension_table_t
 
using base_table_t = typename metadata::base_table_t
 
using placeholders_pack_t = typename metadata::placeholders_pack_t
 

Public Member Functions

constexpr auto pack ()
 
T::table_t * operator-> ()
 
T::table_t const & operator* () const
 
auto asArrowTable ()
 

Public Attributes

std::shared_ptr< typename T::table_t > table = nullptr
 
std::shared_ptr< extension_textension = nullptr
 
std::array< o2::framework::expressions::Projector, Nprojectors
 
std::shared_ptr< gandiva::Projector > projector = nullptr
 

Static Public Attributes

static constexpr size_t N = framework::pack_size(placeholders_pack_t{})
 

Detailed Description

template<is_dynamically_spawnable T>
struct o2::framework::Defines< T >

This helper struct allows you to declare extended tables with dynamically-supplied expressions to be created by the task The actual expressions have to be set in init() for the configurable expression columns, used to define the table

Definition at line 337 of file AnalysisHelpers.h.

Member Typedef Documentation

◆ base_table_t

template<is_dynamically_spawnable T>
using o2::framework::Defines< T >::base_table_t = typename metadata::base_table_t

Definition at line 341 of file AnalysisHelpers.h.

◆ extension_t

template<is_dynamically_spawnable T>
using o2::framework::Defines< T >::extension_t = typename metadata::extension_table_t

Definition at line 340 of file AnalysisHelpers.h.

◆ metadata

template<is_dynamically_spawnable T>
using o2::framework::Defines< T >::metadata = decltype(transformBase<T>())::metadata

Definition at line 339 of file AnalysisHelpers.h.

◆ placeholders_pack_t

template<is_dynamically_spawnable T>
using o2::framework::Defines< T >::placeholders_pack_t = typename metadata::placeholders_pack_t

Definition at line 342 of file AnalysisHelpers.h.

◆ spawnable_t

template<is_dynamically_spawnable T>
using o2::framework::Defines< T >::spawnable_t = T

Definition at line 338 of file AnalysisHelpers.h.

Member Function Documentation

◆ asArrowTable()

template<is_dynamically_spawnable T>
auto o2::framework::Defines< T >::asArrowTable ( )
inline

Definition at line 359 of file AnalysisHelpers.h.

◆ operator*()

template<is_dynamically_spawnable T>
T::table_t const & o2::framework::Defines< T >::operator* ( ) const
inline

Definition at line 354 of file AnalysisHelpers.h.

◆ operator->()

template<is_dynamically_spawnable T>
T::table_t * o2::framework::Defines< T >::operator-> ( )
inline

Definition at line 350 of file AnalysisHelpers.h.

◆ pack()

template<is_dynamically_spawnable T>
constexpr auto o2::framework::Defines< T >::pack ( )
inlineconstexpr

Definition at line 345 of file AnalysisHelpers.h.

Member Data Documentation

◆ extension

template<is_dynamically_spawnable T>
std::shared_ptr<extension_t> o2::framework::Defines< T >::extension = nullptr

Definition at line 364 of file AnalysisHelpers.h.

◆ N

template<is_dynamically_spawnable T>
constexpr size_t o2::framework::Defines< T >::N = framework::pack_size(placeholders_pack_t{})
staticconstexpr

Definition at line 343 of file AnalysisHelpers.h.

◆ projector

template<is_dynamically_spawnable T>
std::shared_ptr<gandiva::Projector> o2::framework::Defines< T >::projector = nullptr

Definition at line 367 of file AnalysisHelpers.h.

◆ projectors

template<is_dynamically_spawnable T>
std::array<o2::framework::expressions::Projector, N> o2::framework::Defines< T >::projectors

Definition at line 366 of file AnalysisHelpers.h.

◆ table

template<is_dynamically_spawnable T>
std::shared_ptr<typename T::table_t> o2::framework::Defines< T >::table = nullptr

Definition at line 363 of file AnalysisHelpers.h.


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