PandaRoot
KFParticleDatabase Class Reference

#include <KFParticleDatabase.h>

Public Member Functions

 KFParticleDatabase ()
 
 ~KFParticleDatabase ()
 
float GetMass (int pdg)
 

Static Public Member Functions

static KFParticleDatabaseInstance ()
 

Detailed Description

Definition at line 18 of file KFParticleDatabase.h.

Constructor & Destructor Documentation

◆ KFParticleDatabase()

KFParticleDatabase::KFParticleDatabase ( )

◆ ~KFParticleDatabase()

KFParticleDatabase::~KFParticleDatabase ( )
inline

Definition at line 22 of file KFParticleDatabase.h.

22 {};

Member Function Documentation

◆ GetMass()

float KFParticleDatabase::GetMass ( int  pdg)
inline

Definition at line 24 of file KFParticleDatabase.h.

25  {
26  std::map<int, float>::iterator it;
27  it = fMass.find(pdg);
28  if (it != fMass.end())
29  return it->second;
30  else
31  return 0.13957;
32  }

◆ Instance()

static KFParticleDatabase* KFParticleDatabase::Instance ( )
inlinestatic

Definition at line 34 of file KFParticleDatabase.h.

34 { return fDatabase; }

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