12 #ifndef RooStats_NumberCountingPdfFactory
13 #define RooStats_NumberCountingPdfFactory
32 const char* pdfName =
"CombinedPdf",
const char* masterSignalName =
"masterSignal") ;
37 Int_t nbins,
RooWorkspace* ws,
const char* dsName =
"ExpectedNumberCountingData");
41 Int_t nbins,
RooWorkspace* ws,
const char* dsName =
"ExpectedNumberCountingData");
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")
#define ClassDef(name, id)
RooRealVar represents a fundamental (non-derived) real valued object.
NumberCountingPdfFactory()
constructor
virtual ~NumberCountingPdfFactory()
destructor
void AddDataWithSideband(Double_t *mainMeas, Double_t *sideband, Double_t *tau, Int_t nbins, RooWorkspace *ws, const char *dsName="ExpectedNumberCountingData")
void AddData(Double_t *mainMeas, Double_t *bkgMeas, Double_t *db, Int_t nbins, RooWorkspace *ws, const char *dsName="NumberCountingData")
RooRealVar * SafeObservableCreation(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...
void AddModel(Double_t *sigExp, Int_t nchan, RooWorkspace *ws, const char *pdfName="CombinedPdf", const char *masterSignalName="masterSignal")
The RooWorkspace is a persistable container for RooFit projects.