#ifndef RooStats_NumberCountingPdfFactory
#define RooStats_NumberCountingPdfFactory
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
class RooWorkspace;
class RooRealVar;
namespace RooStats{
class NumberCountingPdfFactory {
public:
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:
RooRealVar* SafeObservableCreation(RooWorkspace* ws, const char* varName, Double_t value) ;
RooRealVar* SafeObservableCreation(RooWorkspace* ws, const char* varName, Double_t value, Double_t maximum) ;
protected:
ClassDef(NumberCountingPdfFactory,1)
};
}
#endif
Last change: Fri Nov 21 08:37:07 2008
Last generated: 2008-11-21 08:37
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.