ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | List of all members
RooStats::NumberCountingPdfFactory Class Reference

Definition at line 24 of file NumberCountingPdfFactory.h.

Public Member Functions

 NumberCountingPdfFactory ()
 constructor More...
 
virtual ~NumberCountingPdfFactory ()
 destructor More...
 
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)
 need to be careful here that the range of observable in the dataset is consistent with the one in the workspace don't rescale unless necessary. More...
 
RooRealVarSafeObservableCreation (RooWorkspace *ws, const char *varName, Double_t value, Double_t maximum)
 need to be careful here that the range of observable in the dataset is consistent with the one in the workspace don't rescale unless necessary. More...
 

#include <RooStats/NumberCountingPdfFactory.h>

Constructor & Destructor Documentation

NumberCountingPdfFactory::NumberCountingPdfFactory ( )

constructor

Definition at line 75 of file NumberCountingPdfFactory.cxx.

NumberCountingPdfFactory::~NumberCountingPdfFactory ( )
virtual

destructor

Definition at line 81 of file NumberCountingPdfFactory.cxx.

Member Function Documentation

void NumberCountingPdfFactory::AddData ( Double_t mainMeas,
Double_t bkgMeas,
Double_t db,
Int_t  nbins,
RooWorkspace ws,
const char *  dsName = "NumberCountingData" 
)

Definition at line 228 of file NumberCountingPdfFactory.cxx.

void NumberCountingPdfFactory::AddDataWithSideband ( Double_t mainMeas,
Double_t sideband,
Double_t tau,
Int_t  nbins,
RooWorkspace ws,
const char *  dsName = "ExpectedNumberCountingData" 
)

Definition at line 308 of file NumberCountingPdfFactory.cxx.

void NumberCountingPdfFactory::AddExpData ( Double_t sigExp,
Double_t bkgExp,
Double_t db,
Int_t  nbins,
RooWorkspace ws,
const char *  dsName = "ExpectedNumberCountingData" 
)

Definition at line 163 of file NumberCountingPdfFactory.cxx.

void NumberCountingPdfFactory::AddExpDataWithSideband ( Double_t sigExp,
Double_t bkgExp,
Double_t tau,
Int_t  nbins,
RooWorkspace ws,
const char *  dsName = "NumberCountingData" 
)

Definition at line 182 of file NumberCountingPdfFactory.cxx.

void NumberCountingPdfFactory::AddModel ( Double_t sigExp,
Int_t  nchan,
RooWorkspace ws,
const char *  pdfName = "CombinedPdf",
const char *  masterSignalName = "masterSignal" 
)

Definition at line 86 of file NumberCountingPdfFactory.cxx.

RooRealVar * NumberCountingPdfFactory::SafeObservableCreation ( RooWorkspace ws,
const char *  varName,
Double_t  value 
)
private

need to be careful here that the range of observable in the dataset is consistent with the one in the workspace don't rescale unless necessary.

If it is necessary, then rescale by x10 or a defined maximum.

Definition at line 204 of file NumberCountingPdfFactory.cxx.

RooRealVar * NumberCountingPdfFactory::SafeObservableCreation ( RooWorkspace ws,
const char *  varName,
Double_t  value,
Double_t  maximum 
)
private

need to be careful here that the range of observable in the dataset is consistent with the one in the workspace don't rescale unless necessary.

If it is necessary, then rescale by x10 or a defined maximum.

Definition at line 213 of file NumberCountingPdfFactory.cxx.


The documentation for this class was generated from the following files: