ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::ParticleIdHelper Namespace Reference

Particle identification based on PDG number. More...

Functions

HadronType hadronType (PdgParticle pdg)
bool isElectron (PdgParticle pdg)
 Check if the particle is an electron.
bool isHadron (PdgParticle pdg)
 Check if the particle is a hadron.
bool isInteracting (PdgParticle pdg)
 Check if the particle is interacting.
bool isLepton (PdgParticle pdg)
 Check if the particle is a lepton.
bool isMuon (PdgParticle pdg)
 Check if the particle is a muon.
bool isPhoton (PdgParticle pdg)
 Check if the particle is a photon.
bool isQuark (PdgParticle pdg)
 Check if the particle is a quark.
bool isTau (PdgParticle pdg)
 Check if the particle is a tau.

Detailed Description

Particle identification based on PDG number.

Function Documentation

◆ hadronType()

HadronType Acts::ParticleIdHelper::hadronType ( PdgParticle pdg)

◆ isElectron()

bool Acts::ParticleIdHelper::isElectron ( PdgParticle pdg)

Check if the particle is an electron.

Parameters
pdgPDG particle number
Returns
True if the particle is an electron, false otherwise

◆ isHadron()

bool Acts::ParticleIdHelper::isHadron ( PdgParticle pdg)

Check if the particle is a hadron.

Parameters
pdgPDG particle number
Returns
True if the particle is a hadron, false otherwise

◆ isInteracting()

bool Acts::ParticleIdHelper::isInteracting ( PdgParticle pdg)

Check if the particle is interacting.

Parameters
pdgPDG particle number
Returns
True if the particle is interacting, false otherwise

◆ isLepton()

bool Acts::ParticleIdHelper::isLepton ( PdgParticle pdg)

Check if the particle is a lepton.

Parameters
pdgPDG particle number
Returns
True if the particle is a lepton, false otherwise

◆ isMuon()

bool Acts::ParticleIdHelper::isMuon ( PdgParticle pdg)

Check if the particle is a muon.

Parameters
pdgPDG particle number
Returns
True if the particle is a muon, false otherwise

◆ isPhoton()

bool Acts::ParticleIdHelper::isPhoton ( PdgParticle pdg)

Check if the particle is a photon.

Parameters
pdgPDG particle number
Returns
True if the particle is a photon, false otherwise

◆ isQuark()

bool Acts::ParticleIdHelper::isQuark ( PdgParticle pdg)

Check if the particle is a quark.

Parameters
pdgPDG particle number
Returns
True if the particle is a quark, false otherwise

◆ isTau()

bool Acts::ParticleIdHelper::isTau ( PdgParticle pdg)

Check if the particle is a tau.

Parameters
pdgPDG particle number
Returns
True if the particle is a tau, false otherwise