// $Id: calculateWidthFromLifetime.cc,v 1.8 2002/06/09 12:10:56 boudreau Exp $ // ---------------------------------------------------------------------- // // TempParticleData.cc // // ---------------------------------------------------------------------- #include "CLHEP/HepPDT/TempParticleData.hh" namespace HepPDT { double calculateWidthFromLifetime( double lt ) { // totalwidth = hbar / lifetime static double epsilon = 1.0e-20; static double hbar = 6.58211889e-25; // in GeV s if( lt < epsilon ) { return 0.; } return hbar/lt; } } // HepPDT