Hall-D Software
alpha
|
#include <DHistogram.h>
Public Member Functions | |
DHistogram (int Nbins, float lowEdge, float highEdge) | |
DHistogram (const DHistogram &hsrc) | |
virtual | ~DHistogram () |
void | Add (const DHistogram *h) |
float | Fill (float x, float weight=1.0) |
int | FindBin (float x) const |
int | FindFirstBinAbove (float val, int start_bin=1) const |
int | FindFirstNonZeroBin (void) const |
int | FindLastNonZeroBin (void) const |
int | GetNbins (void) const |
float | GetBinLowEdge (int bin) const |
float | GetBinCenter (int bin) const |
float | GetBinContent (int bin) const |
float | GetBinWidth (void) const |
float | GetLowEdge (void) const |
float | GetHighEdge (void) const |
float * | GetContentPointer (void) const |
CAUTION! More... | |
float | Integral (void) const |
TH1D * | MakeTH1D (string name, string title) const |
void | Reset (void) |
void | Scale (float scale) |
void | SetBinContent (int bin, float val) |
DHistogram & | operator= (const DHistogram &hsrc) |
Private Member Functions | |
DHistogram () | |
Private Attributes | |
int | Nbins |
float | lowEdge |
float | highEdge |
float | binWidth |
float | half_binWidth |
float | bin_zero_center |
float * | content |
Definition at line 20 of file DHistogram.h.
|
inline |
Definition at line 72 of file DHistogram.h.
References bin_zero_center, binWidth, content, half_binWidth, highEdge, lowEdge, and Nbins.
|
inline |
Definition at line 96 of file DHistogram.h.
|
inlinevirtual |
Definition at line 104 of file DHistogram.h.
References content.
|
private |
|
inline |
Definition at line 112 of file DHistogram.h.
References _DBG_, binWidth, content, GetBinContent(), GetBinWidth(), GetNbins(), and Nbins.
|
inline |
Definition at line 173 of file DHistogram.h.
References binWidth, content, lowEdge, and Nbins.
Referenced by DEventSourceHDDM::Extract_DBCALSiPMSpectrum().
|
inline |
Definition at line 127 of file DHistogram.h.
|
inline |
Definition at line 137 of file DHistogram.h.
|
inline |
Definition at line 149 of file DHistogram.h.
|
inline |
Definition at line 161 of file DHistogram.h.
|
inline |
Definition at line 202 of file DHistogram.h.
References bin_zero_center, binWidth, and Nbins.
|
inline |
|
inline |
Definition at line 194 of file DHistogram.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 186 of file DHistogram.h.
References Nbins.
Referenced by Add(), and operator=().
|
inline |
Definition at line 254 of file DHistogram.h.
|
inline |
Definition at line 304 of file DHistogram.h.
References bin_zero_center, binWidth, content, GetHighEdge(), GetLowEdge(), GetNbins(), half_binWidth, highEdge, lowEdge, and Nbins.
|
inline |
Definition at line 278 of file DHistogram.h.
|
inline |
Definition at line 286 of file DHistogram.h.
|
inline |
Definition at line 294 of file DHistogram.h.
|
private |
Definition at line 63 of file DHistogram.h.
Referenced by DHistogram(), GetBinCenter(), and operator=().
|
private |
Definition at line 61 of file DHistogram.h.
Referenced by Add(), DHistogram(), Fill(), FindBin(), GetBinCenter(), GetBinLowEdge(), GetBinWidth(), and operator=().
|
private |
Definition at line 65 of file DHistogram.h.
Referenced by Add(), DHistogram(), Fill(), FindFirstBinAbove(), FindFirstNonZeroBin(), FindLastNonZeroBin(), GetBinContent(), GetContentPointer(), Integral(), MakeTH1D(), operator=(), Reset(), Scale(), SetBinContent(), and ~DHistogram().
|
private |
Definition at line 62 of file DHistogram.h.
Referenced by DHistogram(), and operator=().
|
private |
Definition at line 60 of file DHistogram.h.
Referenced by DHistogram(), GetHighEdge(), MakeTH1D(), and operator=().
|
private |
Definition at line 59 of file DHistogram.h.
Referenced by DHistogram(), Fill(), FindBin(), GetBinLowEdge(), GetLowEdge(), MakeTH1D(), and operator=().
|
private |
Definition at line 58 of file DHistogram.h.
Referenced by Add(), DHistogram(), Fill(), FindFirstBinAbove(), FindFirstNonZeroBin(), FindLastNonZeroBin(), GetBinCenter(), GetBinContent(), GetNbins(), Integral(), MakeTH1D(), operator=(), Reset(), Scale(), and SetBinContent().