RooStats::NumberCountingPdfFactory Class Reference

#include <NumberCountingPdfFactory.h>

List of all members.

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

RooRealVarSafeObservableCreation (RooWorkspace *ws, const char *varName, Double_t value)
RooRealVarSafeObservableCreation (RooWorkspace *ws, const char *varName, Double_t value, Double_t maximum)
RooRealVarSafeObservableCreation (RooWorkspace *ws, const char *varName, Double_t value)
RooRealVarSafeObservableCreation (RooWorkspace *ws, const char *varName, Double_t value, Double_t maximum)


Detailed Description

Definition at line 24 of file NumberCountingPdfFactory.h.


Constructor & Destructor Documentation

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]


Member Function Documentation

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" 
)

Definition at line 157 of file NumberCountingPdfFactory.cxx.

References AddData(), and i.

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]


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:57:06 2011 for ROOT_528-00b_version by  doxygen 1.5.1