#include <TH1.h>
Go to the source code of this file.
|
static double | FWHM (TH1 *h1) |
|
◆ FWHM()
static double FWHM |
( |
TH1 * |
h1 | ) |
|
|
static |
Definition at line 13 of file FWHM.h.
14 int bin1 = h1->FindFirstBinAbove(h1->GetMaximum()/2);
15 int bin2 = h1->FindLastBinAbove(h1->GetMaximum()/2);
16 double fwhm = h1->GetBinCenter(bin2) - h1->GetBinCenter(bin1);