musrfit 1.10.0
MuSR_td_PSI_bin Class Reference

#include <MuSR_td_PSI_bin.h>

Public Member Functions

 MuSR_td_PSI_bin ()
 Simple Constructor setting some pointers and variables.
 
 ~MuSR_td_PSI_bin ()
 Simple Destructor clearing some pointers and variables.
 
int Read (const char *fileName)
 Method to read a PSI-bin or an MDU file.
 
int Write (const char *fileName)
 Method to write a PSI-bin or an MDU file.
 
int ReadBin (const char *fileName)
 Method to read a PSI-bin file.
 
int WriteBin (const char *fileName)
 Method to write a PSI-bin file.
 
int ReadMdu (const char *fileName)
 Method to read a MuSR MDU file.
 
int WriteMdu (const char *fileName)
 Method to write a MuSR MDU file.
 
bool ReadingOK () const
 Method to obtain if reading and processing of the data file was OK.
 
bool WritingOK () const
 Method to obtain if writing and processing of the data file was OK.
 
bool CheckDataConsistency (int tag=0)
 Check if a given set of data is consistent with the PSI-BIN limitations. If false, the error message can be obtained via ConsistencyStatus(). Comment to the tag: the following restriction apply (in parenthesize the level of checking)
 
std::string ReadStatus () const
 Method to obtain error/success information after reading.
 
std::string WriteStatus () const
 Method to obtain error/success information after writing.
 
std::string ConsistencyStatus () const
 Method to obtain error/success information on data consistency check.
 
std::string Filename () const
 Method to obtain the file name.
 
int Show () const
 Method to show current values of member variables.
 
int Clear ()
 Method to clear member variables before using instance for next read.
 
int GetHistoInt (int histo_num, int j)
 Method to return the value of a single bin as integer.
 
double GetHisto (int histo_num, int j)
 Method to return the value of a single bin as double.
 
std::vector< int > GetHistoArrayInt (int histo_num)
 Method to obtain an array of type integer containing the values of the histogram <histo_num>
 
std::vector< double > GetHistoArray (int histo_num, int binning)
 Method to obtain an array of type double containing the values of the histogram <histo_num> with binning <binning>
 
int PutHistoArrayInt (std::vector< std::vector< int > > &histo, int tag=0)
 Method to set the histograms which is a vector of vector of int's (histogram). There are two different ways to Get the data conform to PSI-BIN limitations:
 
std::vector< double > GetHistoVector (int histo_num, int binning)
 Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning>
 
std::vector< double > GetHistoVectorNo0 (int histo_num, int binning)
 Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning> but where the bins with zero counts are replaced by a count 0.1.
 
double * GetHistoFromT0Array (int histo_num, int binning, int offset=0)
 Method to obtain an array of type double containing the values of the histogram <histo_num> with binning <binning> from the point t0. An <offset> can also be specified (otherwise = 0).
 
std::vector< double > GetHistoFromT0Vector (int histo_num, int binning, int offset=0)
 Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning> from the point t0. An <offset> can also be specified (otherwise = 0).
 
double * GetHistoGoodBinsArray (int histo_num, int binning)
 Method to obtain an array of type double containing the values of the histogram <histo_num> with binning <binning> from the point fFirstGood until fLastGood.
 
std::vector< double > GetHistoGoodBinsVector (int histo_num, int binning)
 Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning> from the point fFirstGood until fLastGood.
 
double * GetHistoFromT0MinusBkgArray (int histo_num, int lower_bckgdr, int higher_bckgdr, int binning, int offset=0)
 Method to obtain an array of type double containing the values of the histogram <histo_num> with binning <binning> from the point t0. A background calculated from the points <lower_bckgrd> and <higher_bckgrd> is subtracted. An <offset> can also be specified (otherwise = 0.
 
std::vector< double > GetHistoFromT0MinusBkgVector (int histo_num, int lower_bckgdr, int higher_bckgdr, int binning, int offset=0)
 Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning> from the point t0. A background calculated from the points <lower_bckgrd> and <higher_bckgrd> is subtracted. An <offset> can also be specified (otherwise = 0).
 
double * GetHistoGoodBinsMinusBkgArray (int histo_num, int lower_bckgrd, int higher_bckgrd, int binning)
 Method to obtain an array of type double containing the values of the histogram <histo_num> with binning <binning> from the point fFirstGood until the point fLastGood. A background calculated from the points <lower_bckgrd> and <higher_bckgrd> is subtracted.
 
std::vector< double > GetHistoGoodBinsMinusBkgVector (int histo_num, int lower_bckgrd, int higher_bckgrd, int binning)
 Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning> from the point fFirstGood until the point fLastGood. A background calculated from the points <lower_bckgrd> and <higher_bckgrd> is subtracted.
 
double * GetAsymmetryArray (int histo_num_plus, int histo_num_minus, double alpha_param, int binning, int lower_bckgrd_plus, int higher_bckgrd_plus, int lower_bckgrd_minus, int higher_bckgrd_minus, int offset=0, double y_offset=0.)
 Method to obtain an array of double containing the values of the asymmetry between 2 histograms.
 
std::vector< double > GetAsymmetryVector (int histo_num_plus, int histo_num_minus, double alpha_param, int binning, int lower_bckgrd_plus, int higher_bckgrd_plus, int lower_bckgrd_minus, int higher_bckgrd_minus, int offset=0, double y_offset=0.)
 Method to obtain a vector of double containing the values of the asymmetry between 2 histograms.
 
double * GetErrorAsymmetryArray (int histo_num_plus, int histo_num_minus, double alpha_param, int binning, int lower_bckgrd_plus, int higher_bckgrd_plus, int lower_bckgrd_minus, int higher_bckgrd_minus, int offset=0)
 Method to obtain an array of double containing the values of the error of the asymmetry between 2 histograms.
 
std::vector< double > GetErrorAsymmetryVector (int histo_num_plus, int histo_num_minus, double alpha_param, int binning, int lower_bckgrd_plus, int higher_bckgrd_plus, int lower_bckgrd_minus, int higher_bckgrd_minus, int offset=0)
 Method to obtain a vector of double containing the values of the error of the asymmetry between 2 histograms.
 
double * GetAsymmetryGoodBinsArray (int histo_num_plus, int histo_num_minus, double alpha_param, int binning, int lower_bckgrd_plus, int higher_bckgrd_plus, int lower_bckgrd_minus, int higher_bckgrd_minus)
 Method to obtain an array of double containing the values of the asymmetry between 2 histograms.
 
std::vector< double > GetAsymmetryGoodBinsVector (int histo_num_plus, int histo_num_minus, double alpha_param, int binning, int lower_bckgrd_plus, int higher_bckgrd_plus, int lower_bckgrd_minus, int higher_bckgrd_minus)
 Method to obtain a vector of double containing the values of the asymmetry between 2 histograms.
 
double * GetErrorAsymmetryGoodBinsArray (int histo_num_plus, int histo_num_minus, double alpha_param, int binning, int lower_bckgrd_plus, int higher_bckgrd_plus, int lower_bckgrd_minus, int higher_bckgrd_minus)
 Method to obtain an array of double containing the values of the error of the asymmetry between 2 histograms.
 
std::vector< double > GetErrorAsymmetryGoodBinsVector (int histo_num_plus, int histo_num_minus, double alpha_param, int binning, int lower_bckgrd_plus, int higher_bckgrd_plus, int lower_bckgrd_minus, int higher_bckgrd_minus)
 Method to obtain a vector of double containing the values of the error of the asymmetry between 2 histograms.
 
double GetBinWidthPicoSec ()
 Method returning a double representing the bin-width in picoseconds.
 
void PutBinWidthPicoSec (double binWidth)
 Method setting a double representing the bin-width in picoseconds.
 
double GetBinWidthNanoSec ()
 Method returning a double representing the bin-width in nanoseconds.
 
void PutBinWidthNanoSec (double binWidth)
 Method setting a double representing the bin-width in nanoseconds.
 
double GetBinWidthMicroSec ()
 Method returning a double representing the bin-width in microseconds.
 
void PutBinWidthMicroSec (double binWidth)
 Method setting a double representing the bin-width in microseconds.
 
int GetHistoLengthBin ()
 
void PutHistoLengthBin (int val)
 
int GetNumberHistoInt ()
 
void PutNumberHistoInt (int val)
 
std::string GetNameHisto (int i)
 Method returning a string containing the name of the histogram <i>
 
int PutNameHisto (std::string histoName, int i)
 Method setting a string containing the name of the histogram <i>
 
std::vector< std::string > GetHistoNamesVector ()
 Method returning a vector of strings containing the names of the histograms.
 
int PutHistoNamesVector (std::vector< std::string > &histoNames)
 Method setting a vector containing the names of all the histograms.
 
long GetEventsHistoLong (int i)
 Method returning a long representing the number of events in a specified histograms.
 
std::vector< long > GetEventsHistoVector ()
 Method returning a vector of long containing the number of events in the histograms.
 
long GetTotalEventsLong ()
 
int GetNumberScalerInt ()
 Method returning an integer representing the number of histograms.
 
int PutNumberScalerInt (int val)
 Method seting the number of scalers present.
 
std::vector< long > GetScalersVector ()
 Method providing a vector of long containing the values of the scalers.
 
int PutScalersVector (std::vector< int > scalerData)
 Method set a vector of long containing the values of the scalers.
 
std::vector< std::string > GetScalersNamesVector ()
 Method returning a vector of strings containing the names of the scalers.
 
int PutScalersNamesVector (std::vector< std::string > scalersName)
 Method setting a vector of strings containing the names of the scalers.
 
int GetDefaultBinning ()
 Method returning an integer representing the default binning.
 
int GetT0Int (int i)
 Method returning an integer representing the t0 point (from the "integer" t0 in the header) for a specified histogram.
 
int PutT0Int (int histoNo, int t0)
 Method setting an integer representing the t0 point (from the "integer" t0 in the header) for a specified histogram.
 
std::vector< int > GetT0Vector ()
 Method returning a vector of integer containing the t0 values of the histograms specified in the header.
 
int PutT0Vector (std::vector< int > &t0Data)
 Method setting a vector of integer containing the t0 values of the histograms specified in the header.
 
double GetT0Double (int i)
 Method returning a double representing the t0 point (from the "real" t0 in the header) for a specified histogram.
 
int GetMaxT0Int ()
 Method to determine the maximum value of the t0 bins.
 
int GetMax2T0Int (int k, int j)
 Method to determine the maximum value of the last good bins of 2 histograms.
 
int GetMinT0Int ()
 Method to determine the minimum value of the t0 bins.
 
int GetMin2T0Int (int k, int j)
 Method to determine the minimum value of the last good bins of 2 histograms.
 
int GetFirstGoodInt (int i)
 Method returning an integer representing the first good bin specified in the header for a specified histogram.
 
std::vector< int > GetFirstGoodVector ()
 Method returning a vector of integer containing the first good bin values of the histograms specified in the header.
 
int PutFirstGoodInt (int i, int j)
 Method setting an integer representing the first good bin specified in the header for a specified histogram.
 
int GetLastGoodInt (int i)
 Method returning an integer representing the last good bin specified in the header for a specified histogram.
 
std::vector< int > GetLastGoodVector ()
 Method returning a vector of integer containing the last good bin values of the histograms specified in the header.
 
int PutLastGoodInt (int i, int j)
 Method to modify the last good bin (value <j>) of the histogram <i>
 
int GetMaxLastGoodInt ()
 Method returning an integer containing the maximum value of the "last good bins" of all histograms.
 
int GetMax2LastGoodInt (int k, int j)
 Method to determine the maximum value of the "last good bins" of 2 histograms.
 
int GetMinLastGoodInt ()
 Method providing the minimum value of the last good bins.
 
int GetMin2LastGoodInt (int k, int j)
 Method to determine the minimum value of the last good bins of 2 histograms.
 
int GetRunNumberInt ()
 
int PutRunNumberInt (int i)
 Method to modify the run number (value <i>)
 
std::string GetSample ()
 Method returning a string containing the fSample name.
 
int PutSample (std::string sample)
 Method setting a string containing the fSample name.
 
std::string GetField ()
 Method returning a string containing the field specified in the title.
 
int PutField (std::string field)
 Method setting a string containing the field.
 
std::string GetOrient ()
 Method returning a string containing the orientation specified in the title.
 
int PutOrient (std::string orientation)
 Method setting a string containing the fSample orientation.
 
std::string GetTemp ()
 Method returning a string containing the temperature specified in the title.
 
int PutTemp (std::string temp)
 Method setting a string containing the fSample temperature.
 
std::string GetSetup ()
 Method returning a string containing the setup.
 
int PutSetup (std::string setup)
 Method setting a string containing the setup.
 
std::string GetComment ()
 Method returning a string containing the comment specified in the title.
 
int PutComment (std::string comment)
 Method setting a string containing the comment.
 
std::vector< std::string > GetTimeStartVector ()
 Method returning a vector of strings containing 1) the date when the run was started and 2) the time when the run was started.
 
int PutTimeStartVector (std::vector< std::string > timeStart)
 Method setting a vector of strings containing 1) the date when the run was started and 2) the time when the run was started.
 
std::vector< std::string > GetTimeStopVector ()
 Method returning a vector of strings containing 1) the date when the run was stopped and 2) the time when the run was stopped.
 
int PutTimeStopVector (std::vector< std::string > timeStop)
 Method setting a vector of strings containing 1) the date when the run was started and 2) the time when the run was stopped.
 
int GetNumberTemperatureInt ()
 
int PutNumberTemperatureInt (int noOfTemps)
 Method setting an integer representing the number of temperatures.
 
std::vector< double > GetTemperaturesVector ()
 Method returning a vector of doubles containing monitored values (usually temperatures)
 
int PutTemperaturesVector (std::vector< double > &temps)
 Method setting a vector of doubles containing monitored values (usually temperatures)
 
std::vector< double > GetDevTemperaturesVector ()
 Method returning a vector of doubles containing standard deviations of the monitored values (usually temperatures)
 
int PutDevTemperaturesVector (std::vector< double > &devTemps)
 Method setting a vector of doubles containing standard deviations of the monitored values (usually temperatures)
 

Public Attributes

std::vector< std::vector< double > > fHistosVector
 

Private Member Functions

int Tmax (int x, int y)
 
int Tmin (int x, int y)
 

Private Attributes

std::string fFilename
 
std::string fReadStatus
 
std::string fWriteStatus
 
std::string fConsistencyStatus
 
bool fReadingOk
 
bool fWritingOk
 
bool fConsistencyOk
 
char fFormatId [3]
 
int fNumRun
 
char fSample [11]
 
char fTemp [11]
 
char fField [11]
 
char fOrient [11]
 
char fSetup [11]
 
char fComment [63]
 
char fDateStart [10]
 
char fDateStop [10]
 
char fTimeStart [9]
 
char fTimeStop [9]
 
double fBinWidth
 
int fNumberHisto
 
int fLengthHisto
 
char fLabelsHisto [MAXHISTO][MAXLABELSIZE]
 
int fTotalEvents
 
int fEventsPerHisto [MAXHISTO]
 
int fDefaultBinning
 
float fRealT0 [MAXHISTO]
 
int fIntegerT0 [MAXHISTO]
 
int fFirstGood [MAXHISTO]
 
int fLastGood [MAXHISTO]
 
int fNumberScaler
 
int fScalers [MAXSCALER]
 
char fLabelsScalers [MAXSCALER][MAXLABELSIZE]
 
int fNumberTemper
 
float fTemper [MAXTEMPER]
 
float fTempDeviation [MAXTEMPER]
 
std::vector< std::vector< int > > fHisto
 

Detailed Description

Definition at line 52 of file MuSR_td_PSI_bin.h.

Constructor & Destructor Documentation

◆ MuSR_td_PSI_bin()

MuSR_td_PSI_bin::MuSR_td_PSI_bin ( )

Simple Constructor setting some pointers and variables.

Definition at line 43 of file MuSR_td_PSI_bin.cpp.

References Clear().

◆ ~MuSR_td_PSI_bin()

MuSR_td_PSI_bin::~MuSR_td_PSI_bin ( )

Simple Destructor clearing some pointers and variables.

Definition at line 56 of file MuSR_td_PSI_bin.cpp.

References Clear().

Member Function Documentation

◆ CheckDataConsistency()

bool MuSR_td_PSI_bin::CheckDataConsistency ( int tag = 0)

Check if a given set of data is consistent with the PSI-BIN limitations. If false, the error message can be obtained via ConsistencyStatus(). Comment to the tag: the following restriction apply (in parenthesize the level of checking)

  • total number of bins is restricted to 65536 (true for reasonable, and strict)
  • 32767 is the maximum number of bins being stored in an integer*2 (true for reasonable, and strict)
  • the number of bins must be a multiple of 256 (false for reasonable, true for strict)
  • all histograms must have the same number of bins (true for reasonable, and strict)

return:

  • true if everything is within the PSI-BIN limitations
  • false otherwise
Parameters
tagtag provided to tell how strict the tests should be. 0=reasonable, 1=strict, 2=loose

Definition at line 1670 of file MuSR_td_PSI_bin.cpp.

References fConsistencyOk, fConsistencyStatus, fHisto, fLengthHisto, fNumberHisto, and MAXHISTO.

Referenced by WriteBin(), and PRunDataHandler::WritePsiBinFile().

◆ Clear()

◆ ConsistencyStatus()

std::string MuSR_td_PSI_bin::ConsistencyStatus ( ) const

Method to obtain error/success information on data consistency check.

This method gives back:

  • "SUCCESS" if data are consistent OK
  • "ERROR <message>" otherwise

Definition at line 1763 of file MuSR_td_PSI_bin.cpp.

References fConsistencyStatus.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ Filename()

std::string MuSR_td_PSI_bin::Filename ( ) const

Method to obtain the file name.

This method gives back:

  • <fFilename>

Definition at line 1777 of file MuSR_td_PSI_bin.cpp.

References fFilename.

◆ GetAsymmetryArray()

double * MuSR_td_PSI_bin::GetAsymmetryArray ( int histo_num_plus,
int histo_num_minus,
double alpha_param,
int binning,
int lower_bckgrd_plus,
int higher_bckgrd_plus,
int lower_bckgrd_minus,
int higher_bckgrd_minus,
int offset = 0,
double y_offset = 0. )

Method to obtain an array of double containing the values of the asymmetry between 2 histograms.

The asymmetry is calculated between the histograms <histo_num_plus> and <histo_num_minus> with an alpha parameter <alpha_param>. This method requires also a binning value <binning>, as well as the background limits for both histograms. An <offset> value from t_0 can also be specified (otherwise = 0). Also an <y_offset> can be given to shift artificially the curve on the y-axis (otherwise = 0).

This method gives back:

  • a array of double
  • the NULL pointer if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits
    • allocate failed

The first parameters of the method are the integers <histo_num_plus> and <histo_num_minus>, as well as the double <alpha_param>. Integers for the binning and for the background limits for both histograms.are also required.

Definition at line 2528 of file MuSR_td_PSI_bin.cpp.

References fLengthHisto, fNumberHisto, fReadingOk, GetHistoFromT0MinusBkgArray(), GetT0Int(), and Tmax().

◆ GetAsymmetryGoodBinsArray()

double * MuSR_td_PSI_bin::GetAsymmetryGoodBinsArray ( int histo_num_plus,
int histo_num_minus,
double alpha_param,
int binning,
int lower_bckgrd_plus,
int higher_bckgrd_plus,
int lower_bckgrd_minus,
int higher_bckgrd_minus )

Method to obtain an array of double containing the values of the asymmetry between 2 histograms.

The array has a size corresponding to the minimum interval between fFirstGood and fLastGood. It begins at the fFirstGood coming at the latest after the corresponding t_0. The asymmetry is calculated between the histograms <histo_num_plus> and <histo_num_minus> with an alpha parameter <alpha_param>. This method requires also a binning value <binning>, as well as the background limits for both histograms.

This method gives back:

  • a array of double
  • the NULL pointer if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits
    • allocate failed

The first parameters of the method are the integers <histo_num_plus> and <histo_num_minus>, as well as the double <alpha_param>. Integers for the binning and for the background limits for both histograms.are also required.

Definition at line 2814 of file MuSR_td_PSI_bin.cpp.

References fLengthHisto, fNumberHisto, fReadingOk, GetFirstGoodInt(), GetHistoFromT0MinusBkgArray(), GetLastGoodInt(), GetT0Int(), Tmax(), and Tmin().

◆ GetAsymmetryGoodBinsVector()

std::vector< double > MuSR_td_PSI_bin::GetAsymmetryGoodBinsVector ( int histo_num_plus,
int histo_num_minus,
double alpha_param,
int binning,
int lower_bckgrd_plus,
int higher_bckgrd_plus,
int lower_bckgrd_minus,
int higher_bckgrd_minus )

Method to obtain a vector of double containing the values of the asymmetry between 2 histograms.

The vector has a size corresponding to the minimum interval between fFirstGood and fLastGood. It begins at the fFirstGood coming at the latest after the corresponding t_0. The asymmetry is calculated between the histograms <histo_num_plus> and <histo_num_minus> with an alpha parameter <alpha_param>. This method requires also a binning value <binning>, as well as the background limits for both histograms.

This method gives back:

  • a vector of double
  • an empty vector of double if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits

The first parameters of the method are the integers <histo_num_plus> and <histo_num_minus>, as well as the double <alpha_param>. Integers for the binning and for the background limits for both histograms.are also required.

Definition at line 2886 of file MuSR_td_PSI_bin.cpp.

References fLengthHisto, fNumberHisto, fReadingOk, GetFirstGoodInt(), GetHistoFromT0MinusBkgArray(), GetLastGoodInt(), GetT0Int(), Tmax(), and Tmin().

◆ GetAsymmetryVector()

std::vector< double > MuSR_td_PSI_bin::GetAsymmetryVector ( int histo_num_plus,
int histo_num_minus,
double alpha_param,
int binning,
int lower_bckgrd_plus,
int higher_bckgrd_plus,
int lower_bckgrd_minus,
int higher_bckgrd_minus,
int offset = 0,
double y_offset = 0. )

Method to obtain a vector of double containing the values of the asymmetry between 2 histograms.

The asymmetry is calculated between the histograms <histo_num_plus> and <histo_num_minus> with an alpha parameter <alpha_param>. This method requires also a binning value <binning>, as well as the background limits for both histograms. An <offset> value from t_0 can also be specified (otherwise = 0). Also an <y_offset> can be given to shift artificially the curve on the y-axis (otherwise = 0).

This method gives back:

  • a vector of double
  • an empty vector of double if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits

The first parameters of the method are the integers <histo_num_plus> and <histo_num_minus>, as well as the double <alpha_param>. Integers for the binning and for the background limits for both histograms.are also required.

Definition at line 2599 of file MuSR_td_PSI_bin.cpp.

References fLengthHisto, fNumberHisto, fReadingOk, GetHistoFromT0MinusBkgArray(), GetT0Int(), and Tmax().

◆ GetBinWidthMicroSec()

double MuSR_td_PSI_bin::GetBinWidthMicroSec ( )

Method returning a double representing the bin-width in microseconds.

Definition at line 3313 of file MuSR_td_PSI_bin.cpp.

References fBinWidth.

◆ GetBinWidthNanoSec()

double MuSR_td_PSI_bin::GetBinWidthNanoSec ( )

Method returning a double representing the bin-width in nanoseconds.

Definition at line 3287 of file MuSR_td_PSI_bin.cpp.

References fBinWidth.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetBinWidthPicoSec()

double MuSR_td_PSI_bin::GetBinWidthPicoSec ( )

Method returning a double representing the bin-width in picoseconds.

Definition at line 3261 of file MuSR_td_PSI_bin.cpp.

References fBinWidth.

◆ GetComment()

std::string MuSR_td_PSI_bin::GetComment ( )

Method returning a string containing the comment specified in the title.

Definition at line 3896 of file MuSR_td_PSI_bin.cpp.

References fComment.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetDefaultBinning()

int MuSR_td_PSI_bin::GetDefaultBinning ( )

Method returning an integer representing the default binning.

Definition at line 3391 of file MuSR_td_PSI_bin.cpp.

References fDefaultBinning.

◆ GetDevTemperaturesVector()

std::vector< double > MuSR_td_PSI_bin::GetDevTemperaturesVector ( )

Method returning a vector of doubles containing standard deviations of the monitored values (usually temperatures)

Definition at line 4139 of file MuSR_td_PSI_bin.cpp.

References fNumberTemper, and fTempDeviation.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetErrorAsymmetryArray()

double * MuSR_td_PSI_bin::GetErrorAsymmetryArray ( int histo_num_plus,
int histo_num_minus,
double alpha_param,
int binning,
int lower_bckgrd_plus,
int higher_bckgrd_plus,
int lower_bckgrd_minus,
int higher_bckgrd_minus,
int offset = 0 )

Method to obtain an array of double containing the values of the error of the asymmetry between 2 histograms.

The error of the asymmetry is calculated with the histograms <histo_num_plus> and <histo_num_minus> with an alpha parameter <alpha_param>. This method requires also a binning value <binning>, as well as the background limits for both histograms. An <offset> value from t_0 can also be specified (otherwise = 0)

This method gives back:

  • a array of double
  • the NULL pointer if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits
    • allocate failed

The first parameters of the method are the integers <histo_num_plus> and <histo_num_minus>, as well as the double <alpha_param>. Integers for the binning and for the background limits for both histograms.are also required.

Definition at line 2669 of file MuSR_td_PSI_bin.cpp.

References fLengthHisto, fNumberHisto, fReadingOk, GetHistoFromT0MinusBkgArray(), GetT0Int(), and Tmax().

◆ GetErrorAsymmetryGoodBinsArray()

double * MuSR_td_PSI_bin::GetErrorAsymmetryGoodBinsArray ( int histo_num_plus,
int histo_num_minus,
double alpha_param,
int binning,
int lower_bckgrd_plus,
int higher_bckgrd_plus,
int lower_bckgrd_minus,
int higher_bckgrd_minus )

Method to obtain an array of double containing the values of the error of the asymmetry between 2 histograms.

The size is calculated as the asymmetry array. The error of the asymmetry is calculated with the histograms <histo_num_plus> and <histo_num_minus> with an alpha parameter <alpha_param>. This method requires also a binning value <binning>, as well as the background limits for both histograms.

This method gives back:

  • a array of double
  • the NULL pointer if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits
    • allocate failed

The first parameters of the method are the integers <histo_num_plus> and <histo_num_minus>, as well as the double <alpha_param>. Integers for the binning and for the background limits for both histograms are also required.

Definition at line 2958 of file MuSR_td_PSI_bin.cpp.

References fLengthHisto, fNumberHisto, fReadingOk, GetFirstGoodInt(), GetHistoFromT0MinusBkgArray(), GetLastGoodInt(), GetT0Int(), Tmax(), and Tmin().

◆ GetErrorAsymmetryGoodBinsVector()

std::vector< double > MuSR_td_PSI_bin::GetErrorAsymmetryGoodBinsVector ( int histo_num_plus,
int histo_num_minus,
double alpha_param,
int binning,
int lower_bckgrd_plus,
int higher_bckgrd_plus,
int lower_bckgrd_minus,
int higher_bckgrd_minus )

Method to obtain a vector of double containing the values of the error of the asymmetry between 2 histograms.

The size is calculated as the asymmetry array. The error of the asymmetry is calculated with the histograms <histo_num_plus> and <histo_num_minus> with an alpha parameter <alpha_param>. This method requires also a binning value <binning>, as well as the background limits for both histograms.

This method gives back:

  • a vector of double
  • an empty vector of double if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits

The first parameters of the method are the integers <histo_num_plus> and <histo_num_minus>, as well as the double <alpha_param>. Integers for the binning and for the background limits for both histograms.are also required.

Definition at line 3040 of file MuSR_td_PSI_bin.cpp.

References fLengthHisto, fNumberHisto, fReadingOk, GetFirstGoodInt(), GetHistoFromT0MinusBkgArray(), GetLastGoodInt(), GetT0Int(), Tmax(), and Tmin().

◆ GetErrorAsymmetryVector()

std::vector< double > MuSR_td_PSI_bin::GetErrorAsymmetryVector ( int histo_num_plus,
int histo_num_minus,
double alpha_param,
int binning,
int lower_bckgrd_plus,
int higher_bckgrd_plus,
int lower_bckgrd_minus,
int higher_bckgrd_minus,
int offset = 0 )

Method to obtain a vector of double containing the values of the error of the asymmetry between 2 histograms.

The error of the asymmetry is calculated with the histograms <histo_num_plus> and <histo_num_minus> with an alpha parameter <alpha_param>. This method requires also a binning value <binning>, as well as the background limits for both histograms. An <offset> value from t_0 can also be specified (otherwise = 0)

This method gives back:

  • a vector of double
  • an empty vector of double if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits

The first parameters of the method are the integers <histo_num_plus> and <histo_num_minus>, as well as the double <alpha_param>. Integers for the binning and for the background limits for both histograms.are also required.

Definition at line 2740 of file MuSR_td_PSI_bin.cpp.

References fLengthHisto, fNumberHisto, fReadingOk, GetHistoFromT0MinusBkgArray(), GetT0Int(), and Tmax().

◆ GetEventsHistoLong()

long MuSR_td_PSI_bin::GetEventsHistoLong ( int i)

Method returning a long representing the number of events in a specified histograms.

A value of -1 is returned if the value of the histogram <i> specified is invalid.

Definition at line 3341 of file MuSR_td_PSI_bin.cpp.

References fEventsPerHisto, and fNumberHisto.

Referenced by dump_header_psi_bin().

◆ GetEventsHistoVector()

std::vector< long > MuSR_td_PSI_bin::GetEventsHistoVector ( )

Method returning a vector of long containing the number of events in the histograms.

Definition at line 3356 of file MuSR_td_PSI_bin.cpp.

References fEventsPerHisto, and fNumberHisto.

◆ GetField()

std::string MuSR_td_PSI_bin::GetField ( )

Method returning a string containing the field specified in the title.

Definition at line 3818 of file MuSR_td_PSI_bin.cpp.

References fField.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetFirstGoodInt()

int MuSR_td_PSI_bin::GetFirstGoodInt ( int i)

Method returning an integer representing the first good bin specified in the header for a specified histogram.

A value of -1 is returned if the value of the histogram <i> specified is invalid.

Definition at line 3488 of file MuSR_td_PSI_bin.cpp.

References fFirstGood, and fNumberHisto.

Referenced by dump_header_psi_bin(), GetAsymmetryGoodBinsArray(), GetAsymmetryGoodBinsVector(), GetErrorAsymmetryGoodBinsArray(), GetErrorAsymmetryGoodBinsVector(), GetHistoGoodBinsArray(), GetHistoGoodBinsMinusBkgArray(), GetHistoGoodBinsMinusBkgVector(), and GetHistoGoodBinsVector().

◆ GetFirstGoodVector()

std::vector< int > MuSR_td_PSI_bin::GetFirstGoodVector ( )

Method returning a vector of integer containing the first good bin values of the histograms specified in the header.

Definition at line 3527 of file MuSR_td_PSI_bin.cpp.

References fFirstGood, and fNumberHisto.

Referenced by PRunDataHandler::ReadPsiBinFile().

◆ GetHisto()

double MuSR_td_PSI_bin::GetHisto ( int histo_num,
int j )

Method to return the value of a single bin as double.

This method gives back:

  • bin value as double
  • 0 if an invalid histogram number or bin is choosen

Definition at line 1816 of file MuSR_td_PSI_bin.cpp.

References fHisto, fHistosVector, fLengthHisto, fNumberHisto, and fReadingOk.

◆ GetHistoArray()

std::vector< double > MuSR_td_PSI_bin::GetHistoArray ( int histo_num,
int binning )

Method to obtain an array of type double containing the values of the histogram <histo_num> with binning <binning>

This method gives back:

  • a double vector
  • an empty vector if an invalid histogram number or binning is choosen or allocation failed

The parameters of the method are the integers <histo_num> and <binning> representing the desired histogram number and binning.

Definition at line 1845 of file MuSR_td_PSI_bin.cpp.

References fHisto, fLengthHisto, fNumberHisto, and fReadingOk.

◆ GetHistoArrayInt()

std::vector< int > MuSR_td_PSI_bin::GetHistoArrayInt ( int histo_num)

Method to obtain an array of type integer containing the values of the histogram <histo_num>

This method gives back:

  • integer vectors
  • an vector of size 0 if an invalid histogram number is choosen or allocate failed

The parameter of the method is the integer <histo_num> representing the desired histogram number.

Definition at line 2109 of file MuSR_td_PSI_bin.cpp.

References fHisto, fLengthHisto, fNumberHisto, and fReadingOk.

Referenced by PRunDataHandler::ReadPsiBinFile().

◆ GetHistoFromT0Array()

double * MuSR_td_PSI_bin::GetHistoFromT0Array ( int histo_num,
int binning,
int offset = 0 )

Method to obtain an array of type double containing the values of the histogram <histo_num> with binning <binning> from the point t0. An <offset> can also be specified (otherwise = 0).

This method gives back:

  • a pointer of a double array
  • the NULL pointer if an invalid histogram number or binning is choosen or allocation failed

The parameters of the method are the integers <histo_num> and <binning> representing the desired histogram number and binning.

Definition at line 2146 of file MuSR_td_PSI_bin.cpp.

References fHisto, fLengthHisto, fNumberHisto, fReadingOk, and GetT0Int().

◆ GetHistoFromT0MinusBkgArray()

double * MuSR_td_PSI_bin::GetHistoFromT0MinusBkgArray ( int histo_num,
int lower_bckgrd,
int higher_bckgrd,
int binning,
int offset = 0 )

Method to obtain an array of type double containing the values of the histogram <histo_num> with binning <binning> from the point t0. A background calculated from the points <lower_bckgrd> and <higher_bckgrd> is subtracted. An <offset> can also be specified (otherwise = 0.

This method gives back:

  • a pointer of a double array
  • the NULL pointer if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits
    • allocate failed

The first parameters of the method are the integers <histo_num> and <binning> representing the desired histogram number and binning. Also the parameters <lower_bckgrd> and <higher_bckgrd> define the limits between which the background is calculated.

Definition at line 2306 of file MuSR_td_PSI_bin.cpp.

References fHisto, fLengthHisto, fNumberHisto, fReadingOk, GetT0Int(), and NULL.

Referenced by GetAsymmetryArray(), GetAsymmetryGoodBinsArray(), GetAsymmetryGoodBinsVector(), GetAsymmetryVector(), GetErrorAsymmetryArray(), GetErrorAsymmetryGoodBinsArray(), GetErrorAsymmetryGoodBinsVector(), and GetErrorAsymmetryVector().

◆ GetHistoFromT0MinusBkgVector()

std::vector< double > MuSR_td_PSI_bin::GetHistoFromT0MinusBkgVector ( int histo_num,
int lower_bckgrd,
int higher_bckgrd,
int binning,
int offset = 0 )

Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning> from the point t0. A background calculated from the points <lower_bckgrd> and <higher_bckgrd> is subtracted. An <offset> can also be specified (otherwise = 0).

This method gives back:

  • a vector of double
  • an empty vector of double if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits

The first parameters of the method are the integers <histo_num> and <binning> representing the desired histogram number and binning. Also the parameters <lower_bckgrd> and <higher_bckgrd> define the limits between which the background is calculated.

Definition at line 2361 of file MuSR_td_PSI_bin.cpp.

References fHisto, fLengthHisto, fNumberHisto, fReadingOk, and GetT0Int().

◆ GetHistoFromT0Vector()

std::vector< double > MuSR_td_PSI_bin::GetHistoFromT0Vector ( int histo_num,
int binning,
int offset = 0 )

Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning> from the point t0. An <offset> can also be specified (otherwise = 0).

This method gives back:

  • a vector of double
  • an empty vector of double if an invalid histogram number or binning is choosen

The parameters of the method are the integers <histo_num> and <binning> representing the desired histogram number and binning.

Definition at line 2185 of file MuSR_td_PSI_bin.cpp.

References fHisto, fLengthHisto, fNumberHisto, fReadingOk, and GetT0Int().

◆ GetHistoGoodBinsArray()

double * MuSR_td_PSI_bin::GetHistoGoodBinsArray ( int histo_num,
int binning )

Method to obtain an array of type double containing the values of the histogram <histo_num> with binning <binning> from the point fFirstGood until fLastGood.

This method gives back:

  • an pointer of a double array
  • the NULL pointer if an invalid histogram number or binning is choosen or allocate failed The parameters of the method are the integers <histo_num> and <binning> representing the desired histogram number and binning.

Definition at line 2223 of file MuSR_td_PSI_bin.cpp.

References fHisto, fNumberHisto, fReadingOk, GetFirstGoodInt(), and GetLastGoodInt().

◆ GetHistoGoodBinsMinusBkgArray()

double * MuSR_td_PSI_bin::GetHistoGoodBinsMinusBkgArray ( int histo_num,
int lower_bckgrd,
int higher_bckgrd,
int binning )

Method to obtain an array of type double containing the values of the histogram <histo_num> with binning <binning> from the point fFirstGood until the point fLastGood. A background calculated from the points <lower_bckgrd> and <higher_bckgrd> is subtracted.

This method gives back:

  • a pointer of a double array
  • the NULL pointer if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits
    • allocate failed

The first parameters of the method are the integers <histo_num> and <binning> representing the desired histogram number and binning. Also the parameters <lower_bckgrd> and <higher_bckgrd> define the limits between which the background is calculated.

Definition at line 2416 of file MuSR_td_PSI_bin.cpp.

References fHisto, fLengthHisto, fNumberHisto, fReadingOk, GetFirstGoodInt(), and GetLastGoodInt().

◆ GetHistoGoodBinsMinusBkgVector()

std::vector< double > MuSR_td_PSI_bin::GetHistoGoodBinsMinusBkgVector ( int histo_num,
int lower_bckgrd,
int higher_bckgrd,
int binning )

Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning> from the point fFirstGood until the point fLastGood. A background calculated from the points <lower_bckgrd> and <higher_bckgrd> is subtracted.

This method gives back:

  • a vector of double
  • an empty vector of double if one provides
    • an invalid histogram number
    • a binning smaller than 1
    • invalid background limits

The first parameters of the method are the integers <histo_num> and <binning> representing the desired histogram number and binning. Also the parameters <lower_bckgrd> and <higher_bckgrd> define the limits between which the background is calculated.

Definition at line 2471 of file MuSR_td_PSI_bin.cpp.

References fHisto, fLengthHisto, fNumberHisto, fReadingOk, GetFirstGoodInt(), and GetLastGoodInt().

◆ GetHistoGoodBinsVector()

std::vector< double > MuSR_td_PSI_bin::GetHistoGoodBinsVector ( int histo_num,
int binning )

Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning> from the point fFirstGood until fLastGood.

This method gives back:

  • a vector of double
  • an empty vector of double if an invalid histogram number or binning is choosen

The parameters of the method are the integers <histo_num> and <binning> representing the desired histogram number and binning.

Definition at line 2261 of file MuSR_td_PSI_bin.cpp.

References fHisto, fNumberHisto, fReadingOk, GetFirstGoodInt(), and GetLastGoodInt().

◆ GetHistoInt()

int MuSR_td_PSI_bin::GetHistoInt ( int histo_num,
int j )

Method to return the value of a single bin as integer.

This method gives back:

  • bin value as int
  • 0 if an invalid histogram number or bin is choosen

Definition at line 1793 of file MuSR_td_PSI_bin.cpp.

References fHisto, fHistosVector, fLengthHisto, fNumberHisto, and fReadingOk.

◆ GetHistoLengthBin()

int MuSR_td_PSI_bin::GetHistoLengthBin ( )
inline

Definition at line 269 of file MuSR_td_PSI_bin.h.

References fLengthHisto.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetHistoNamesVector()

std::vector< std::string > MuSR_td_PSI_bin::GetHistoNamesVector ( )

Method returning a vector of strings containing the names of the histograms.

Definition at line 3979 of file MuSR_td_PSI_bin.cpp.

References fLabelsHisto, and fNumberHisto.

◆ GetHistoVector()

std::vector< double > MuSR_td_PSI_bin::GetHistoVector ( int histo_num,
int binning )

Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning>

This method gives back:

  • a vector of double
  • an empty vector of double if an invalid number or binning is choosen

The parameters of the method are the integers <histo_num> and <binning> representing the desired histogram number and binning.

Definition at line 2033 of file MuSR_td_PSI_bin.cpp.

References fHisto, fLengthHisto, fNumberHisto, and fReadingOk.

◆ GetHistoVectorNo0()

std::vector< double > MuSR_td_PSI_bin::GetHistoVectorNo0 ( int histo_num,
int binning )

Method to obtain a vector of double containing the values of the histogram <histo_num> with binning <binning> but where the bins with zero counts are replaced by a count 0.1.

This method gives back:

  • a vector of double
  • an empty vector of double if an invalid number or binning is choosen

The parameters of the method are the integers <histo_num> and <binning> representing the desired histogram number and binning.

Definition at line 2069 of file MuSR_td_PSI_bin.cpp.

References fHisto, fLengthHisto, fNumberHisto, and fReadingOk.

◆ GetLastGoodInt()

int MuSR_td_PSI_bin::GetLastGoodInt ( int i)

Method returning an integer representing the last good bin specified in the header for a specified histogram.

A value of -1 is returned if the value of the histogram <i> specified is invalid.

Definition at line 3546 of file MuSR_td_PSI_bin.cpp.

References fLastGood, and fNumberHisto.

Referenced by dump_header_psi_bin(), GetAsymmetryGoodBinsArray(), GetAsymmetryGoodBinsVector(), GetErrorAsymmetryGoodBinsArray(), GetErrorAsymmetryGoodBinsVector(), GetHistoGoodBinsArray(), GetHistoGoodBinsMinusBkgArray(), GetHistoGoodBinsMinusBkgVector(), and GetHistoGoodBinsVector().

◆ GetLastGoodVector()

std::vector< int > MuSR_td_PSI_bin::GetLastGoodVector ( )

Method returning a vector of integer containing the last good bin values of the histograms specified in the header.

Definition at line 3561 of file MuSR_td_PSI_bin.cpp.

References fLastGood, and fNumberHisto.

Referenced by PRunDataHandler::ReadPsiBinFile().

◆ GetMax2LastGoodInt()

int MuSR_td_PSI_bin::GetMax2LastGoodInt ( int k,
int j )

Method to determine the maximum value of the "last good bins" of 2 histograms.

returns -1 if something is invalid

Definition at line 3599 of file MuSR_td_PSI_bin.cpp.

References fLastGood, and fNumberHisto.

◆ GetMax2T0Int()

int MuSR_td_PSI_bin::GetMax2T0Int ( int k,
int j )

Method to determine the maximum value of the last good bins of 2 histograms.

returns -1 if the numbers of the histograms are invalid

Definition at line 3201 of file MuSR_td_PSI_bin.cpp.

References fIntegerT0, and fNumberHisto.

◆ GetMaxLastGoodInt()

int MuSR_td_PSI_bin::GetMaxLastGoodInt ( )

Method returning an integer containing the maximum value of the "last good bins" of all histograms.

Definition at line 3578 of file MuSR_td_PSI_bin.cpp.

References fLastGood, and fNumberHisto.

◆ GetMaxT0Int()

int MuSR_td_PSI_bin::GetMaxT0Int ( )

Method to determine the maximum value of the t0 bins.

Definition at line 3180 of file MuSR_td_PSI_bin.cpp.

References fIntegerT0, and fNumberHisto.

◆ GetMin2LastGoodInt()

int MuSR_td_PSI_bin::GetMin2LastGoodInt ( int k,
int j )

Method to determine the minimum value of the last good bins of 2 histograms.

returns -1 if something is invalid

Definition at line 3641 of file MuSR_td_PSI_bin.cpp.

References fLastGood, and fNumberHisto.

◆ GetMin2T0Int()

int MuSR_td_PSI_bin::GetMin2T0Int ( int k,
int j )

Method to determine the minimum value of the last good bins of 2 histograms.

returns -1 if the numbers of the histograms are invalid

Definition at line 3222 of file MuSR_td_PSI_bin.cpp.

References fIntegerT0, and fNumberHisto.

◆ GetMinLastGoodInt()

int MuSR_td_PSI_bin::GetMinLastGoodInt ( )

Method providing the minimum value of the last good bins.

Definition at line 3620 of file MuSR_td_PSI_bin.cpp.

References fLastGood, and fNumberHisto.

◆ GetMinT0Int()

int MuSR_td_PSI_bin::GetMinT0Int ( )

Method to determine the minimum value of the t0 bins.

Definition at line 3241 of file MuSR_td_PSI_bin.cpp.

References fIntegerT0, fLengthHisto, and fNumberHisto.

◆ GetNameHisto()

std::string MuSR_td_PSI_bin::GetNameHisto ( int i)

Method returning a string containing the name of the histogram <i>

returns an empty string if the histogram specified is invalid

Definition at line 3934 of file MuSR_td_PSI_bin.cpp.

References fLabelsHisto, and fNumberHisto.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetNumberHistoInt()

int MuSR_td_PSI_bin::GetNumberHistoInt ( )
inline

Definition at line 272 of file MuSR_td_PSI_bin.h.

References fNumberHisto.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetNumberScalerInt()

int MuSR_td_PSI_bin::GetNumberScalerInt ( )

Method returning an integer representing the number of histograms.

Definition at line 3104 of file MuSR_td_PSI_bin.cpp.

References fNumberScaler.

◆ GetNumberTemperatureInt()

int MuSR_td_PSI_bin::GetNumberTemperatureInt ( )
inline

Definition at line 338 of file MuSR_td_PSI_bin.h.

References fNumberTemper.

◆ GetOrient()

std::string MuSR_td_PSI_bin::GetOrient ( )

Method returning a string containing the orientation specified in the title.

Definition at line 3779 of file MuSR_td_PSI_bin.cpp.

References fOrient.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetRunNumberInt()

int MuSR_td_PSI_bin::GetRunNumberInt ( )
inline

Definition at line 317 of file MuSR_td_PSI_bin.h.

References fNumRun.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetSample()

std::string MuSR_td_PSI_bin::GetSample ( )

Method returning a string containing the fSample name.

Definition at line 3701 of file MuSR_td_PSI_bin.cpp.

References fSample.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetScalersNamesVector()

std::vector< std::string > MuSR_td_PSI_bin::GetScalersNamesVector ( )

Method returning a vector of strings containing the names of the scalers.

Definition at line 4028 of file MuSR_td_PSI_bin.cpp.

References fLabelsScalers, and fNumberScaler.

◆ GetScalersVector()

std::vector< long > MuSR_td_PSI_bin::GetScalersVector ( )

Method providing a vector of long containing the values of the scalers.

Definition at line 3139 of file MuSR_td_PSI_bin.cpp.

References fNumberScaler, and fScalers.

◆ GetSetup()

std::string MuSR_td_PSI_bin::GetSetup ( )

Method returning a string containing the setup.

Definition at line 3857 of file MuSR_td_PSI_bin.cpp.

References fSetup.

◆ GetT0Double()

double MuSR_td_PSI_bin::GetT0Double ( int i)

Method returning a double representing the t0 point (from the "real" t0 in the header) for a specified histogram.

A value of -1. is returned if the value of the histogram <i> specified is invalid.

Definition at line 3374 of file MuSR_td_PSI_bin.cpp.

References fNumberHisto, and fRealT0.

◆ GetT0Int()

int MuSR_td_PSI_bin::GetT0Int ( int i)

Method returning an integer representing the t0 point (from the "integer" t0 in the header) for a specified histogram.

A value of -1 is returned if the value of the histogram <i> specified is invalid.

Definition at line 3408 of file MuSR_td_PSI_bin.cpp.

References fIntegerT0, and fNumberHisto.

Referenced by dump_header_psi_bin(), GetAsymmetryArray(), GetAsymmetryGoodBinsArray(), GetAsymmetryGoodBinsVector(), GetAsymmetryVector(), GetErrorAsymmetryArray(), GetErrorAsymmetryGoodBinsArray(), GetErrorAsymmetryGoodBinsVector(), GetErrorAsymmetryVector(), GetHistoFromT0Array(), GetHistoFromT0MinusBkgArray(), GetHistoFromT0MinusBkgVector(), and GetHistoFromT0Vector().

◆ GetT0Vector()

std::vector< int > MuSR_td_PSI_bin::GetT0Vector ( )

Method returning a vector of integer containing the t0 values of the histograms specified in the header.

Definition at line 3447 of file MuSR_td_PSI_bin.cpp.

References fIntegerT0, and fNumberHisto.

Referenced by PRunDataHandler::ReadPsiBinFile().

◆ GetTemp()

std::string MuSR_td_PSI_bin::GetTemp ( )

Method returning a string containing the temperature specified in the title.

Definition at line 3740 of file MuSR_td_PSI_bin.cpp.

References fTemp.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetTemperaturesVector()

std::vector< double > MuSR_td_PSI_bin::GetTemperaturesVector ( )

Method returning a vector of doubles containing monitored values (usually temperatures)

Definition at line 4097 of file MuSR_td_PSI_bin.cpp.

References fNumberTemper, and fTemper.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetTimeStartVector()

std::vector< std::string > MuSR_td_PSI_bin::GetTimeStartVector ( )

Method returning a vector of strings containing 1) the date when the run was started and 2) the time when the run was started.

Definition at line 4182 of file MuSR_td_PSI_bin.cpp.

References fDateStart, and fTimeStart.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetTimeStopVector()

std::vector< std::string > MuSR_td_PSI_bin::GetTimeStopVector ( )

Method returning a vector of strings containing 1) the date when the run was stopped and 2) the time when the run was stopped.

Definition at line 4236 of file MuSR_td_PSI_bin.cpp.

References fDateStop, and fTimeStop.

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ GetTotalEventsLong()

long MuSR_td_PSI_bin::GetTotalEventsLong ( )
inline

Definition at line 283 of file MuSR_td_PSI_bin.h.

References fTotalEvents.

◆ PutBinWidthMicroSec()

void MuSR_td_PSI_bin::PutBinWidthMicroSec ( double binWidth)

Method setting a double representing the bin-width in microseconds.

Parameters
binWidthbin-width given in microseconds

Definition at line 3327 of file MuSR_td_PSI_bin.cpp.

References fBinWidth.

◆ PutBinWidthNanoSec()

void MuSR_td_PSI_bin::PutBinWidthNanoSec ( double binWidth)

Method setting a double representing the bin-width in nanoseconds.

Parameters
binWidthbin-width given in nanoseconds

Definition at line 3301 of file MuSR_td_PSI_bin.cpp.

References fBinWidth.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutBinWidthPicoSec()

void MuSR_td_PSI_bin::PutBinWidthPicoSec ( double binWidth)

Method setting a double representing the bin-width in picoseconds.

Parameters
binWidthbin-width given in picoseconds

Definition at line 3275 of file MuSR_td_PSI_bin.cpp.

References fBinWidth.

◆ PutComment()

int MuSR_td_PSI_bin::PutComment ( std::string commentStr)

Method setting a string containing the comment.

return:

  • 0 on success
Parameters
commentStrstring containing the comment

Definition at line 3917 of file MuSR_td_PSI_bin.cpp.

References fComment.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutDevTemperaturesVector()

int MuSR_td_PSI_bin::PutDevTemperaturesVector ( std::vector< double > & devTempVals)

Method setting a vector of doubles containing standard deviations of the monitored values (usually temperatures)

return:

  • 0 on success
  • -1 if the number of devTempVals elements is out of range
Parameters
devTempValsvector containing standard deviations of the monitored values

Definition at line 4163 of file MuSR_td_PSI_bin.cpp.

References fTempDeviation, and MAXTEMPER.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutField()

int MuSR_td_PSI_bin::PutField ( std::string fieldStr)

Method setting a string containing the field.

return:

  • 0 on success
  • -1 if the provided field string is too long (>= 11 char)
Parameters
fieldStrstring containing the field

Definition at line 3840 of file MuSR_td_PSI_bin.cpp.

References fField.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutFirstGoodInt()

int MuSR_td_PSI_bin::PutFirstGoodInt ( int i,
int j )

Method setting an integer representing the first good bin specified in the header for a specified histogram.

return:

  • 0 on success
  • -1 if histo index is out of range
Parameters
iindex of the histogram
jfirst good bin value

Definition at line 3510 of file MuSR_td_PSI_bin.cpp.

References fFirstGood, and MAXHISTO.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutHistoArrayInt()

int MuSR_td_PSI_bin::PutHistoArrayInt ( std::vector< std::vector< int > > & histoData,
int tag = 0 )

Method to set the histograms which is a vector of vector of int's (histogram). There are two different ways to Get the data conform to PSI-BIN limitations:

  1. rebin and zero pad the given data. In this case also a couple of other parameters need to be adopted: T0, first good bin, last good bin, and the time resolution. The values for these properties needed to be set before calling this routine!
  2. truncate the data. In this it is only checked that T0, first good bin, and last good bin are staying within proper boundaries.

    This method gives back:

    • 0 on success
    • -1 if number of histograms is out of range
    • -2 if not all the histograms given have the same length
    • -3 if unsupported tag is found
    • -4 failed to allocate memory for the histos
Parameters
histoDatavector of the histograms
tag0: rebin and zero pad at need, 1: truncate at need, 2: only make sure that histo length < 32512

Definition at line 1890 of file MuSR_td_PSI_bin.cpp.

References fBinWidth, fConsistencyOk, fConsistencyStatus, fFirstGood, fHisto, fIntegerT0, fLastGood, fLengthHisto, fNumberHisto, and fRealT0.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutHistoLengthBin()

void MuSR_td_PSI_bin::PutHistoLengthBin ( int val)
inline

Definition at line 270 of file MuSR_td_PSI_bin.h.

References fLengthHisto.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutHistoNamesVector()

int MuSR_td_PSI_bin::PutHistoNamesVector ( std::vector< std::string > & histoNames)

Method setting a vector containing the names of all the histograms.

returns:

  • 0 on success
  • -1 size of vector larger than number of histograms
  • -2 length of label too large
Parameters
histoNamename of the histogram

Definition at line 4006 of file MuSR_td_PSI_bin.cpp.

References fLabelsHisto, fNumberHisto, and MAXLABELSIZE.

◆ PutLastGoodInt()

int MuSR_td_PSI_bin::PutLastGoodInt ( int i,
int j )

Method to modify the last good bin (value <j>) of the histogram <i>

returns -1 if the histogram specified was invalid

Definition at line 3664 of file MuSR_td_PSI_bin.cpp.

References fLastGood, and fNumberHisto.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutNameHisto()

int MuSR_td_PSI_bin::PutNameHisto ( std::string histoName,
int i )

Method setting a string containing the name of the histogram <i>

returns:

  • 0 on success
  • -1 index i out of range
  • -2 histoName is too long
Parameters
histoNamename of the histogram
iindex of the histogram

Definition at line 3959 of file MuSR_td_PSI_bin.cpp.

References fLabelsHisto, fNumberHisto, and MAXLABELSIZE.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutNumberHistoInt()

void MuSR_td_PSI_bin::PutNumberHistoInt ( int val)
inline

Definition at line 273 of file MuSR_td_PSI_bin.h.

References fNumberHisto.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutNumberScalerInt()

int MuSR_td_PSI_bin::PutNumberScalerInt ( int val)

Method seting the number of scalers present.

return:

  • 0 on success
  • -1 if val is out of range (32)
Parameters
valthe number of scalers present

Definition at line 3122 of file MuSR_td_PSI_bin.cpp.

References fNumberScaler, and MAXSCALER.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutNumberTemperatureInt()

int MuSR_td_PSI_bin::PutNumberTemperatureInt ( int noOfTemps)

Method setting an integer representing the number of temperatures.

return:

  • 0 on success
  • -1 if noOfTemps is out of range
Parameters
noOfTempsnumber of temperatures present

Definition at line 4080 of file MuSR_td_PSI_bin.cpp.

References fNumberTemper, and MAXTEMPER.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutOrient()

int MuSR_td_PSI_bin::PutOrient ( std::string orientStr)

Method setting a string containing the fSample orientation.

return:

  • 0 on success
  • -1 if the provided orientation string is too long (>= 11 char)
Parameters
orientStrstring containing the fSample information

Definition at line 3801 of file MuSR_td_PSI_bin.cpp.

References fOrient.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutRunNumberInt()

int MuSR_td_PSI_bin::PutRunNumberInt ( int i)

Method to modify the run number (value <i>)

returns -1 if the integer specified was wrong

Definition at line 3683 of file MuSR_td_PSI_bin.cpp.

References fNumRun.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutSample()

int MuSR_td_PSI_bin::PutSample ( std::string sampleStr)

Method setting a string containing the fSample name.

return:

  • 0 on success
  • -1 if the provided fSample string is too long (>= 11 char)
Parameters
fSamplestring containing the fSample information

Definition at line 3723 of file MuSR_td_PSI_bin.cpp.

References fSample.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutScalersNamesVector()

int MuSR_td_PSI_bin::PutScalersNamesVector ( std::vector< std::string > scalersName)

Method setting a vector of strings containing the names of the scalers.

return:

  • 0 on success
  • -1 of scalersName is too long (>MAXSCALER)
Parameters
scalersNamescaler names

Definition at line 4054 of file MuSR_td_PSI_bin.cpp.

References fLabelsScalers, MAXLABELSIZE, and MAXSCALER.

◆ PutScalersVector()

int MuSR_td_PSI_bin::PutScalersVector ( std::vector< int > scalerData)

Method set a vector of long containing the values of the scalers.

return:

  • 0 on success
  • -1 if scalerData vector is too long (>MAXSCALER)
Parameters
scalerDatavector

Definition at line 3162 of file MuSR_td_PSI_bin.cpp.

References fScalers, and MAXSCALER.

◆ PutSetup()

int MuSR_td_PSI_bin::PutSetup ( std::string setupStr)

Method setting a string containing the setup.

return:

  • 0 on success
  • -1 if the provided setup string is too long (>= 11 char)
Parameters
commentStrstring containing the setup

Definition at line 3879 of file MuSR_td_PSI_bin.cpp.

References fSetup.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutT0Int()

int MuSR_td_PSI_bin::PutT0Int ( int histoNo,
int t0 )

Method setting an integer representing the t0 point (from the "integer" t0 in the header) for a specified histogram.

return:

  • 0 on success
  • -1 if histoNo is out of range
Parameters
histoNohistogram number
t0t0 bin value

Definition at line 3430 of file MuSR_td_PSI_bin.cpp.

References fIntegerT0, and MAXHISTO.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutT0Vector()

int MuSR_td_PSI_bin::PutT0Vector ( std::vector< int > & t0Data)

Method setting a vector of integer containing the t0 values of the histograms specified in the header.

return:

  • 0 on success
  • -1 if t0Data is too long (>MAXHISTO)

Definition at line 3468 of file MuSR_td_PSI_bin.cpp.

References fIntegerT0, and MAXHISTO.

◆ PutTemp()

int MuSR_td_PSI_bin::PutTemp ( std::string tempStr)

Method setting a string containing the fSample temperature.

return:

  • 0 on success
  • -1 if the provided temperature string is too long (>= 11 char)
Parameters
tempStrstring containing the fSample information

Definition at line 3762 of file MuSR_td_PSI_bin.cpp.

References fTemp.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutTemperaturesVector()

int MuSR_td_PSI_bin::PutTemperaturesVector ( std::vector< double > & tempVals)

Method setting a vector of doubles containing monitored values (usually temperatures)

return:

  • 0 on success
  • -1 if the number of tempVals elements is out of range
Parameters
tempValsvector containing the monitored values

Definition at line 4121 of file MuSR_td_PSI_bin.cpp.

References fTemper, and MAXTEMPER.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutTimeStartVector()

int MuSR_td_PSI_bin::PutTimeStartVector ( std::vector< std::string > timeStart)

Method setting a vector of strings containing 1) the date when the run was started and 2) the time when the run was started.

return:

  • 0 on success
  • -1 timeStart vector has too many elements
  • -2 if date is too long
  • -3 if time is too long
Parameters
timeStartvector where [0] contains the date, [1] the time string

Definition at line 4209 of file MuSR_td_PSI_bin.cpp.

References fDateStart, and fTimeStart.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ PutTimeStopVector()

int MuSR_td_PSI_bin::PutTimeStopVector ( std::vector< std::string > timeStop)

Method setting a vector of strings containing 1) the date when the run was started and 2) the time when the run was stopped.

return:

  • 0 on success
  • -1 timeStart vector has too many elements
  • -2 if date is too long
  • -3 if time is too long
Parameters
timeStopvector where [0] contains the date, [1] the time string

Definition at line 4262 of file MuSR_td_PSI_bin.cpp.

References fDateStop, and fTimeStop.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ Read()

int MuSR_td_PSI_bin::Read ( const char * fileName)

Method to read a PSI-bin or an MDU file.

This method gives back:

  • 0 for succesful reading
  • 1 if the open file action or the reading of the header failed
  • 2 for an unsupported version of the data
  • 3 for an error when allocating data buffer
  • 4 if number of histograms per record not equals 1
  • 5 if the number of histograms is less than 1
  • 6 if reading data failed

The parameter of the method is a const char * representing the name of the file to be opened.

Definition at line 81 of file MuSR_td_PSI_bin.cpp.

References Clear(), fFilename, fFormatId, fReadStatus, ReadBin(), and ReadMdu().

Referenced by dump_header_psi_bin(), and PRunDataHandler::ReadPsiBinFile().

◆ ReadBin()

int MuSR_td_PSI_bin::ReadBin ( const char * fileName)

Method to read a PSI-bin file.

This method gives back:

  • 0 for succesful reading
  • 1 if the open file action or the reading of the header failed
  • 2 for an unsupported version of the data
  • 3 for an error when allocating data buffer
  • 4 if number of histograms per record not equals 1
  • 5 if the number of histograms is less than 1
  • 6 if reading data failed

The parameter of the method is a const char * representing the name of the file to be opened.

Definition at line 245 of file MuSR_td_PSI_bin.cpp.

References Clear(), fBinWidth, fComment, fDateStart, fDateStop, fDefaultBinning, fEventsPerHisto, fField, fFilename, fFirstGood, fFormatId, fHisto, fHistosVector, fIntegerT0, fLabelsHisto, fLabelsScalers, fLastGood, fLengthHisto, fNumberHisto, fNumberScaler, fNumberTemper, fNumRun, fOrient, fReadingOk, fReadStatus, fRealT0, fSample, fScalers, fSetup, fTemp, fTempDeviation, fTemper, fTimeStart, fTimeStop, and fTotalEvents.

Referenced by Read().

◆ ReadingOK()

bool MuSR_td_PSI_bin::ReadingOK ( ) const

Method to obtain if reading and processing of the data file was OK.

This method gives back:

  • true if reading was OK
  • false if reading was NOT OK

Definition at line 1631 of file MuSR_td_PSI_bin.cpp.

References fReadingOk.

◆ ReadMdu()

int MuSR_td_PSI_bin::ReadMdu ( const char * fileName)

Method to read a MuSR MDU file.

This method gives back:

  • 0 for succesful reading
  • 1 if the open file action or the reading of the header failed
  • 2 for an unsupported version of the data
  • 3 for an error when allocating data buffer
  • 5 if the number of histograms is less than 1
  • 6 if reading data failed

The parameter of the method is a const char * representing the name of the file to be opened.

Definition at line 1004 of file MuSR_td_PSI_bin.cpp.

References _FeFileHeaderRec::BinOffset, _FeFileHeaderRec::BinsPerHistogram, Clear(), _FeFileHeaderRec::DataFormat, _FeFileHeaderRec::DetectorNumberList, _FeFileHeaderRec::EndDate, _FeFileHeaderRec::EndTime, fBinWidth, fComment, fDateStart, fDateStop, fDefaultBinning, fEventsPerHisto, fField, fFilename, fFirstGood, fFormatId, fHisto, fHistosVector, fIntegerT0, fLabelsHisto, fLabelsScalers, fLastGood, fLengthHisto, _FeFileHeaderRec::FmtId, _FeFileHeaderRec::FmtVersion, fNumberHisto, fNumberScaler, fNumberTemper, fNumRun, fOrient, fReadingOk, fReadStatus, fSample, fScalers, fTemp, fTempDeviation, fTemper, fTimeStart, fTimeStop, fTotalEvents, _pTAFileHeaderRec::Header, _pTATagRec::Histomaxb, _pTATagRec::Histominb, _FeFileHeaderRec::HistoResolution, _pTATagRec::Label, MAXHISTO, MAXLABELSIZE, MAXTEMPER, _FeFileHeaderRec::MeanTemp, _FeFileHeaderRec::NumberOfDetectors, _pTAFileHeaderRec::NumBytesHeader, _pTAFileHeaderRec::NumBytesSettings, _pTAFileHeaderRec::NumBytesStatistics, _pTAFileHeaderRec::NumBytesTag, PTAMAXTAGS, PTATAGC_POSITRON, _pTATDC32SettingsRec::resolutioncode, _pTATDCSettingsRec::resolutioncode, _FeFileHeaderRec::RunNumber, _FeFileHeaderRec::RunSubTitle, _FeFileHeaderRec::RunTitle, _FeFileHeaderRec::StartDate, _FeFileHeaderRec::StartTime, _pTASettingsRec::tag, _pTATDC32SettingsRec::tag, _pTATDCSettingsRec::tag, _pTAStatisticRec::TagScaler, _pTATDC32StatisticRec::TagScaler, _pTATDCStatisticRec::TagScaler, TDCMAXTAGS16, TDCMAXTAGS32, _FeFileHeaderRec::TempDev, _pTASettingsRec::timespan, and _pTATagRec::Type.

Referenced by Read().

◆ ReadStatus()

std::string MuSR_td_PSI_bin::ReadStatus ( ) const

Method to obtain error/success information after reading.

This method gives back:

  • "SUCCESS" if reading was OK
  • "ERROR <message>" if reading was NOT OK

Definition at line 1733 of file MuSR_td_PSI_bin.cpp.

References fReadStatus.

◆ Show()

◆ Tmax()

◆ Tmin()

int MuSR_td_PSI_bin::Tmin ( int x,
int y )
private

◆ Write()

int MuSR_td_PSI_bin::Write ( const char * fileName)

Method to write a PSI-bin or an MDU file.

This method gives back:

  • 0 for succesful writing
  • 1 if the open file action or the writing of the header failed
  • 2 for an unsupported version of the data
  • 3 for an error when allocating data buffer
  • 4 if number of histograms per record not equals 1
  • 5 if the number of histograms is less than 1
  • 6 if writing data failed

The parameter of the method is a const char * representing the name of the file to be opened.

Definition at line 165 of file MuSR_td_PSI_bin.cpp.

References status, WriteBin(), and WriteMdu().

Referenced by PRunDataHandler::WritePsiBinFile().

◆ WriteBin()

int MuSR_td_PSI_bin::WriteBin ( const char * fileName)

Method to write a PSI-bin file.

This method gives back:

  • 0 for succesful writing
  • 1 if the open file action or the writing of the header failed
  • 2 for an unsupported version of the data
  • 3 for an error when allocating data buffer
  • 4 if given data set / header information is inconsistent to the PSI-BIN format

The parameter of the method is a const char * representing the name of the file to be opened.

Definition at line 548 of file MuSR_td_PSI_bin.cpp.

References CheckDataConsistency(), fBinWidth, fComment, fDateStart, fDateStop, fField, fFirstGood, fHisto, fIntegerT0, fLabelsHisto, fLabelsScalers, fLastGood, fLengthHisto, fNumberHisto, fNumberScaler, fNumberTemper, fNumRun, fOrient, fSample, fScalers, fSetup, fTemp, fTempDeviation, fTemper, fTimeStart, fTimeStop, fWriteStatus, and MAXREC.

Referenced by Write().

◆ WriteMdu()

int MuSR_td_PSI_bin::WriteMdu ( const char * fileName)

Method to write a MuSR MDU file.

This method gives back:

  • 0 for succesful writing
  • 1 if the open file action or the writing of the header failed
  • 2 for an unsupported version of the data
  • 3 for an error when allocating data buffer
  • 5 if the number of histograms is less than 1
  • 6 if writing data failed

The parameter of the method is a const char * representing the name of the file to be opened.

Definition at line 1614 of file MuSR_td_PSI_bin.cpp.

Referenced by Write().

◆ WriteStatus()

std::string MuSR_td_PSI_bin::WriteStatus ( ) const

Method to obtain error/success information after writing.

This method gives back:

  • "SUCCESS" if writing was OK
  • "ERROR <message>" if writing was NOT OK

Definition at line 1748 of file MuSR_td_PSI_bin.cpp.

References fWriteStatus.

Referenced by PRunDataHandler::WritePsiBinFile().

◆ WritingOK()

bool MuSR_td_PSI_bin::WritingOK ( ) const

Method to obtain if writing and processing of the data file was OK.

This method gives back:

  • true if writing was OK
  • false if writing was NOT OK

Definition at line 1646 of file MuSR_td_PSI_bin.cpp.

References fWritingOk.

Member Data Documentation

◆ fBinWidth

◆ fComment

char MuSR_td_PSI_bin::fComment[63]
private

Definition at line 76 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), GetComment(), PutComment(), ReadBin(), ReadMdu(), Show(), and WriteBin().

◆ fConsistencyOk

bool MuSR_td_PSI_bin::fConsistencyOk
private

Definition at line 65 of file MuSR_td_PSI_bin.h.

Referenced by CheckDataConsistency(), Clear(), and PutHistoArrayInt().

◆ fConsistencyStatus

std::string MuSR_td_PSI_bin::fConsistencyStatus
private

Definition at line 62 of file MuSR_td_PSI_bin.h.

Referenced by CheckDataConsistency(), Clear(), ConsistencyStatus(), and PutHistoArrayInt().

◆ fDateStart

char MuSR_td_PSI_bin::fDateStart[10]
private

◆ fDateStop

char MuSR_td_PSI_bin::fDateStop[10]
private

◆ fDefaultBinning

int MuSR_td_PSI_bin::fDefaultBinning
private

Definition at line 92 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), GetDefaultBinning(), ReadBin(), ReadMdu(), and Show().

◆ fEventsPerHisto

int MuSR_td_PSI_bin::fEventsPerHisto[MAXHISTO]
private

◆ fField

char MuSR_td_PSI_bin::fField[11]
private

Definition at line 73 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), GetField(), PutField(), ReadBin(), ReadMdu(), Show(), and WriteBin().

◆ fFilename

std::string MuSR_td_PSI_bin::fFilename
private

Definition at line 59 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), Filename(), Read(), ReadBin(), ReadMdu(), and Show().

◆ fFirstGood

int MuSR_td_PSI_bin::fFirstGood[MAXHISTO]
private

◆ fFormatId

char MuSR_td_PSI_bin::fFormatId[3]
private

Definition at line 67 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), Read(), ReadBin(), ReadMdu(), and Show().

◆ fHisto

◆ fHistosVector

std::vector< std::vector<double> > MuSR_td_PSI_bin::fHistosVector

< this public variable provides a direct read/write access to the histograms. However all public methods use the protected variable histo. Histogram information returned by ..._vector or ..._array methods return information based on histo bin .

NOTE: Histogram information returned by <pointer_to_array> = ..._array() methods should be freed by delete [] <pointer_to_array>;

Definition at line 119 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), GetHisto(), GetHistoInt(), ReadBin(), and ReadMdu().

◆ fIntegerT0

◆ fLabelsHisto

char MuSR_td_PSI_bin::fLabelsHisto[MAXHISTO][MAXLABELSIZE]
private

◆ fLabelsScalers

char MuSR_td_PSI_bin::fLabelsScalers[MAXSCALER][MAXLABELSIZE]
private

◆ fLastGood

◆ fLengthHisto

◆ fNumberHisto

◆ fNumberScaler

int MuSR_td_PSI_bin::fNumberScaler
private

◆ fNumberTemper

int MuSR_td_PSI_bin::fNumberTemper
private

◆ fNumRun

int MuSR_td_PSI_bin::fNumRun
private

Definition at line 69 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), GetRunNumberInt(), PutRunNumberInt(), ReadBin(), ReadMdu(), Show(), and WriteBin().

◆ fOrient

char MuSR_td_PSI_bin::fOrient[11]
private

Definition at line 74 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), GetOrient(), PutOrient(), ReadBin(), ReadMdu(), Show(), and WriteBin().

◆ fReadingOk

◆ fReadStatus

std::string MuSR_td_PSI_bin::fReadStatus
private

Definition at line 60 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), Read(), ReadBin(), ReadMdu(), ReadStatus(), and Show().

◆ fRealT0

float MuSR_td_PSI_bin::fRealT0[MAXHISTO]
private

Definition at line 94 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), GetT0Double(), PutHistoArrayInt(), ReadBin(), and Show().

◆ fSample

char MuSR_td_PSI_bin::fSample[11]
private

Definition at line 71 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), GetSample(), PutSample(), ReadBin(), ReadMdu(), Show(), and WriteBin().

◆ fScalers

int MuSR_td_PSI_bin::fScalers[MAXSCALER]
private

◆ fSetup

char MuSR_td_PSI_bin::fSetup[11]
private

Definition at line 75 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), GetSetup(), PutSetup(), ReadBin(), and WriteBin().

◆ fTemp

char MuSR_td_PSI_bin::fTemp[11]
private

Definition at line 72 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), GetTemp(), PutTemp(), ReadBin(), ReadMdu(), Show(), and WriteBin().

◆ fTempDeviation

float MuSR_td_PSI_bin::fTempDeviation[MAXTEMPER]
private

◆ fTemper

float MuSR_td_PSI_bin::fTemper[MAXTEMPER]
private

◆ fTimeStart

char MuSR_td_PSI_bin::fTimeStart[9]
private

◆ fTimeStop

char MuSR_td_PSI_bin::fTimeStop[9]
private

◆ fTotalEvents

int MuSR_td_PSI_bin::fTotalEvents
private

Definition at line 89 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), GetTotalEventsLong(), ReadBin(), ReadMdu(), and Show().

◆ fWriteStatus

std::string MuSR_td_PSI_bin::fWriteStatus
private

Definition at line 61 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), WriteBin(), and WriteStatus().

◆ fWritingOk

bool MuSR_td_PSI_bin::fWritingOk
private

Definition at line 64 of file MuSR_td_PSI_bin.h.

Referenced by Clear(), and WritingOK().


The documentation for this class was generated from the following files: