Project
Loading...
Searching...
No Matches
o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As > Struct Template Reference

#include <GroupedCombinations.h>

Classes

struct  GroupedIterator
 

Public Types

using grouping_policy_t = GroupingPolicy
 
using g_t = G
 
using associated_pack_t = framework::pack< As... >
 
using GroupedIteratorType = pack_to_tuple_t< interleaved_pack_t< repeated_type_pack_t< typename G::iterator, sizeof...(As)>, pack< As... > > >
 
using iterator = GroupedIterator
 
using const_iterator = GroupedIterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
 GroupedCombinationsGenerator (const BP &binningPolicy, int catNeighbours, const T1 &outsider, SliceCache *cache)
 
template<typename... T2s>
 GroupedCombinationsGenerator (const BP &binningPolicy, int catNeighbours, const T1 &outsider, const G &grouping, const std::tuple< T2s... > &associated, SliceCache *cache)
 
 GroupedCombinationsGenerator (GroupedCombinationsGenerator const &)=default
 
GroupedCombinationsGeneratoroperator= (GroupedCombinationsGenerator const &)=default
 
 ~GroupedCombinationsGenerator ()=default
 
template<typename... T2s>
void setTables (const G &grouping, const std::tuple< T2s... > &associated)
 

Static Public Member Functions

template<typename... Ts>
static consteval bool compatible (framework::pack< Ts... > p)
 

Detailed Description

template<typename T1, typename GroupingPolicy, typename BP, typename G, typename... As>
struct o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >

Definition at line 51 of file GroupedCombinations.h.

Member Typedef Documentation

◆ associated_pack_t

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
using o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::associated_pack_t = framework::pack<As...>

Definition at line 54 of file GroupedCombinations.h.

◆ const_iterator

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
using o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::const_iterator = GroupedIterator

Definition at line 198 of file GroupedCombinations.h.

◆ g_t

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
using o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::g_t = G

Definition at line 53 of file GroupedCombinations.h.

◆ GroupedIteratorType

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
using o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::GroupedIteratorType = pack_to_tuple_t<interleaved_pack_t<repeated_type_pack_t<typename G::iterator, sizeof...(As)>, pack<As...> >>

Definition at line 62 of file GroupedCombinations.h.

◆ grouping_policy_t

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
using o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::grouping_policy_t = GroupingPolicy

Definition at line 52 of file GroupedCombinations.h.

◆ iterator

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
using o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::iterator = GroupedIterator

Definition at line 197 of file GroupedCombinations.h.

Constructor & Destructor Documentation

◆ GroupedCombinationsGenerator() [1/3]

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::GroupedCombinationsGenerator ( const BP &  binningPolicy,
int  catNeighbours,
const T1 &  outsider,
SliceCache cache 
)
inline

Definition at line 217 of file GroupedCombinations.h.

◆ GroupedCombinationsGenerator() [2/3]

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
template<typename... T2s>
o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::GroupedCombinationsGenerator ( const BP &  binningPolicy,
int  catNeighbours,
const T1 &  outsider,
const G &  grouping,
const std::tuple< T2s... > &  associated,
SliceCache cache 
)
inline

Definition at line 221 of file GroupedCombinations.h.

◆ GroupedCombinationsGenerator() [3/3]

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::GroupedCombinationsGenerator ( GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As > const &  )
default

◆ ~GroupedCombinationsGenerator()

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::~GroupedCombinationsGenerator ( )
default

Member Function Documentation

◆ begin() [1/2]

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
iterator o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::begin ( )
inline

Definition at line 200 of file GroupedCombinations.h.

◆ begin() [2/2]

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
const_iterator o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::begin ( ) const
inline

Definition at line 208 of file GroupedCombinations.h.

◆ compatible()

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
template<typename... Ts>
static consteval bool o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::compatible ( framework::pack< Ts... >  p)
inlinestatic

Definition at line 57 of file GroupedCombinations.h.

◆ end() [1/2]

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
iterator o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::end ( )
inline

Definition at line 204 of file GroupedCombinations.h.

◆ end() [2/2]

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
const_iterator o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::end ( ) const
inline

Definition at line 212 of file GroupedCombinations.h.

◆ operator=()

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
GroupedCombinationsGenerator & o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::operator= ( GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As > const &  )
default

◆ setTables()

template<typename T1 , typename GroupingPolicy , typename BP , typename G , typename... As>
template<typename... T2s>
void o2::framework::GroupedCombinationsGenerator< T1, GroupingPolicy, BP, G, As >::setTables ( const G &  grouping,
const std::tuple< T2s... > &  associated 
)
inline

Definition at line 231 of file GroupedCombinations.h.


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