#include <NumberCountingPdfFactory.h>
Public Member Functions | |
| NumberCountingPdfFactory () | |
| virtual | ~NumberCountingPdfFactory () |
| void | AddModel (Double_t *sigExp, Int_t nchan, RooWorkspace *ws, const char *pdfName="CombinedPdf", const char *masterSignalName="masterSignal") |
| void | AddData (Double_t *mainMeas, Double_t *bkgMeas, Double_t *db, Int_t nbins, RooWorkspace *ws, const char *dsName="NumberCountingData") |
| void | AddExpData (Double_t *sigExp, Double_t *bkgExp, Double_t *db, Int_t nbins, RooWorkspace *ws, const char *dsName="ExpectedNumberCountingData") |
| void | AddExpDataWithSideband (Double_t *sigExp, Double_t *bkgExp, Double_t *tau, Int_t nbins, RooWorkspace *ws, const char *dsName="NumberCountingData") |
| void | AddDataWithSideband (Double_t *mainMeas, Double_t *sideband, Double_t *tau, Int_t nbins, RooWorkspace *ws, const char *dsName="ExpectedNumberCountingData") |
| NumberCountingPdfFactory () | |
| virtual | ~NumberCountingPdfFactory () |
| void | AddModel (Double_t *sigExp, Int_t nchan, RooWorkspace *ws, const char *pdfName="CombinedPdf", const char *masterSignalName="masterSignal") |
| void | AddData (Double_t *mainMeas, Double_t *bkgMeas, Double_t *db, Int_t nbins, RooWorkspace *ws, const char *dsName="NumberCountingData") |
| void | AddExpData (Double_t *sigExp, Double_t *bkgExp, Double_t *db, Int_t nbins, RooWorkspace *ws, const char *dsName="ExpectedNumberCountingData") |
| void | AddExpDataWithSideband (Double_t *sigExp, Double_t *bkgExp, Double_t *tau, Int_t nbins, RooWorkspace *ws, const char *dsName="NumberCountingData") |
| void | AddDataWithSideband (Double_t *mainMeas, Double_t *sideband, Double_t *tau, Int_t nbins, RooWorkspace *ws, const char *dsName="ExpectedNumberCountingData") |
Private Member Functions | |
| RooRealVar * | SafeObservableCreation (RooWorkspace *ws, const char *varName, Double_t value) |
| RooRealVar * | SafeObservableCreation (RooWorkspace *ws, const char *varName, Double_t value, Double_t maximum) |
| RooRealVar * | SafeObservableCreation (RooWorkspace *ws, const char *varName, Double_t value) |
| RooRealVar * | SafeObservableCreation (RooWorkspace *ws, const char *varName, Double_t value, Double_t maximum) |
Definition at line 24 of file NumberCountingPdfFactory.h.
| NumberCountingPdfFactory::NumberCountingPdfFactory | ( | ) |
Definition at line 71 of file NumberCountingPdfFactory.cxx.
| NumberCountingPdfFactory::~NumberCountingPdfFactory | ( | ) | [virtual] |
Definition at line 77 of file NumberCountingPdfFactory.cxx.
| RooStats::NumberCountingPdfFactory::NumberCountingPdfFactory | ( | ) |
| virtual RooStats::NumberCountingPdfFactory::~NumberCountingPdfFactory | ( | ) | [virtual] |
| void NumberCountingPdfFactory::AddModel | ( | Double_t * | sigExp, | |
| Int_t | nchan, | |||
| RooWorkspace * | ws, | |||
| const char * | pdfName = "CombinedPdf", |
|||
| const char * | masterSignalName = "masterSignal" | |||
| ) |
Definition at line 82 of file NumberCountingPdfFactory.cxx.
References TList::Add(), b, RooFit::DEBUG, RooFit::ERROR, i, RooWorkspace::import(), RooMsgService::instance(), kTRUE, s, RooAbsRealLValue::setConstant(), RooMsgService::setGlobalKillBelow(), str, x, and y.
| void NumberCountingPdfFactory::AddData | ( | Double_t * | mainMeas, | |
| Double_t * | bkgMeas, | |||
| Double_t * | db, | |||
| Int_t | nbins, | |||
| RooWorkspace * | ws, | |||
| const char * | dsName = "NumberCountingData" | |||
| ) |
Definition at line 223 of file NumberCountingPdfFactory.cxx.
References TList::Add(), TTree::Branch(), RooRealVar::clone(), data, RooFit::DEBUG, RooFit::ERROR, RooFit::FATAL, TTree::Fill(), TNamed::GetName(), RooRealVar::getVal(), i, RooWorkspace::import(), RooMsgService::instance(), RooFit::ObjectHandling, oocoutW, SafeObservableCreation(), RooMsgService::setGlobalKillBelow(), sqrt(), str, RooWorkspace::var(), x, and y.
Referenced by AddExpData().
| void NumberCountingPdfFactory::AddExpData | ( | Double_t * | sigExp, | |
| Double_t * | bkgExp, | |||
| Double_t * | db, | |||
| Int_t | nbins, | |||
| RooWorkspace * | ws, | |||
| const char * | dsName = "ExpectedNumberCountingData" | |||
| ) |
| void NumberCountingPdfFactory::AddExpDataWithSideband | ( | Double_t * | sigExp, | |
| Double_t * | bkgExp, | |||
| Double_t * | tau, | |||
| Int_t | nbins, | |||
| RooWorkspace * | ws, | |||
| const char * | dsName = "NumberCountingData" | |||
| ) |
Definition at line 177 of file NumberCountingPdfFactory.cxx.
References AddDataWithSideband(), and i.
| void NumberCountingPdfFactory::AddDataWithSideband | ( | Double_t * | mainMeas, | |
| Double_t * | sideband, | |||
| Double_t * | tau, | |||
| Int_t | nbins, | |||
| RooWorkspace * | ws, | |||
| const char * | dsName = "ExpectedNumberCountingData" | |||
| ) |
Definition at line 299 of file NumberCountingPdfFactory.cxx.
References TList::Add(), TTree::Branch(), RooRealVar::clone(), data, RooFit::DEBUG, RooFit::ERROR, RooFit::FATAL, TTree::Fill(), TNamed::GetName(), RooRealVar::getVal(), i, RooWorkspace::import(), RooMsgService::instance(), RooFit::ObjectHandling, oocoutW, SafeObservableCreation(), RooMsgService::setGlobalKillBelow(), sqrt(), str, RooWorkspace::var(), x, and y.
Referenced by AddExpDataWithSideband().
| RooRealVar * NumberCountingPdfFactory::SafeObservableCreation | ( | RooWorkspace * | ws, | |
| const char * | varName, | |||
| Double_t | value | |||
| ) | [private] |
Definition at line 197 of file NumberCountingPdfFactory.cxx.
Referenced by AddData(), and AddDataWithSideband().
| RooRealVar * NumberCountingPdfFactory::SafeObservableCreation | ( | RooWorkspace * | ws, | |
| const char * | varName, | |||
| Double_t | value, | |||
| Double_t | maximum | |||
| ) | [private] |
Definition at line 206 of file NumberCountingPdfFactory.cxx.
References max, RooWorkspace::var(), and x.
| void RooStats::NumberCountingPdfFactory::AddModel | ( | Double_t * | sigExp, | |
| Int_t | nchan, | |||
| RooWorkspace * | ws, | |||
| const char * | pdfName = "CombinedPdf", |
|||
| const char * | masterSignalName = "masterSignal" | |||
| ) |
| void RooStats::NumberCountingPdfFactory::AddData | ( | Double_t * | mainMeas, | |
| Double_t * | bkgMeas, | |||
| Double_t * | db, | |||
| Int_t | nbins, | |||
| RooWorkspace * | ws, | |||
| const char * | dsName = "NumberCountingData" | |||
| ) |
| void RooStats::NumberCountingPdfFactory::AddExpData | ( | Double_t * | sigExp, | |
| Double_t * | bkgExp, | |||
| Double_t * | db, | |||
| Int_t | nbins, | |||
| RooWorkspace * | ws, | |||
| const char * | dsName = "ExpectedNumberCountingData" | |||
| ) |
| void RooStats::NumberCountingPdfFactory::AddExpDataWithSideband | ( | Double_t * | sigExp, | |
| Double_t * | bkgExp, | |||
| Double_t * | tau, | |||
| Int_t | nbins, | |||
| RooWorkspace * | ws, | |||
| const char * | dsName = "NumberCountingData" | |||
| ) |
| void RooStats::NumberCountingPdfFactory::AddDataWithSideband | ( | Double_t * | mainMeas, | |
| Double_t * | sideband, | |||
| Double_t * | tau, | |||
| Int_t | nbins, | |||
| RooWorkspace * | ws, | |||
| const char * | dsName = "ExpectedNumberCountingData" | |||
| ) |
| RooRealVar* RooStats::NumberCountingPdfFactory::SafeObservableCreation | ( | RooWorkspace * | ws, | |
| const char * | varName, | |||
| Double_t | value | |||
| ) | [private] |
| RooRealVar* RooStats::NumberCountingPdfFactory::SafeObservableCreation | ( | RooWorkspace * | ws, | |
| const char * | varName, | |||
| Double_t | value, | |||
| Double_t | maximum | |||
| ) | [private] |
1.5.1