#include "RooAbsPdf.h"
#include "RooCategory.h"
#include "RooDataSet.h"
#include "RooWorkspace.h"
#include <ROOT/RConfig.hxx>
Classes | |
class | RooStats::HLFactory |
HLFactory is an High Level model Factory allows you to describe your models in a configuration file (datacards) acting as an interface with the RooFactoryWSTool. More... | |
Namespaces | |
namespace | RooStats |
Namespace for the RooStats classes. | |
Functions | |
~HLFactory () override | |
Default Destructor. | |
int | AddChannel (const char *label, const char *SigBkgPdfName, const char *BkgPdfName=nullptr, const char *datasetName=nullptr) |
Add channel for the combination. | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
void | DumpCfg (const char *) |
Dump the Workspace content as configuration file. | |
void | fCreateCategory () |
Create the category for the combinations. | |
bool | fNamesListsConsistent () |
Check the length of the lists. | |
int | fParseLine (TString &line) |
Parse a single line an puts the content in the RooWorkSpace. | |
int | fReadFile (const char *fileName, bool is_included=false) |
Read the actual cfg file. | |
RooAbsPdf * | GetTotBkgPdf () |
Get the combined background pdf. | |
RooCategory * | GetTotCategory () |
Get the combined dataset. | |
RooDataSet * | GetTotDataSet () |
Get the combined dataset. | |
RooAbsPdf * | GetTotSigBkgPdf () |
Get the combined signal plus background pdf. | |
RooWorkspace * | GetWs () |
Get the RooWorkspace containing the models and variables. | |
HLFactory () | |
Default Constructor. | |
HLFactory (const char *name, const char *fileName=nullptr, bool isVerbose=false) | |
Constructor. | |
HLFactory (const char *name, RooWorkspace *externalWs, bool isVerbose=false) | |
Constructor with external RooWorkspace. | |
TClass * | IsA () const override |
int | ProcessCard (const char *filename) |
Process a configuration file. | |
RooStats::HLFactory TNamed | RooStats::R__DEPRECATED (6, 38, "Outdated higher-level interface around RooWorkspace. Use RooWorkspace directly.") |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Variables | |
TList | fBkgPdfNames |
List of channels names to combine for the background pdfs. | |
bool | fCombinationDone = false |
Flag to keep trace of the status of the combination. | |
RooAbsPdf * | fComboBkgPdf = nullptr |
The background model combination. | |
RooCategory * | fComboCat = nullptr |
The category of the combination. | |
RooDataSet * | fComboDataset = nullptr |
The datasets combination. | |
RooAbsPdf * | fComboSigBkgPdf = nullptr |
The signal plus background model combination. | |
TList | fDatasetsNames |
List of channels names to combine for the datasets. | |
int | fInclusionLevel = 0 |
Keep trace of the inclusion deepness. | |
TList | fLabelsNames |
List of channels names to combine for the datasets. | |
bool | fOwnWs = false |
Owns workspace. | |
TList | fSigBkgPdfNames |
List of channels names to combine for the signal plus background pdfs. | |
bool | fVerbose = false |
The verbosity flag. | |
RooWorkspace * | fWs = nullptr |
The RooWorkspace containing the models and variables. | |
|
override |
Default Destructor.
int R__DEPRECATED::AddChannel | ( | const char * | label, |
const char * | SigBkgPdfName, | ||
const char * | BkgPdfName = nullptr, | ||
const char * | datasetName = nullptr ) |
Add channel for the combination.
Definition at line 75 of file HLFactory.h.
Definition at line 75 of file HLFactory.h.
void R__DEPRECATED::DumpCfg | ( | const char * | ) |
Dump the Workspace content as configuration file.
Definition at line 27 of file HLFactory.h.
|
private |
Create the category for the combinations.
|
private |
Check the length of the lists.
Parse a single line an puts the content in the RooWorkSpace.
Read the actual cfg file.
RooAbsPdf * R__DEPRECATED::GetTotBkgPdf | ( | ) |
Get the combined background pdf.
RooCategory * R__DEPRECATED::GetTotCategory | ( | ) |
Get the combined dataset.
RooDataSet * R__DEPRECATED::GetTotDataSet | ( | ) |
Get the combined dataset.
RooAbsPdf * R__DEPRECATED::GetTotSigBkgPdf | ( | ) |
Get the combined signal plus background pdf.
RooWorkspace * R__DEPRECATED::GetWs | ( | ) |
Get the RooWorkspace containing the models and variables.
Definition at line 42 of file HLFactory.h.
R__DEPRECATED::HLFactory | ( | ) |
Default Constructor.
R__DEPRECATED::HLFactory | ( | const char * | name, |
const char * | fileName = nullptr, | ||
bool | isVerbose = false ) |
Constructor.
R__DEPRECATED::HLFactory | ( | const char * | name, |
RooWorkspace * | externalWs, | ||
bool | isVerbose = false ) |
Constructor with external RooWorkspace.
|
override |
Definition at line 75 of file HLFactory.h.
|
override |
void R__DEPRECATED::StreamerNVirtual | ( | TBuffer & | ClassDef_StreamerNVirtual_b | ) |
Definition at line 75 of file HLFactory.h.
|
private |
List of channels names to combine for the background pdfs.
Definition at line 67 of file HLFactory.h.
Flag to keep trace of the status of the combination.
Definition at line 65 of file HLFactory.h.
|
private |
The background model combination.
Definition at line 62 of file HLFactory.h.
|
private |
The category of the combination.
Definition at line 61 of file HLFactory.h.
|
private |
The datasets combination.
Definition at line 64 of file HLFactory.h.
|
private |
The signal plus background model combination.
Definition at line 63 of file HLFactory.h.
|
private |
List of channels names to combine for the datasets.
Definition at line 68 of file HLFactory.h.
|
private |
Keep trace of the inclusion deepness.
Definition at line 71 of file HLFactory.h.
|
private |
List of channels names to combine for the datasets.
Definition at line 69 of file HLFactory.h.
Owns workspace.
Definition at line 73 of file HLFactory.h.
|
private |
List of channels names to combine for the signal plus background pdfs.
Definition at line 66 of file HLFactory.h.
The verbosity flag.
Definition at line 70 of file HLFactory.h.
|
private |
The RooWorkspace containing the models and variables.
Definition at line 72 of file HLFactory.h.