Project
Loading...
Searching...
No Matches
o2::dataformats::VtxTrackIndex Class Reference

#include <VtxTrackIndex.h>

Inherits o2::dataformats::GlobalTrackID.

Public Types

enum  Flags : uint8_t { Contributor , Ambiguous , NFlags }
 
- Public Types inherited from o2::dataformats::GlobalTrackID
enum  Source : uint8_t {
  ITS , TPC , TRD , TOF ,
  PHS , CPV , EMC , HMP ,
  MFT , MCH , MID , ZDC ,
  FT0 , FV0 , FDD , ITSTPC ,
  TPCTOF , TPCTRD , MFTMCH , ITSTPCTRD ,
  ITSTPCTOF , TPCTRDTOF , MFTMCHMID , ITSTPCTRDTOF ,
  ITSAB , CTP , MCHMID , NSources
}
 
using DetID = o2::detectors::DetID
 
typedef o2::gpu::gpustd::bitset< 32 > mask_t
 
- Public Types inherited from o2::dataformats::AbstractRef< 25, 5, 2 >
using Base_t = decltype(AbstractRef::MVAR< NBIdx+NBSrc+NBFlg >())
 
using Idx_t = decltype(AbstractRef::MVAR< NBIdx >())
 
using Src_t = decltype(AbstractRef::MVAR< NBSrc >())
 
using Flg_t = decltype(AbstractRef::MVAR< NBFlg >())
 

Public Member Functions

 VtxTrackIndex ()=default
 
 VtxTrackIndex (const GlobalTrackID &src)
 
bool isPVContributor () const
 
void setPVContributor ()
 
bool isAmbiguous () const
 
void setAmbiguous ()
 
 ClassDefNV (VtxTrackIndex, 2)
 
- Public Member Functions inherited from o2::dataformats::GlobalTrackID
GPUdi() static const expr DetID GPUdi() static const expr DetID GPUdi () static bool includesDet(DetID id
 
 GPUdi () static bool isTrackSource(int s)
 
 GPUdi () auto getSourceDetectorsMask() const
 
 GPUdi () bool includesDet(DetID id) const
 
auto getSourceName () const
 
 GPUd () static const expr mask_t getSourceMask(int s)
 
 GPUdi () mask_t getSourceMask() const
 
 GPUdi () static bool includesSource(int s
 
 GPUdi () operator int() const
 
std::string asString () const
 
void print () const
 
 ClassDefNV (GlobalTrackID, 3)
 
- Public Member Functions inherited from o2::dataformats::AbstractRef< 25, 5, 2 >
 GPUdDefault () AbstractRef()=default
 
 GPUdi () AbstractRef(Idx_t idx
 
 GPUdi () AbstractRef(Base_t raw)
 
 GPUdi () Idx_t getIndex() const
 
 GPUdi () void setIndex(Idx_t idx)
 
 GPUdi () Src_t getSource() const
 
 GPUdi () void setSource(Src_t src)
 
 GPUdi () Flg_t getFlags() const
 
 GPUdi () void setFlags(Flg_t f)
 
 GPUdi () bool testBit(int i) const
 
 GPUdi () void setBit(int i)
 
 GPUdi () void resetBit(int i)
 
 GPUdi () void set(Idx_t idx
 
 GPUdi () Base_t getRaw() const
 
 GPUdi () void setRaw(Base_t v)
 
 GPUdi () Base_t getRawWOFlags() const
 
 GPUdi () bool isIndexSet() const
 
 GPUdi () bool isSourceSet() const
 
 GPUdi () bool operator
 
 ClassDefNV (AbstractRef, 1)
 

Additional Inherited Members

- Static Public Member Functions inherited from o2::dataformats::GlobalTrackID
static auto getSourceName (int s)
 
static mask_t getSourcesMask (const std::string_view srcList)
 
static std::string getSourcesNames (mask_t srcm)
 
- Static Public Member Functions inherited from o2::dataformats::AbstractRef< 25, 5, 2 >
static constexpr int NBitsIndex ()
 
static constexpr int NBitsSource ()
 
static constexpr int NBitsFlags ()
 
- Public Attributes inherited from o2::dataformats::GlobalTrackID
GPUdi() static const expr DetID GPUdi() static const expr DetID GlobalTrackID::mask_t srcm
 
mask_t srcm { return srcm[s]
 
- Public Attributes inherited from o2::dataformats::AbstractRef< 25, 5, 2 >
Src_t src
 
- Static Public Attributes inherited from o2::dataformats::GlobalTrackID
static constexpr std::string_view NONE {"none"}
 keywork for no sources
 
static constexpr std::string_view ALL {"all"}
 keywork for all sources
 
static constexpr mask_t MASK_ALL = (1u << NSources) - 1
 
static constexpr mask_t MASK_NONE = 0
 
- Static Public Attributes inherited from o2::dataformats::AbstractRef< 25, 5, 2 >
static constexpr Base_t BaseMask
 
static constexpr Idx_t IdxMask
 
static constexpr Src_t SrcMask
 
static constexpr Flg_t FlgMask
 

Detailed Description

Definition at line 30 of file VtxTrackIndex.h.

Member Enumeration Documentation

◆ Flags

Enumerator
Contributor 
Ambiguous 
NFlags 

Definition at line 33 of file VtxTrackIndex.h.

Constructor & Destructor Documentation

◆ VtxTrackIndex() [1/2]

o2::dataformats::VtxTrackIndex::VtxTrackIndex ( )
default

◆ VtxTrackIndex() [2/2]

o2::dataformats::VtxTrackIndex::VtxTrackIndex ( const GlobalTrackID src)
inline

Definition at line 41 of file VtxTrackIndex.h.

Member Function Documentation

◆ ClassDefNV()

o2::dataformats::VtxTrackIndex::ClassDefNV ( VtxTrackIndex  ,
 
)

◆ isAmbiguous()

bool o2::dataformats::VtxTrackIndex::isAmbiguous ( ) const
inline

Definition at line 46 of file VtxTrackIndex.h.

◆ isPVContributor()

bool o2::dataformats::VtxTrackIndex::isPVContributor ( ) const
inline

Definition at line 43 of file VtxTrackIndex.h.

◆ setAmbiguous()

void o2::dataformats::VtxTrackIndex::setAmbiguous ( )
inline

Definition at line 47 of file VtxTrackIndex.h.

◆ setPVContributor()

void o2::dataformats::VtxTrackIndex::setPVContributor ( )
inline

Definition at line 44 of file VtxTrackIndex.h.


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