16 #ifndef RooStats_HLFactory 17 #define RooStats_HLFactory 47 const char *fileName=0,
48 bool isVerbose =
false);
53 bool isVerbose =
false);
63 const char* SigBkgPdfName,
64 const char* BkgPdfName=0,
65 const char* datasetName=0);
137 int fReadFile(
const char*fileName,
bool is_included =
false);
void DumpCfg(const char *)
Dump the Workspace content as configuration file.
RooCategory * fComboCat
The category of the combination.
int AddChannel(const char *label, const char *SigBkgPdfName, const char *BkgPdfName=0, const char *datasetName=0)
Add channel for the combination.
bool fOwnWs
Owns workspace.
RooDataSet * GetTotDataSet()
Get the combined dataset.
RooWorkspace * fWs
The RooWorkspace containing the models and variables.
TList fBkgPdfNames
List of channels names to combine for the background pdfs.
void fCreateCategory()
Create the category for the combinations.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
HLFactory is an High Level model Factory allows you to describe your models in a configuration file (...
RooDataSet * fComboDataset
The datasets combination.
HLFactory()
Default Constructor.
RooAbsPdf * GetTotBkgPdf()
Get the combined background pdf.
RooAbsPdf * fComboBkgPdf
The background model combination.
TList fDatasetsNames
List of channels names to combine for the datasets.
RooAbsPdf * fComboSigBkgPdf
The signal plus background model combination.
RooDataSet is a container class to hold unbinned data.
int fInclusionLevel
Keep trace of the inclusion deepness.
RooCategory represents a fundamental (non-derived) discrete value object.
bool fNamesListsConsistent()
Check the length of the lists.
~HLFactory()
Default Destructor.
bool fVerbose
The verbosity flag.
int ProcessCard(const char *filename)
Process a configuration file.
Namespace for the RooStats classes.
RooCategory * GetTotCategory()
Get the combined dataset.
bool fCombinationDone
Flag to keep trace of the status of the combination.
TList fSigBkgPdfNames
List of channels names to combine for the signal plus background pdfs.
TList fLabelsNames
List of channels names to combine for the datasets.
RooWorkspace * GetWs()
Get the RooWorkspace containing the models and variables.
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
int fParseLine(TString &line)
Parse a single line an puts the content in the RooWorkSpace.
RooAbsPdf * GetTotSigBkgPdf()
Get the combined signal plus background pdf.
The RooWorkspace is a persistable container for RooFit projects.
int fReadFile(const char *fileName, bool is_included=false)
Read the actual cfg file.