Project
Loading...
Searching...
No Matches
o2::track::PID Class Reference

#include <PID.h>

Public Types

typedef pid_constants::ID ID
 

Public Member Functions

 GPUdDefault () PID()=default
 
 GPUd () PID(ID id)
 
 GPUd () PID(const char *name)
 
 GPUdDefault () PID(const PID &src)=default
 
 GPUhdDefault () PID &operator
 
 GPUd () ID getID() const
 
 GPUd () operator ID() const
 
 GPUd () float getMass() const
 
 GPUd () float getMass2() const
 
 GPUd () float getMass2Z() const
 
 GPUd () int getCharge() const
 
 GPUd () static float getMass(ID id)
 
 GPUd () static float getMass2(ID id)
 
 GPUd () static float getMass2Z(ID id)
 
 GPUd () static int getCharge(ID id)
 
 GPUd () const char *getName() const
 
 GPUd () static const char *getName(ID id)
 

Static Public Attributes

static constexpr ID Electron = 0
 
static constexpr ID Muon = 1
 
static constexpr ID Pion = 2
 
static constexpr ID Kaon = 3
 
static constexpr ID Proton = 4
 
static constexpr ID Deuteron = 5
 
static constexpr ID Triton = 6
 
static constexpr ID Helium3 = 7
 
static constexpr ID Alpha = 8
 
static constexpr ID First = Electron
 
static constexpr ID Last = Alpha
 if extra IDs added, update this !!!
 
static constexpr ID NIDs = Last + 1
 number of defined IDs
 
static constexpr ID PI0 = 9
 
static constexpr ID Photon = 10
 
static constexpr ID K0 = 11
 
static constexpr ID Lambda = 12
 
static constexpr ID HyperTriton = 13
 
static constexpr ID Hyperhydrog4 = 14
 
static constexpr ID XiMinus = 15
 
static constexpr ID OmegaMinus = 16
 
static constexpr ID HyperHelium4 = 17
 
static constexpr ID HyperHelium5 = 18
 
static constexpr ID FirstExt = PI0
 
static constexpr ID LastExt = HyperHelium5
 
static constexpr ID NIDsTot = pid_constants::NIDsTot
 total number of defined IDs
 

Detailed Description

Definition at line 88 of file PID.h.

Member Typedef Documentation

◆ ID

Definition at line 92 of file PID.h.

Member Function Documentation

◆ GPUd() [1/14]

o2::track::PID::GPUd ( ) const
inline

Definition at line 143 of file PID.h.

◆ GPUd() [2/14]

o2::track::PID::GPUd ( ) const
inline

Definition at line 133 of file PID.h.

◆ GPUd() [3/14]

o2::track::PID::GPUd ( ) const
inline

Definition at line 134 of file PID.h.

◆ GPUd() [4/14]

o2::track::PID::GPUd ( ) const
inline

Definition at line 135 of file PID.h.

◆ GPUd() [5/14]

o2::track::PID::GPUd ( ) const
inline

Definition at line 130 of file PID.h.

◆ GPUd() [6/14]

o2::track::PID::GPUd ( ) const
inline

Definition at line 136 of file PID.h.

◆ GPUd() [7/14]

o2::track::PID::GPUd ( ) const
inline

Definition at line 131 of file PID.h.

◆ GPUd() [8/14]

o2::track::PID::GPUd ( ) const

◆ GPUd() [9/14]

o2::track::PID::GPUd ( )
inline

Definition at line 125 of file PID.h.

◆ GPUd() [10/14]

o2::track::PID::GPUd ( ) const
inline

Definition at line 147 of file PID.h.

◆ GPUd() [11/14]

o2::track::PID::GPUd ( )
inline

Definition at line 138 of file PID.h.

◆ GPUd() [12/14]

o2::track::PID::GPUd ( )
inline

Definition at line 139 of file PID.h.

◆ GPUd() [13/14]

o2::track::PID::GPUd ( )
inline

Definition at line 140 of file PID.h.

◆ GPUd() [14/14]

o2::track::PID::GPUd ( )
inline

Definition at line 141 of file PID.h.

◆ GPUdDefault() [1/2]

o2::track::PID::GPUdDefault ( )
default

◆ GPUdDefault() [2/2]

o2::track::PID::GPUdDefault ( ) const &
default

◆ GPUhdDefault()

o2::track::PID::GPUhdDefault ( ) &

Member Data Documentation

◆ Alpha

constexpr ID o2::track::PID::Alpha = 8
staticconstexpr

Definition at line 102 of file PID.h.

◆ Deuteron

constexpr ID o2::track::PID::Deuteron = 5
staticconstexpr

Definition at line 99 of file PID.h.

◆ Electron

constexpr ID o2::track::PID::Electron = 0
staticconstexpr

Definition at line 94 of file PID.h.

◆ First

constexpr ID o2::track::PID::First = Electron
staticconstexpr

Definition at line 104 of file PID.h.

◆ FirstExt

constexpr ID o2::track::PID::FirstExt = PI0
staticconstexpr

Definition at line 119 of file PID.h.

◆ Helium3

constexpr ID o2::track::PID::Helium3 = 7
staticconstexpr

Definition at line 101 of file PID.h.

◆ HyperHelium4

constexpr ID o2::track::PID::HyperHelium4 = 17
staticconstexpr

Definition at line 117 of file PID.h.

◆ HyperHelium5

constexpr ID o2::track::PID::HyperHelium5 = 18
staticconstexpr

Definition at line 118 of file PID.h.

◆ Hyperhydrog4

constexpr ID o2::track::PID::Hyperhydrog4 = 14
staticconstexpr

Definition at line 114 of file PID.h.

◆ HyperTriton

constexpr ID o2::track::PID::HyperTriton = 13
staticconstexpr

Definition at line 113 of file PID.h.

◆ K0

constexpr ID o2::track::PID::K0 = 11
staticconstexpr

Definition at line 111 of file PID.h.

◆ Kaon

constexpr ID o2::track::PID::Kaon = 3
staticconstexpr

Definition at line 97 of file PID.h.

◆ Lambda

constexpr ID o2::track::PID::Lambda = 12
staticconstexpr

Definition at line 112 of file PID.h.

◆ Last

constexpr ID o2::track::PID::Last = Alpha
staticconstexpr

if extra IDs added, update this !!!

Definition at line 105 of file PID.h.

◆ LastExt

constexpr ID o2::track::PID::LastExt = HyperHelium5
staticconstexpr

Definition at line 120 of file PID.h.

◆ Muon

constexpr ID o2::track::PID::Muon = 1
staticconstexpr

Definition at line 95 of file PID.h.

◆ NIDs

constexpr ID o2::track::PID::NIDs = Last + 1
staticconstexpr

number of defined IDs

Definition at line 106 of file PID.h.

◆ NIDsTot

constexpr ID o2::track::PID::NIDsTot = pid_constants::NIDsTot
staticconstexpr

total number of defined IDs

Definition at line 121 of file PID.h.

◆ OmegaMinus

constexpr ID o2::track::PID::OmegaMinus = 16
staticconstexpr

Definition at line 116 of file PID.h.

◆ Photon

constexpr ID o2::track::PID::Photon = 10
staticconstexpr

Definition at line 110 of file PID.h.

◆ PI0

constexpr ID o2::track::PID::PI0 = 9
staticconstexpr

Definition at line 109 of file PID.h.

◆ Pion

constexpr ID o2::track::PID::Pion = 2
staticconstexpr

Definition at line 96 of file PID.h.

◆ Proton

constexpr ID o2::track::PID::Proton = 4
staticconstexpr

Definition at line 98 of file PID.h.

◆ Triton

constexpr ID o2::track::PID::Triton = 6
staticconstexpr

Definition at line 100 of file PID.h.

◆ XiMinus

constexpr ID o2::track::PID::XiMinus = 15
staticconstexpr

Definition at line 115 of file PID.h.


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