21 class TSPlot:
public TObject {
33 TObjArray fSWeightsHists;
46 Double_t *fNumbersOfEvents;
48 void SPlots(Double_t *covmat, Int_t i_excl);
52 TSPlot(Int_t nx, Int_t ny, Int_t ne, Int_t ns, TTree* tree);
55 void Browse(TBrowser *b);
56 Bool_t IsFolder()
const {
return kTRUE;}
58 void FillXvarHists(Int_t nbins = 100);
59 void FillYvarHists(Int_t nbins = 100);
60 void FillYpdfHists(Int_t nbins = 100);
61 void FillSWeightsHists(Int_t nbins = 50);
63 Int_t GetNevents() {
return fNevents;}
64 Int_t GetNspecies() {
return fNSpecies;}
66 TObjArray* GetSWeightsHists();
67 TH1D* GetSWeightsHist(Int_t ixvar, Int_t ispecies,Int_t iyexcl=-1);
68 TObjArray* GetXvarHists();
69 TH1D* GetXvarHist(Int_t ixvar);
70 TObjArray* GetYvarHists();
71 TH1D* GetYvarHist(Int_t iyvar);
72 TObjArray* GetYpdfHists();
73 TH1D* GetYpdfHist(Int_t iyvar, Int_t ispecies);
74 void GetSWeights(TMatrixD &weights);
75 void GetSWeights(Double_t *weights);
76 TString* GetTreeName(){
return fTreename;}
77 TString* GetTreeSelection() {
return fSelection;}
78 TString* GetTreeExpression() {
return fVarexp;}
79 void MakeSPlot(Option_t* option=
"v");
81 void RefillHist(Int_t type, Int_t var, Int_t nbins, Double_t min, Double_t max, Int_t nspecies=-1);
82 void SetNX(Int_t nx){fNx=nx;}
83 void SetNY(Int_t ny){fNy=ny;}
84 void SetNSpecies(Int_t ns){fNSpecies=ns;}
85 void SetNEvents(Int_t ne){fNevents=ne;}
86 void SetInitialNumbersOfSpecies(Int_t *numbers);
87 void SetTree(TTree *tree);
88 void SetTreeSelection(
const char* varexp=
"",
const char *selection=
"", Long64_t firstentry=0);