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 6 of file KFParticleDatabase.h.

Constructor & Destructor Documentation

◆ KFParticleDatabase()

KFParticleDatabase::KFParticleDatabase ( )

◆ ~KFParticleDatabase()

KFParticleDatabase::~KFParticleDatabase ( )
inline

Definition at line 10 of file KFParticleDatabase.h.

10 {};

Member Function Documentation

◆ GetMass()

float KFParticleDatabase::GetMass ( int  pdg)
inline

Definition at line 12 of file KFParticleDatabase.h.

13  {
14  std::map<int, float>::iterator it;
15  it = fMass.find(pdg);
16  if (it != fMass.end())
17  return it->second;
18  else
19  return 0.13957;
20  }

◆ Instance()

static KFParticleDatabase* KFParticleDatabase::Instance ( )
inlinestatic

Definition at line 22 of file KFParticleDatabase.h.

22 { return fDatabase; }

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