Project
Loading...
Searching...
No Matches
o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts > Struct Template Reference

#include <ASoAHelpers.h>

Inherits o2::soa::CombinationsIndexPolicyBase< T, Ts... >.

Public Types

using CombinationType = typename CombinationsIndexPolicyBase< T, Ts... >::CombinationType
 
using IndicesType = typename NTupleType< uint64_t, sizeof...(Ts)+1 >::type
 
- Public Types inherited from o2::soa::CombinationsIndexPolicyBase< T, Ts... >
using CombinationType = std::tuple< typename Ts::iterator... >
 
using IndicesType = typename NTupleType< uint64_t, sizeof...(Ts)>::type
 

Public Member Functions

 CombinationsBlockSameIndexPolicyBase (const BP &binningPolicy, int categoryNeighbours, const T1 &outsider, int minWindowSize)
 
 CombinationsBlockSameIndexPolicyBase (const BP &binningPolicy, int categoryNeighbours, const T1 &outsider, int minWindowSize, const T &table, const Ts &... tables)
 
 CombinationsBlockSameIndexPolicyBase (const BP &binningPolicy, int categoryNeighbours, const T1 &outsider, int minWindowSize, T &&table, Ts &&... tables)
 
void setTables (const T &table, const Ts &... tables)
 
void setTables (T &&table, Ts &&... tables)
 
void setRanges (const T &table)
 
void setRanges ()
 
int currentWindowNeighbours ()
 
bool isNewWindow ()
 
- Public Member Functions inherited from o2::soa::CombinationsIndexPolicyBase< T, Ts... >
 CombinationsIndexPolicyBase ()
 
 CombinationsIndexPolicyBase (const Tss &... tables)
 
 CombinationsIndexPolicyBase (Tss &&... tables)
 
void setTables (const Ts &... tables)
 
void setTables (Tss &&... tables)
 
void moveToEnd ()
 
void addOne ()
 

Public Attributes

std::vector< BinningIndexmGroupedIndices
 
IndicesType mCurrentIndices
 
const uint64_t mSlidingWindowSize
 
const int mMinWindowSize
 
const BP mBP
 
const int mCategoryNeighbours
 
const T1 mOutsider
 
bool mIsNewWindow
 
- Public Attributes inherited from o2::soa::CombinationsIndexPolicyBase< T, Ts... >
std::shared_ptr< std::tuple< Ts... > > mTables
 
CombinationType mCurrent
 
IndicesType mMaxOffset
 
bool mIsEnd
 

Detailed Description

template<typename BP, typename T1, typename T, typename... Ts>
struct o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >

Definition at line 784 of file ASoAHelpers.h.

Member Typedef Documentation

◆ CombinationType

template<typename BP , typename T1 , typename T , typename... Ts>
using o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::CombinationType = typename CombinationsIndexPolicyBase<T, Ts...>::CombinationType

Definition at line 785 of file ASoAHelpers.h.

◆ IndicesType

template<typename BP , typename T1 , typename T , typename... Ts>
using o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::IndicesType = typename NTupleType<uint64_t, sizeof...(Ts) + 1>::type

Definition at line 786 of file ASoAHelpers.h.

Constructor & Destructor Documentation

◆ CombinationsBlockSameIndexPolicyBase() [1/3]

template<typename BP , typename T1 , typename T , typename... Ts>
o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::CombinationsBlockSameIndexPolicyBase ( const BP &  binningPolicy,
int  categoryNeighbours,
const T1 &  outsider,
int  minWindowSize 
)
inline

Definition at line 788 of file ASoAHelpers.h.

◆ CombinationsBlockSameIndexPolicyBase() [2/3]

template<typename BP , typename T1 , typename T , typename... Ts>
o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::CombinationsBlockSameIndexPolicyBase ( const BP &  binningPolicy,
int  categoryNeighbours,
const T1 &  outsider,
int  minWindowSize,
const T &  table,
const Ts &...  tables 
)
inline

Definition at line 789 of file ASoAHelpers.h.

◆ CombinationsBlockSameIndexPolicyBase() [3/3]

template<typename BP , typename T1 , typename T , typename... Ts>
o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::CombinationsBlockSameIndexPolicyBase ( const BP &  binningPolicy,
int  categoryNeighbours,
const T1 &  outsider,
int  minWindowSize,
T &&  table,
Ts &&...  tables 
)
inline

Definition at line 795 of file ASoAHelpers.h.

Member Function Documentation

◆ currentWindowNeighbours()

template<typename BP , typename T1 , typename T , typename... Ts>
int o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::currentWindowNeighbours ( )
inline

Definition at line 854 of file ASoAHelpers.h.

◆ isNewWindow()

template<typename BP , typename T1 , typename T , typename... Ts>
bool o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::isNewWindow ( )
inline

Definition at line 870 of file ASoAHelpers.h.

◆ setRanges() [1/2]

template<typename BP , typename T1 , typename T , typename... Ts>
void o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::setRanges ( )
inline

Definition at line 835 of file ASoAHelpers.h.

◆ setRanges() [2/2]

template<typename BP , typename T1 , typename T , typename... Ts>
void o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::setRanges ( const T &  table)
inline

Definition at line 817 of file ASoAHelpers.h.

◆ setTables() [1/2]

template<typename BP , typename T1 , typename T , typename... Ts>
void o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::setTables ( const T &  table,
const Ts &...  tables 
)
inline

Definition at line 802 of file ASoAHelpers.h.

◆ setTables() [2/2]

template<typename BP , typename T1 , typename T , typename... Ts>
void o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::setTables ( T &&  table,
Ts &&...  tables 
)
inline

Definition at line 809 of file ASoAHelpers.h.

Member Data Documentation

◆ mBP

template<typename BP , typename T1 , typename T , typename... Ts>
const BP o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::mBP

Definition at line 879 of file ASoAHelpers.h.

◆ mCategoryNeighbours

template<typename BP , typename T1 , typename T , typename... Ts>
const int o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::mCategoryNeighbours

Definition at line 880 of file ASoAHelpers.h.

◆ mCurrentIndices

template<typename BP , typename T1 , typename T , typename... Ts>
IndicesType o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::mCurrentIndices

Definition at line 876 of file ASoAHelpers.h.

◆ mGroupedIndices

template<typename BP , typename T1 , typename T , typename... Ts>
std::vector<BinningIndex> o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::mGroupedIndices

Definition at line 875 of file ASoAHelpers.h.

◆ mIsNewWindow

template<typename BP , typename T1 , typename T , typename... Ts>
bool o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::mIsNewWindow

Definition at line 882 of file ASoAHelpers.h.

◆ mMinWindowSize

template<typename BP , typename T1 , typename T , typename... Ts>
const int o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::mMinWindowSize

Definition at line 878 of file ASoAHelpers.h.

◆ mOutsider

template<typename BP , typename T1 , typename T , typename... Ts>
const T1 o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::mOutsider

Definition at line 881 of file ASoAHelpers.h.

◆ mSlidingWindowSize

template<typename BP , typename T1 , typename T , typename... Ts>
const uint64_t o2::soa::CombinationsBlockSameIndexPolicyBase< BP, T1, T, Ts >::mSlidingWindowSize

Definition at line 877 of file ASoAHelpers.h.


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