|
musrfit 1.10.0
|
#include <PMusr.h>
Public Member Functions | |
| PRawRunDataSet () | |
| virtual | ~PRawRunDataSet () |
| virtual TString | GetTitle () |
| Returns the histogram title string. | |
| virtual TString | GetName () |
| Returns the histogram name. | |
| virtual Int_t | GetHistoNo () |
| Returns the histogram number as stored in the data file. | |
| virtual Double_t | GetTimeZeroBin () |
| Returns the time-zero bin (t0) position. | |
| virtual Double_t | GetTimeZeroBinEstimated () |
| Returns the estimated time-zero bin from automatic determination. | |
| virtual Int_t | GetFirstGoodBin () |
| Returns the first bin of good data range (after prompt peak) | |
| virtual Int_t | GetLastGoodBin () |
| Returns the last bin of good data range. | |
| virtual Int_t | GetFirstBkgBin () |
| Returns the first bin of background range. | |
| virtual Int_t | GetLastBkgBin () |
| Returns the last bin of background range. | |
| virtual PDoubleVector * | GetData () |
| Returns pointer to raw histogram data vector (counts per bin) | |
| virtual void | Clear () |
| Clears all data from this histogram set. | |
| virtual void | SetTitle (TString str) |
| virtual void | SetName (TString str) |
| virtual void | SetHistoNo (Int_t no) |
| virtual void | SetTimeZeroBin (Double_t tzb) |
| virtual void | SetTimeZeroBinEstimated (Double_t tzb) |
| virtual void | SetFirstGoodBin (Int_t fgb) |
| virtual void | SetLastGoodBin (Int_t lgb) |
| virtual void | SetFirstBkgBin (Int_t fbb) |
| virtual void | SetLastBkgBin (Int_t lbb) |
| virtual void | SetData (PDoubleVector data) |
Private Attributes | |
| TString | fTitle |
| histogram title. | |
| TString | fName |
| keeps the histogram name. | |
| Int_t | fHistoNo |
| corresponds to the histogram number in the data file | |
| Double_t | fTimeZeroBin |
| keeps the time zero bin | |
| Double_t | fTimeZeroBinEstimated |
| keeps the estimated time zero bin | |
| Int_t | fFirstGoodBin |
| keeps the first good bin of the data set | |
| Int_t | fLastGoodBin |
| keeps the last good bin of the data set | |
| Int_t | fFirstBkgBin |
| keeps the first background bin of the data set | |
| Int_t | fLastBkgBin |
| keeps the last background bin of the data set | |
| PDoubleVector | fData |
| keeps the histogram data | |
Container for a single raw μSR histogram with associated metadata.
This class stores one raw histogram from a μSR experiment along with essential information like time-zero bin, good data range, and background range. It represents the most basic unit of μSR data before any processing or corrections are applied.
Does not contain run header information (temperature, field, etc.) - only the histogram data and its immediate properties.
| PRawRunDataSet::PRawRunDataSet | ( | ) |
|
inlinevirtual |
|
virtual |
Clears all data from this histogram set.
Constructor
Definition at line 261 of file PMusr.cpp.
References fData, fFirstBkgBin, fFirstGoodBin, fHistoNo, fLastBkgBin, fLastGoodBin, fName, fTimeZeroBin, fTimeZeroBinEstimated, and fTitle.
Referenced by PRawRunDataSet(), PRunDataHandler::ReadMduAsciiFile(), PRunDataHandler::ReadMudFile(), PRunDataHandler::ReadNexusFileIdf1(), PRunDataHandler::ReadNexusFileIdf2(), PRunDataHandler::ReadPsiBinFile(), PRunDataHandler::ReadRootFile(), and PRunDataHandler::ReadWkmFile().
|
inlinevirtual |
Returns pointer to raw histogram data vector (counts per bin)
Definition at line 655 of file PMusr.h.
References fData.
Referenced by PRunDataHandler::WriteAsciiFile(), PRunDataHandler::WriteMudFile(), PRunDataHandler::WriteMusrRootFile(), PRunDataHandler::WriteNexusFile(), PRunDataHandler::WritePsiBinFile(), PRunDataHandler::WriteRootFile(), and PRunDataHandler::WriteWkmFile().
|
inlinevirtual |
Returns the first bin of background range.
Definition at line 651 of file PMusr.h.
References fFirstBkgBin.
|
inlinevirtual |
Returns the first bin of good data range (after prompt peak)
Definition at line 647 of file PMusr.h.
References fFirstGoodBin.
Referenced by PRunDataHandler::WriteMudFile(), PRunDataHandler::WriteMusrRootFile(), and PRunDataHandler::WritePsiBinFile().
|
inlinevirtual |
Returns the histogram number as stored in the data file.
Definition at line 641 of file PMusr.h.
References fHistoNo.
Referenced by PRunDataHandler::WriteMusrRootFile().
|
inlinevirtual |
Returns the last bin of background range.
Definition at line 653 of file PMusr.h.
References fLastBkgBin.
|
inlinevirtual |
Returns the last bin of good data range.
Definition at line 649 of file PMusr.h.
References fLastGoodBin.
Referenced by PRunDataHandler::WriteMudFile(), PRunDataHandler::WriteMusrRootFile(), and PRunDataHandler::WritePsiBinFile().
|
inlinevirtual |
Returns the histogram name.
Definition at line 639 of file PMusr.h.
References fName.
Referenced by PRunDataHandler::WriteMudFile(), PRunDataHandler::WriteMusrRootFile(), and PRunDataHandler::WritePsiBinFile().
|
inlinevirtual |
Returns the time-zero bin (t0) position.
Definition at line 643 of file PMusr.h.
References fTimeZeroBin.
Referenced by PRunDataHandler::WriteAsciiFile(), PRunDataHandler::WriteMudFile(), PRunDataHandler::WriteMusrRootFile(), PRunDataHandler::WritePsiBinFile(), and PRunDataHandler::WriteRootFile().
|
inlinevirtual |
Returns the estimated time-zero bin from automatic determination.
Definition at line 645 of file PMusr.h.
References fTimeZeroBinEstimated.
|
inlinevirtual |
|
inlinevirtual |
Sets the entire histogram data vector
| data | Vector of histogram counts |
Definition at line 688 of file PMusr.h.
References fData.
Referenced by main(), PRunDataHandler::ReadMduAsciiFile(), PRunDataHandler::ReadMudFile(), PRunDataHandler::ReadNexusFileIdf1(), PRunDataHandler::ReadNexusFileIdf2(), PRunDataHandler::ReadPsiBinFile(), PRunDataHandler::ReadRootFile(), and PRunDataHandler::ReadWkmFile().
|
inlinevirtual |
Sets the first bin of background range
| fbb | First background bin index |
Definition at line 682 of file PMusr.h.
References fFirstBkgBin.
Referenced by PRunDataHandler::ReadMudFile().
|
inlinevirtual |
Sets the first bin of good data range
| fgb | First good bin index |
Definition at line 676 of file PMusr.h.
References fFirstGoodBin.
Referenced by PRunDataHandler::ReadMudFile(), PRunDataHandler::ReadNexusFileIdf1(), PRunDataHandler::ReadNexusFileIdf2(), PRunDataHandler::ReadPsiBinFile(), and PRunDataHandler::ReadRootFile().
|
inlinevirtual |
Sets the histogram number
| no | Histogram number from data file |
Definition at line 667 of file PMusr.h.
References fHistoNo.
Referenced by PRunDataHandler::ReadMduAsciiFile(), PRunDataHandler::ReadMudFile(), PRunDataHandler::ReadNexusFileIdf1(), PRunDataHandler::ReadNexusFileIdf2(), PRunDataHandler::ReadPsiBinFile(), PRunDataHandler::ReadRootFile(), and PRunDataHandler::ReadWkmFile().
|
inlinevirtual |
Sets the last bin of background range (note: bug in original code sets fLastGoodBin)
| lbb | Last background bin index |
Definition at line 685 of file PMusr.h.
References fLastGoodBin.
Referenced by PRunDataHandler::ReadMudFile().
|
inlinevirtual |
Sets the last bin of good data range
| lgb | Last good bin index |
Definition at line 679 of file PMusr.h.
References fLastGoodBin.
Referenced by PRunDataHandler::ReadMudFile(), PRunDataHandler::ReadNexusFileIdf1(), PRunDataHandler::ReadNexusFileIdf2(), PRunDataHandler::ReadPsiBinFile(), and PRunDataHandler::ReadRootFile().
|
inlinevirtual |
Sets the histogram name
| str | Name string |
Definition at line 664 of file PMusr.h.
References fName.
Referenced by PRunDataHandler::ReadPsiBinFile(), and PRunDataHandler::ReadRootFile().
|
inlinevirtual |
Sets the time-zero bin position
| tzb | Time-zero bin value (can be fractional) |
Definition at line 670 of file PMusr.h.
References fTimeZeroBin.
Referenced by main(), PRunDataHandler::ReadMudFile(), PRunDataHandler::ReadNexusFileIdf1(), PRunDataHandler::ReadNexusFileIdf2(), PRunDataHandler::ReadPsiBinFile(), and PRunDataHandler::ReadRootFile().
|
inlinevirtual |
Sets the estimated time-zero bin from automatic determination
| tzb | Estimated time-zero bin value |
Definition at line 673 of file PMusr.h.
References fTimeZeroBinEstimated.
Referenced by PRunDataHandler::ReadMduAsciiFile(), PRunDataHandler::ReadMudFile(), PRunDataHandler::ReadPsiBinFile(), PRunDataHandler::ReadRootFile(), and PRunDataHandler::ReadWkmFile().
|
inlinevirtual |
Sets the histogram title
| str | Title string |
Definition at line 661 of file PMusr.h.
References fTitle.
Referenced by PRunDataHandler::ReadRootFile().
|
private |
|
private |
keeps the first background bin of the data set
Definition at line 698 of file PMusr.h.
Referenced by Clear(), GetFirstBkgBin(), and SetFirstBkgBin().
|
private |
keeps the first good bin of the data set
Definition at line 696 of file PMusr.h.
Referenced by Clear(), GetFirstGoodBin(), and SetFirstGoodBin().
|
private |
corresponds to the histogram number in the data file
Definition at line 693 of file PMusr.h.
Referenced by Clear(), GetHistoNo(), and SetHistoNo().
|
private |
keeps the last background bin of the data set
Definition at line 699 of file PMusr.h.
Referenced by Clear(), and GetLastBkgBin().
|
private |
keeps the last good bin of the data set
Definition at line 697 of file PMusr.h.
Referenced by Clear(), GetLastGoodBin(), SetLastBkgBin(), and SetLastGoodBin().
|
private |
|
private |
keeps the time zero bin
Definition at line 694 of file PMusr.h.
Referenced by Clear(), GetTimeZeroBin(), and SetTimeZeroBin().
|
private |
keeps the estimated time zero bin
Definition at line 695 of file PMusr.h.
Referenced by Clear(), GetTimeZeroBinEstimated(), and SetTimeZeroBinEstimated().
|
private |
histogram title.
Definition at line 691 of file PMusr.h.
Referenced by Clear(), GetTitle(), and SetTitle().