simple-tof-analysis
 All Classes Namespaces Functions Variables Groups Pages
Classes | Public Member Functions | List of all members
TSDataBin Class Reference
Inheritance diagram for TSDataBin:
TSNamed TSNamed

Public Member Functions

 TSDataBin (TString name, TString label, TString title)
 
 TSDataBin (const TSDataBin &)
 
int Fill ()
 
int Fill (const TSVariable &)
 
int Fill (const TSArgList &)
 
TTree * GetDataTree ()
 
TSHistogramFldGetHistoFolder () const
 
int GetHistoTitleStyle () const
 
int GetNumOfVars () const
 
TSPhaseSpaceVolumeGetPhaseSpaceVolume () const
 
const TSVariableGetVariable (int) const
 
int GetVarSettings (int var, int &auto_type, int &nbins, double &min, double &max) const
 
bool HasPhaseSpaceVolume () const
 
void Init ()
 
bool IsPhaseSpace (int) const
 
bool IsUnbinned () const
 
int SetBidimensional (TSVariable &, TSVariable &)
 
int SetHistoTitleStyle (int)
 
void SetName (TString)
 
int SetPhaseSpaceVolume (TSPhaseSpaceVolume &)
 
void SetUnbinned (bool)
 
int SetVariable (const TSVariable &)
 
int SetVariable (const TSVariable &, double range_min, double range_max)
 
int SetVariable (const TSVariable &, int n, double low, double up)
 
 TSDataBin (TString name, TString label, TString title)
 
 TSDataBin (const TSDataBin &)
 
int Fill ()
 
int Fill (const TSVariable &)
 
int Fill (const TSArgList &)
 
int GetBidimVarXIdx (int) const
 
int GetBidimVarYIdx (int) const
 
TTree * GetDataTree ()
 
TSHistogramFldGetHistoFolder () const
 
int GetHistoTitleStyle () const
 
int GetNumOfVars () const
 
int GetNumOfBidimPairs () const
 
TSPhaseSpaceVolumeGetPhaseSpaceVolume () const
 
const TSVariableGetVariable (int) const
 
int GetVarSettings (int var, int &auto_type, int &nbins, double &min, double &max) const
 
bool HasPhaseSpaceVolume () const
 
void Init ()
 
bool IsPhaseSpace (int) const
 
bool IsUnbinned () const
 
int SetBidimensional (TSVariable &, TSVariable &)
 
int SetBidimensional (int idx, int idy)
 
int SetHistoTitleStyle (int)
 
void SetName (TString)
 
int SetPhaseSpaceVolume (TSPhaseSpaceVolume &)
 
void SetUnbinned (bool)
 
int SetVariable (const TSVariable &)
 
int SetVariable (const TSVariable &, double range_min, double range_max)
 
int SetVariable (const TSVariable &, int n, double low, double up)
 
- Public Member Functions inherited from TSNamed
 TSNamed (TString name, TString label, TString title)
 
void Clear ()
 
virtual TString GetDescription () const
 
TString GetLabel () const
 
TString Label () const
 
TString Name () const
 
TString Title () const
 
const char * GetName () const
 
const char * GetTitle () const
 
virtual void SetLabel (TString)
 
virtual void SetTitle (TString)
 
 TSNamed (TString name, TString label, TString title)
 
void Clear ()
 
virtual TString GetDescription () const
 
TString GetLabel () const
 
TString Label () const
 
TString Name () const
 
TString Title () const
 
const char * GetName () const
 
const char * GetTitle () const
 
virtual void SetLabel (TString)
 
virtual void SetTitle (TString)
 

Member Function Documentation

int TSDataBin::GetVarSettings ( int  var,
int &  auto_type,
int &  nbins,
double &  min,
double &  max 
) const

Return Settings Used to book Variable Histograms

auto_type = 0: Binning his specified auto_type = 1: Binning fully auto auto_type = 2: Binning Auto with a Range (See TH1FAuto/TH2FAuto documentation for details on the two last options)

int TSDataBin::SetHistoTitleStyle ( int  s)

0: Axis variables are listed (x vs y) and Phase Space Volume description is added if any

1: Either Axis variables or Phase Space Volume description if any

Separator is ",". this as to be changed both in fUpdataHistoTitles() anf fBuildHistoTitle(...)


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