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

#include <ASoAHelpers.h>

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

Public Types

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

Public Member Functions

 CombinationsBlockIndexPolicyBase (const BP &binningPolicy, int categoryNeighbours, const T &outsider)
 
 CombinationsBlockIndexPolicyBase (const BP &binningPolicy, int categoryNeighbours, const T &outsider, const Ts &... tables)
 
 CombinationsBlockIndexPolicyBase (const BP &binningPolicy, int categoryNeighbours, const T &outsider, Ts &&... tables)
 
void setTables (const Ts &... tables)
 
void setTables (Ts &&... tables)
 
void setRanges (const Ts &... tables)
 
void setRanges (Ts &&... tables)
 
int currentWindowNeighbours ()
 
bool isNewWindow ()
 
- Public Member Functions inherited from o2::soa::CombinationsIndexPolicyBase< 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::array< std::vector< BinningIndex >, sizeof...(Ts)> mGroupedIndices
 
IndicesType mCurrentIndices
 
IndicesType mBeginIndices
 
uint64_t mSlidingWindowSize
 
const BP mBP
 
const int mCategoryNeighbours
 
const T mOutsider
 
bool mIsNewWindow
 
- Public Attributes inherited from o2::soa::CombinationsIndexPolicyBase< Ts... >
std::shared_ptr< std::tuple< Ts... > > mTables
 
CombinationType mCurrent
 
IndicesType mMaxOffset
 
bool mIsEnd
 

Detailed Description

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

Definition at line 418 of file ASoAHelpers.h.

Member Typedef Documentation

◆ CombinationType

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

Definition at line 419 of file ASoAHelpers.h.

◆ IndicesType

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

Definition at line 420 of file ASoAHelpers.h.

Constructor & Destructor Documentation

◆ CombinationsBlockIndexPolicyBase() [1/3]

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

Definition at line 422 of file ASoAHelpers.h.

◆ CombinationsBlockIndexPolicyBase() [2/3]

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

Definition at line 423 of file ASoAHelpers.h.

◆ CombinationsBlockIndexPolicyBase() [3/3]

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

Definition at line 429 of file ASoAHelpers.h.

Member Function Documentation

◆ currentWindowNeighbours()

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

Definition at line 504 of file ASoAHelpers.h.

◆ isNewWindow()

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

Definition at line 520 of file ASoAHelpers.h.

◆ setRanges() [1/2]

template<typename BP , typename T , typename... Ts>
void o2::soa::CombinationsBlockIndexPolicyBase< BP, T, Ts >::setRanges ( const Ts &...  tables)
inline

Definition at line 447 of file ASoAHelpers.h.

◆ setRanges() [2/2]

template<typename BP , typename T , typename... Ts>
void o2::soa::CombinationsBlockIndexPolicyBase< BP, T, Ts >::setRanges ( Ts &&...  tables)
inline

Definition at line 472 of file ASoAHelpers.h.

◆ setTables() [1/2]

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

Definition at line 436 of file ASoAHelpers.h.

◆ setTables() [2/2]

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

Definition at line 441 of file ASoAHelpers.h.

Member Data Documentation

◆ mBeginIndices

template<typename BP , typename T , typename... Ts>
IndicesType o2::soa::CombinationsBlockIndexPolicyBase< BP, T, Ts >::mBeginIndices

Definition at line 527 of file ASoAHelpers.h.

◆ mBP

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

Definition at line 529 of file ASoAHelpers.h.

◆ mCategoryNeighbours

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

Definition at line 530 of file ASoAHelpers.h.

◆ mCurrentIndices

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

Definition at line 526 of file ASoAHelpers.h.

◆ mGroupedIndices

template<typename BP , typename T , typename... Ts>
std::array<std::vector<BinningIndex>, sizeof...(Ts)> o2::soa::CombinationsBlockIndexPolicyBase< BP, T, Ts >::mGroupedIndices

Definition at line 525 of file ASoAHelpers.h.

◆ mIsNewWindow

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

Definition at line 532 of file ASoAHelpers.h.

◆ mOutsider

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

Definition at line 531 of file ASoAHelpers.h.

◆ mSlidingWindowSize

template<typename BP , typename T , typename... Ts>
uint64_t o2::soa::CombinationsBlockIndexPolicyBase< BP, T, Ts >::mSlidingWindowSize

Definition at line 528 of file ASoAHelpers.h.


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