ATLAS Offline Software
Public Member Functions | List of all members
Trk::PdgToParticleHypothesis Class Reference

#include <PdgToParticleHypothesis.h>

Collaboration diagram for Trk::PdgToParticleHypothesis:

Public Member Functions

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

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: