#include <SPlot.h>
Inheritance diagram for RooStats::SPlot:

Public Member Functions | |
| ~SPlot () | |
| SPlot () | |
| SPlot (const SPlot &other) | |
| SPlot (const char *name, const char *title) | |
| SPlot (const char *name, const char *title, const RooDataSet &data) | |
| SPlot (const char *name, const char *title, RooDataSet &data, RooAbsPdf *pdf, const RooArgList &yieldsList, const RooArgSet &projDeps=RooArgSet(), bool includeWeights=kTRUE, bool copyDataSet=kFALSE, const char *newName="") | |
| RooDataSet * | SetSData (RooDataSet *data) |
| RooDataSet * | GetSDataSet () const |
| RooArgList | GetSWeightVars () const |
| Int_t | GetNumSWeightVars () const |
| void | AddSWeight (RooAbsPdf *pdf, const RooArgList &yieldsTmp, const RooArgSet &projDeps=RooArgSet(), bool includeWeights=kTRUE) |
| Double_t | GetSumOfEventSWeight (Int_t numEvent) const |
| Double_t | GetYieldFromSWeight (const char *sVariable) const |
| Double_t | GetSWeight (Int_t numEvent, const char *sVariable) const |
| ~SPlot () | |
| SPlot () | |
| SPlot (const SPlot &other) | |
| SPlot (const char *name, const char *title) | |
| SPlot (const char *name, const char *title, const RooDataSet &data) | |
| SPlot (const char *name, const char *title, RooDataSet &data, RooAbsPdf *pdf, const RooArgList &yieldsList, const RooArgSet &projDeps=RooArgSet(), bool includeWeights=kTRUE, bool copyDataSet=kFALSE, const char *newName="") | |
| RooDataSet * | SetSData (RooDataSet *data) |
| RooDataSet * | GetSDataSet () const |
| RooArgList | GetSWeightVars () const |
| Int_t | GetNumSWeightVars () const |
| void | AddSWeight (RooAbsPdf *pdf, const RooArgList &yieldsTmp, const RooArgSet &projDeps=RooArgSet(), bool includeWeights=kTRUE) |
| Double_t | GetSumOfEventSWeight (Int_t numEvent) const |
| Double_t | GetYieldFromSWeight (const char *sVariable) const |
| Double_t | GetSWeight (Int_t numEvent, const char *sVariable) const |
Protected Attributes | |
| RooArgList | fSWeightVars |
| RooDataSet * | fSData |
| RooDataSet * | fSData |
Definition at line 34 of file SPlot.h.
| SPlot::SPlot | ( | ) |
| SPlot::SPlot | ( | const SPlot & | other | ) |
Definition at line 122 of file SPlot.cxx.
References RooAbsCollection::addClone(), fSData, fSWeightVars, GetSDataSet(), and GetSWeightVars().
| SPlot::SPlot | ( | const char * | name, | |
| const char * | title | |||
| ) |
| SPlot::SPlot | ( | const char * | name, | |
| const char * | title, | |||
| const RooDataSet & | data | |||
| ) |
| SPlot::SPlot | ( | const char * | name, | |
| const char * | title, | |||
| RooDataSet & | data, | |||
| RooAbsPdf * | pdf, | |||
| const RooArgList & | yieldsList, | |||
| const RooArgSet & | projDeps = RooArgSet(), |
|||
| bool | includeWeights = kTRUE, |
|||
| bool | copyDataSet = kFALSE, |
|||
| const char * | newName = "" | |||
| ) |
Definition at line 137 of file SPlot.cxx.
References AddSWeight(), coutE, RooAbsCollection::createIterator(), data, Form(), fSData, TNamed::GetName(), RooFit::InputArguments, and TIterator::Next().
| RooStats::SPlot::~SPlot | ( | ) |
| RooStats::SPlot::SPlot | ( | ) |
| RooStats::SPlot::SPlot | ( | const SPlot & | other | ) |
| RooStats::SPlot::SPlot | ( | const char * | name, | |
| const char * | title | |||
| ) |
| RooStats::SPlot::SPlot | ( | const char * | name, | |
| const char * | title, | |||
| const RooDataSet & | data | |||
| ) |
| RooStats::SPlot::SPlot | ( | const char * | name, | |
| const char * | title, | |||
| RooDataSet & | data, | |||
| RooAbsPdf * | pdf, | |||
| const RooArgList & | yieldsList, | |||
| const RooArgSet & | projDeps = RooArgSet(), |
|||
| bool | includeWeights = kTRUE, |
|||
| bool | copyDataSet = kFALSE, |
|||
| const char * | newName = "" | |||
| ) |
| RooDataSet * SPlot::SetSData | ( | RooDataSet * | data | ) |
| RooDataSet * SPlot::GetSDataSet | ( | ) | const |
| RooArgList SPlot::GetSWeightVars | ( | ) | const |
| Int_t SPlot::GetNumSWeightVars | ( | ) | const |
Definition at line 320 of file SPlot.cxx.
References fSWeightVars, and RooAbsCollection::getSize().
Referenced by GetSumOfEventSWeight().
| void SPlot::AddSWeight | ( | RooAbsPdf * | pdf, | |
| const RooArgList & | yieldsTmp, | |||
| const RooArgSet & | projDeps = RooArgSet(), |
|||
| bool | includeWeights = kTRUE | |||
| ) |
Definition at line 333 of file SPlot.cxx.
References RooArgSet::add(), RooAbsCollection::add(), RooDataSet::add(), RooArgList::at(), RooAbsArg::attachDataSet(), TObject::Clear(), RooFit::Contents, coutE, coutI, coutW, RooFit::DEBUG, TMatrixT< Element >::Determinant(), RooFit::Eval, RooFit::Extended(), ROOT::Math::fabs(), RooAbsCollection::find(), RooAbsPdf::fitTo(), fSData, fSWeightVars, RooDataSet::get(), TNamed::GetName(), RooAbsArg::getParameters(), RooAbsCollection::getSize(), RooAbsPdf::getVal(), RooAbsArg::getVariables(), RooMsgService::globalKillBelow(), i, RooFit::InputArguments, RooMsgService::instance(), j, k, kFALSE, TMatrixT< Element >::kInverted, kTRUE, m, RooDataSet::merge(), n, norm(), RooAbsData::numEntries(), RooAbsCollection::Print(), TMatrixTBase< Element >::Print(), RooFit::PrintEvalErrors(), RooFit::PrintLevel(), RooAbsCollection::remove(), RooStats::SetParameters(), RooAbsCollection::snapshot(), RooFit::SumW2Error(), and RooDataSet::weight().
Referenced by SPlot().
Definition at line 230 of file SPlot.cxx.
References RooArgList::at(), coutE, fSData, fSWeightVars, RooDataSet::get(), TNamed::GetName(), GetNumSWeightVars(), i, RooFit::InputArguments, and RooAbsData::numEntries().
Referenced by DoSPlot().
| Double_t SPlot::GetYieldFromSWeight | ( | const char * | sVariable | ) | const |
Definition at line 264 of file SPlot.cxx.
References coutE, RooAbsCollection::find(), fSData, fSWeightVars, RooDataSet::get(), i, RooFit::InputArguments, and RooAbsData::numEntries().
Referenced by DoSPlot().
Definition at line 184 of file SPlot.cxx.
References coutE, RooAbsCollection::find(), fSData, fSWeightVars, RooDataSet::get(), RooFit::InputArguments, and RooAbsData::numEntries().
Referenced by DoSPlot().
| RooDataSet* RooStats::SPlot::SetSData | ( | RooDataSet * | data | ) |
| RooDataSet* RooStats::SPlot::GetSDataSet | ( | ) | const |
| RooArgList RooStats::SPlot::GetSWeightVars | ( | ) | const |
| Int_t RooStats::SPlot::GetNumSWeightVars | ( | ) | const |
| void RooStats::SPlot::AddSWeight | ( | RooAbsPdf * | pdf, | |
| const RooArgList & | yieldsTmp, | |||
| const RooArgSet & | projDeps = RooArgSet(), |
|||
| bool | includeWeights = kTRUE | |||
| ) |
| Double_t RooStats::SPlot::GetYieldFromSWeight | ( | const char * | sVariable | ) | const |
RooArgList RooStats::SPlot::fSWeightVars [protected] |
Definition at line 67 of file SPlot.h.
Referenced by AddSWeight(), GetNumSWeightVars(), GetSumOfEventSWeight(), GetSWeight(), GetSWeightVars(), GetYieldFromSWeight(), and SPlot().
RooDataSet* RooStats::SPlot::fSData [protected] |
Definition at line 71 of file SPlot.h.
Referenced by AddSWeight(), GetSDataSet(), GetSumOfEventSWeight(), GetSWeight(), GetYieldFromSWeight(), SetSData(), SPlot(), and ~SPlot().
RooDataSet* RooStats::SPlot::fSData [protected] |
1.5.1