#define ClassDef(name, id)
Using a TBrowser one can browse all ROOT objects.
1-D histogram with a double per channel (see TH1 documentation)}
Mother of all ROOT objects.
A common method used in High Energy Physics to perform measurements is the maximum Likelihood method,...
void FillYvarHists(Int_t nbins=100)
Fill the histograms of y variables.
void RefillHist(Int_t type, Int_t var, Int_t nbins, Double_t min, Double_t max, Int_t nspecies=-1)
The Fill...Hist() methods fill the histograms with the real limits on the variables This method allow...
TString * GetTreeSelection()
void Browse(TBrowser *b)
To browse the histograms.
void SPlots(Double_t *covmat, Int_t i_excl)
Computes the sWeights from the covariance matrix.
void SetNSpecies(Int_t ns)
void SetNEvents(Int_t ne)
void GetSWeights(TMatrixD &weights)
Returns the matrix of sweights.
virtual ~TSPlot()
Destructor.
void FillSWeightsHists(Int_t nbins=50)
The order of histograms in the array:
TH1D * GetSWeightsHist(Int_t ixvar, Int_t ispecies, Int_t iyexcl=-1)
Returns the histogram of a variable, weighted with sWeights.
void MakeSPlot(Option_t *option="v")
Calculates the sWeights.
TH1D * GetYpdfHist(Int_t iyvar, Int_t ispecies)
Returns the histogram of the pdf of variable iyvar for species #ispecies, binning nbins.
TObjArray * GetSWeightsHists()
Returns an array of all histograms of variables, weighted with sWeights.
TObjArray * GetYpdfHists()
Returns the array of histograms of pdf's of y variables with binning nbins.
void FillXvarHists(Int_t nbins=100)
Fills the histograms of x variables (not weighted) with nbins.
TObjArray * GetXvarHists()
Returns the array of histograms of x variables (not weighted).
Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
void SetTree(TTree *tree)
Set the input Tree.
TObjArray * GetYvarHists()
Returns the array of histograms of y variables.
TString * GetTreeExpression()
void FillYpdfHists(Int_t nbins=100)
Fills the histograms of pdf-s of y variables with binning nbins.
void SetTreeSelection(const char *varexp="", const char *selection="", Long64_t firstentry=0)
Specifies the variables from the tree to be used for splot.
TSPlot()
default constructor (used by I/O only)
TH1D * GetYvarHist(Int_t iyvar)
Returns the histogram of variable iyvar.If histograms have not already been filled,...
void SetInitialNumbersOfSpecies(Int_t *numbers)
Set the initial number of events of each species - used as initial estimates in minuit.
Double_t * fNumbersOfEvents
TH1D * GetXvarHist(Int_t ixvar)
Returns the histogram of variable ixvar.
A TTree represents a columnar dataset.
static constexpr double ns