12 #ifndef RooStats_SPlot
13 #define RooStats_SPlot
22 #ifndef ROO_MSG_SERVICE
69 bool includeWeights=
kTRUE,
bool copyDataSet =
kFALSE,
const char* newName =
"");
Int_t GetNumSWeightVars() const
Return the number of SWeights In other words, return the number of species that we are trying to extr...
Double_t GetSumOfEventSWeight(Int_t numEvent) const
Double_t GetYieldFromSWeight(const char *sVariable) const
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
void AddSWeight(RooAbsPdf *pdf, const RooArgList &yieldsTmp, const RooArgSet &projDeps=RooArgSet(), bool includeWeights=kTRUE)
RooRealVar represents a fundamental (non-derived) real valued object.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
RooDataSet is a container class to hold unbinned data.
Double_t GetSWeight(Int_t numEvent, const char *sVariable) const
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooDataSet * GetSDataSet() const
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
RooDataSet * SetSData(RooDataSet *data)
SPlot()
Default constructor.
RooArgList GetSWeightVars() const
RooSimultaneous facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset...
This class calculates sWeights used to create an sPlot.