ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::PdgToParticleHypothesis Class Reference

small converter from the (abs) PDG code to the particle hypothsis used in Tracking More...

#include <PdgToParticleHypothesis.h>

Collaboration diagram for Trk::PdgToParticleHypothesis:

Public Member Functions

 PdgToParticleHypothesis ()=default
 Constructor.
Trk::ParticleHypothesis convert (int pdg, bool &stable, bool &exiting, double charge=1.) const
 Converter method : PDG -> Particle Hyptothesis.
Trk::ParticleHypothesis convert (int pdg, double charge=1.) const
 Converter method : PDG -> Particle Hyptothesis , w/o stable exiting.
int convert (Trk::ParticleHypothesis particleHypo, double charge, bool dist=true) const
 Converter method : Particle Hyptothesis -> PDG.

Detailed Description

small converter from the (abs) PDG code to the particle hypothsis used in Tracking

Author
Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch

Definition at line 28 of file PdgToParticleHypothesis.h.

Constructor & Destructor Documentation

◆ PdgToParticleHypothesis()

Trk::PdgToParticleHypothesis::PdgToParticleHypothesis ( )
default

Constructor.

Member Function Documentation

◆ convert() [1/3]

Trk::ParticleHypothesis Trk::PdgToParticleHypothesis::convert ( int pdg,
bool & stable,
bool & exiting,
double charge = 1. ) const

Converter method : PDG -> Particle Hyptothesis.

◆ convert() [2/3]

Trk::ParticleHypothesis Trk::PdgToParticleHypothesis::convert ( int pdg,
double charge = 1. ) const

Converter method : PDG -> Particle Hyptothesis , w/o stable exiting.

◆ convert() [3/3]

int Trk::PdgToParticleHypothesis::convert ( Trk::ParticleHypothesis particleHypo,
double charge,
bool dist = true ) const

Converter method : Particle Hyptothesis -> PDG.


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