HepPDT Reference Documentation

HepPDT

calculateWidthFromLifetime.cc

Go to the documentation of this file.
00001 // ----------------------------------------------------------------------
00002 //
00003 // TempParticleData.cc
00004 // Author: Lynn Garren
00005 //
00006 // ----------------------------------------------------------------------
00007 
00008 #include "HepPDT/defs.h"
00009 #include "HepPDT/TempParticleData.hh"
00010 
00011 namespace HepPDT {
00012 
00013 double calculateWidthFromLifetime( double lt )
00014 {
00015     // totalwidth = hbar / lifetime
00016     static double epsilon = 1.0e-20;
00017     static double hbar = 6.58211889e-25; // in GeV s
00018     if( lt < epsilon ) { return 0.; }
00019     return hbar/lt;
00020 }
00021 
00022 }       // HepPDT

Generated on Fri Dec 4 14:05:23 2009 for HepPDT by  doxygen 1.4.7