13 const Int_t nbins = 1024;
20 TString file = dir +
"/legacy/spectrum/TSpectrum.root";
25 for (i = 0; i < nbins; i++)
26 source[i] =
h->GetBinContent(i + 1);
27 h->SetAxisRange(1, 1024);
36 for (i = 0; i < nbins; i++)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
1-D histogram with a float per channel (see TH1 documentation)
void SetTitle(const char *title) override
Change/set the title.
Advanced Spectra Processing.
const char * SmoothMarkov(Double_t *source, Int_t ssize, Int_t averWindow)
One-dimensional markov spectrum smoothing function.
const char * Data() const