Project
Loading...
Searching...
No Matches
o2::dataformats::DecayNBodyIndex< N > Class Template Reference

#include <DecayNBodyIndex.h>

Public Types

using GIndex = o2::dataformats::VtxTrackIndex
 

Public Member Functions

 DecayNBodyIndex ()=default
 
 DecayNBodyIndex (int v, const std::array< GIndex, N > &arr)
 
 DecayNBodyIndex (int v, std::initializer_list< GIndex > l)
 
GIndex getProngID (int i) const
 
void setProngID (int i, GIndex gid)
 
int getVertexID () const
 
void setVertexID (int id)
 
uint8_t getBits () const
 
bool testBit (int i) const
 
void setBit (int i)
 
void resetBit (int i)
 
const std::array< GIndex, N > & getProngs () const
 

Static Public Member Functions

static constexpr int getNProngs ()
 

Protected Member Functions

 ClassDefNV (DecayNBodyIndex, 2)
 

Protected Attributes

int mVertexID = -1
 
std::array< GIndex, N > mProngIDs {}
 
uint8_t mBits = 0
 

Detailed Description

template<int N>
class o2::dataformats::DecayNBodyIndex< N >

Definition at line 21 of file DecayNBodyIndex.h.

Member Typedef Documentation

◆ GIndex

Constructor & Destructor Documentation

◆ DecayNBodyIndex() [1/3]

template<int N>
o2::dataformats::DecayNBodyIndex< N >::DecayNBodyIndex ( )
default

◆ DecayNBodyIndex() [2/3]

template<int N>
o2::dataformats::DecayNBodyIndex< N >::DecayNBodyIndex ( int  v,
const std::array< GIndex, N > &  arr 
)
inline

Definition at line 26 of file DecayNBodyIndex.h.

◆ DecayNBodyIndex() [3/3]

template<int N>
o2::dataformats::DecayNBodyIndex< N >::DecayNBodyIndex ( int  v,
std::initializer_list< GIndex l 
)
inline

Definition at line 27 of file DecayNBodyIndex.h.

Member Function Documentation

◆ ClassDefNV()

template<int N>
o2::dataformats::DecayNBodyIndex< N >::ClassDefNV ( DecayNBodyIndex< N >  ,
 
)
protected

◆ getBits()

template<int N>
uint8_t o2::dataformats::DecayNBodyIndex< N >::getBits ( ) const
inline

Definition at line 39 of file DecayNBodyIndex.h.

◆ getNProngs()

template<int N>
static constexpr int o2::dataformats::DecayNBodyIndex< N >::getNProngs ( )
inlinestaticconstexpr

Definition at line 45 of file DecayNBodyIndex.h.

◆ getProngID()

template<int N>
GIndex o2::dataformats::DecayNBodyIndex< N >::getProngID ( int  i) const
inline

Definition at line 35 of file DecayNBodyIndex.h.

◆ getProngs()

template<int N>
const std::array< GIndex, N > & o2::dataformats::DecayNBodyIndex< N >::getProngs ( ) const
inline

Definition at line 44 of file DecayNBodyIndex.h.

◆ getVertexID()

template<int N>
int o2::dataformats::DecayNBodyIndex< N >::getVertexID ( ) const
inline

Definition at line 37 of file DecayNBodyIndex.h.

◆ resetBit()

template<int N>
void o2::dataformats::DecayNBodyIndex< N >::resetBit ( int  i)
inline

Definition at line 42 of file DecayNBodyIndex.h.

◆ setBit()

template<int N>
void o2::dataformats::DecayNBodyIndex< N >::setBit ( int  i)
inline

Definition at line 41 of file DecayNBodyIndex.h.

◆ setProngID()

template<int N>
void o2::dataformats::DecayNBodyIndex< N >::setProngID ( int  i,
GIndex  gid 
)
inline

Definition at line 36 of file DecayNBodyIndex.h.

◆ setVertexID()

template<int N>
void o2::dataformats::DecayNBodyIndex< N >::setVertexID ( int  id)
inline

Definition at line 38 of file DecayNBodyIndex.h.

◆ testBit()

template<int N>
bool o2::dataformats::DecayNBodyIndex< N >::testBit ( int  i) const
inline

Definition at line 40 of file DecayNBodyIndex.h.

Member Data Documentation

◆ mBits

template<int N>
uint8_t o2::dataformats::DecayNBodyIndex< N >::mBits = 0
protected

Definition at line 50 of file DecayNBodyIndex.h.

◆ mProngIDs

template<int N>
std::array<GIndex, N> o2::dataformats::DecayNBodyIndex< N >::mProngIDs {}
protected

Definition at line 49 of file DecayNBodyIndex.h.

◆ mVertexID

template<int N>
int o2::dataformats::DecayNBodyIndex< N >::mVertexID = -1
protected

Definition at line 48 of file DecayNBodyIndex.h.


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