67   return Import(key.c_str(), *val);
 
   73   return Link(key.c_str(), *val);
 
   78   return Slice(*key, val.c_str());
 
   81template <
class Key_t, 
class Val_t, 
class Func_t>
 
   85   for (
auto const &
item : map) {
 
   92template <
class Key_t, 
class Val_t, 
class Func_t>
 
   96   for (std::size_t i = 0; i < map.keys.size(); ++i) {
 
   97      container.addArg(func(map.keys[i], map.vals[i]));
 
  110   using Map = std::unordered_map<std::string, Style_t>;
 
  115      return found->second;
 
  122namespace Experimental {
 
  146   return RooCmdArg(
"DrawOption", 0, 0, 0, 0, opt, 
nullptr, 
nullptr, 
nullptr);
 
 
  161   std::string 
lbl{label};
 
  162   if (
lbl.find(
',') != std::string::npos) {
 
  164      errorMsg << 
"RooFit::Slice(): you tried to pass a comma-separated list of state labels \"" << label
 
  165               << 
"\" for a given category, but selecting multiple slices like this is not supported!" 
  166               << 
" If you want to make a plot of multiple slices, use the ProjWData() command where you pass a " 
  167                  "dataset that includes " 
  168                  "the desired slices. If the slices are a subset of all slices, then you can create such a dataset " 
  169                  "with RooAbsData::reduce(RooFit::Cut(\"cat==cat::label_1 || cat==cat::label_2 || ...\")). You can " 
  170                  "find some examples in the rf501_simultaneouspdf tutorial.";
 
  172      throw std::invalid_argument(
errorMsg.str().c_str());
 
  174   return RooCmdArg(
"SliceCat", 0, 0, 0, 0, label, 
nullptr, &cat, 
nullptr);
 
 
  184   out.setSet(0, projSet);
 
 
  189   RooCmdArg out{
"ProjData", 
binData, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, &projData};
 
  190   out.setSet(0, projSet);
 
 
  195   return RooCmdArg(
"ProjData", 
binData, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, &projData);
 
 
  199   return RooCmdArg(
"Asymmetry", 0, 0, 0, 0, 
nullptr, 
nullptr, &cat, 
nullptr);
 
 
  203   return RooCmdArg(
"Precision", 0, 0, 
prec, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  227   return RooCmdArg(
"VLines", 1, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  259   return RooCmdArg(
"ProjectionRange", 0, 0, 0, 0, 
rangeName, 
nullptr, 
nullptr, 
nullptr);
 
 
  263   return RooCmdArg(
"Name", 0, 0, 0, 0, 
name, 
nullptr, 
nullptr, 
nullptr);
 
 
  267   return RooCmdArg(
"Invisible", 
inv, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  275   return RooCmdArg(
"EvalErrorValue", 1, 0, val, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  279   return RooCmdArg(
"MoveToBack", 1, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  287   return RooCmdArg(
"VisualizeError", 
EVmethod, 0, Z, 0, 
nullptr, 
nullptr, &
fitres, 
nullptr, 
nullptr, 
nullptr, ¶m);
 
 
  291   return RooCmdArg(
"VisualizeErrorData", 0, 0, Z, 0, 
nullptr, 
nullptr, &
paramData, 
nullptr);
 
 
  295   return RooCmdArg(
"ShowProgress", 1, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  301   return RooCmdArg(
"SelectCompSpec", 0, 0, 0, 0, 
compSpec, 
nullptr, 
nullptr, 
nullptr);
 
 
  305   return RooCmdArg(
"Normalization", 
scaleType, 0, scaleFactor, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  311   return RooCmdArg(
"CutSpec", 0, 0, 0, 0, 
cutSpec, 
nullptr, 
nullptr, 
nullptr);
 
 
  315   return RooCmdArg(
"CutVar", 0, 0, 0, 0, 
nullptr, 
nullptr, &
cutVar, 
nullptr);
 
 
  319   return RooCmdArg(
"Binning", 0, 0, 0, 0, 
nullptr, 
nullptr, &binning, 
nullptr);
 
 
  323   return RooCmdArg(
"BinningName", 0, 0, 0, 0, binningName, 
nullptr, 
nullptr, 
nullptr);
 
 
  327   return RooCmdArg(
"BinningSpec", nBins, 0, xlo, xhi, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  331   return RooCmdArg(
"MarkerStyle", 
style, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  339   return RooCmdArg(
"MarkerSize", 0, 0, 
size, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  351   return RooCmdArg(
"XErrorSize", 0, 0, 
width, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  355   return RooCmdArg(
"RefreshNorm", 1, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  359   return RooCmdArg(
"Efficiency", 0, 0, 0, 0, 
nullptr, 
nullptr, &cat, 
nullptr);
 
 
  363   return RooCmdArg(
"Rescale", 0, 0, factor, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  369   return RooCmdArg(
"Weight", 0, 0, 
wgt, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  373   return RooCmdArg(
"IndexCat", 0, 0, 0, 0, 
nullptr, 
nullptr, &
icat, 
nullptr);
 
 
  377   return RooCmdArg(
"ImportDataSlice", 0, 0, 0, 0, state, 
nullptr, &histo, 
nullptr);
 
 
  381   return RooCmdArg(
"ImportDataSlice", 0, 0, 0, 0, state, 
nullptr, &
dhist, 
nullptr);
 
 
  410   return RooCmdArg(
"LinkDataSlice", 0, 0, 0, 0, state, 
nullptr, &
data, 
nullptr);
 
 
  414   return RooCmdArg(
"ImportDataSlice", 0, 0, 0, 0, state, 
nullptr, &
data, 
nullptr);
 
 
  418   return RooCmdArg(
"ImportData", 0, 0, 0, 0, 
nullptr, 
nullptr, &
data, 
nullptr);
 
 
  422   return RooCmdArg(
"ImportTree", 0, 0, 0, 0, 
nullptr, 
nullptr, 
reinterpret_cast<TObject *
>(&tree), 
nullptr);
 
 
  430   return RooCmdArg(
"StoreError", 0, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, &
aset);
 
 
  434   return RooCmdArg(
"StoreAsymError", 0, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, &
aset);
 
 
  438   return RooCmdArg(
"OwnLinked", 1, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  453   return RooCmdArg(
"Extended", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  465   return RooCmdArg(
"NumCPU", 
nCPU, interleave, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  469   return RooCmdArg(
"ModularL", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr);
 
 
  473   return RooCmdArg(
"Parallelize", 
nWorkers, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  477   return RooCmdArg(
"TimingAnalysis", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr);
 
 
  482      << 
"The BatchMode() command argument is deprecated. Please use EvalBackend() instead." << std::endl;
 
  485   if (
lower == 
"off") {
 
  487   } 
else if (
lower == 
"cpu") {
 
  489   } 
else if (
lower == 
"cuda") {
 
  492   throw std::runtime_error(
"Only supported string values for BatchMode() are \"off\", \"cpu\", or \"cuda\".");
 
 
  498   return RooCmdArg(
"IntegrateBins", 0, 0, precision);
 
 
  504   return RooCmdArg(
"Columns", 
ncol, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  508   return RooCmdArg(
"OutputFile", 0, 0, 0, 0, fileName, 
nullptr, 
nullptr, 
nullptr);
 
 
  512   return RooCmdArg(
"Sibling", 0, 0, 0, 0, 
nullptr, 
nullptr, &
sibling, 
nullptr);
 
 
  527   ret.setProcessRecArgs(
false);
 
 
  534   return RooCmdArg(
"Title", 0, 0, 0, 0, 
name, 
nullptr, 
nullptr, 
nullptr);
 
 
  538   return RooCmdArg(
"Bins", 
nbin, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  566   if (
value == Value::Codegen || 
value == Value::CodegenNoGrad) {
 
  568         << 
"RooFit was built without clad. Codegen backends are unavailable. Falling back to default.\n";
 
  569      setInt(0, 
static_cast<int>(defaultValue()));
 
  588   throw std::runtime_error(
"Only supported string values for EvalBackend() are \"legacy\", \"cpu\", \"cuda\", " 
  589                            "\"codegen\", or \"codegen_no_grad\".");
 
 
  626      return "codegen_no_grad";
 
 
  691   return RooCmdArg(
"SplitRange", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  702         errorMsg << 
"RooFit::Constrain(): you passed the argument \"" << param->GetName()
 
  703                  << 
"\", but it's not a RooRealVar!" 
  704                  << 
" You can only constrain parameters, which must be RooRealVars.";
 
  706         throw std::invalid_argument(
errorMsg.str().c_str());
 
  709   return RooCmdArg(
"Constrain", 0, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, ¶ms);
 
 
  713   return {
"GlobalObservablesSource", 0, 0, 0, 0, 
sourceName, 
nullptr, 
nullptr, 
nullptr};
 
 
  717   return RooCmdArg(
"GlobalObservablesTag", 0, 0, 0, 0, tagName, 
nullptr, 
nullptr, 
nullptr);
 
 
  721   return RooCmdArg(
"ExternalConstraints", 0, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, &
cpdfs);
 
 
  725   return RooCmdArg(
"PrintEvalErrors", 
numErrors, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  729   return RooCmdArg(
"EvalErrorWall", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  733   return RooCmdArg(
"SumW2Error", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  737   return RooCmdArg(
"AsymptoticError", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  742                                    << 
") option passed to createNLL() is ignored." << std::endl;
 
  743   return RooCmdArg(
"CloneData", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  747   return RooCmdArg(
"Integrate", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  759   if (
lower == 
"none") {
 
  761   } 
else if (
lower == 
"initial") {
 
  763   } 
else if (
lower == 
"bin") {
 
 
  773   return RooCmdArg(
"RecoverFromUndefinedRegions", 0, 0, 
strength, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  779   return RooCmdArg(
"Label", 0, 0, 0, 0, str, 
nullptr, 
nullptr, 
nullptr);
 
 
  788   out.setSet(0, params);
 
 
  793   return RooCmdArg(
"ShowConstants", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  799   return RooCmdArg(
"What", 0, 0, 0, 0, str, 
nullptr, 
nullptr, 
nullptr);
 
 
  805   return RooCmdArg(
"Conditional", 
depsAreCond, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, &
pdfSet,
 
 
  816   return RooCmdArg(
"NumEvents", 
numEvents, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  820   return RooCmdArg(
"NumEventsD", 0, 0, 
numEvents, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  824   return RooCmdArg(
"ExpectedData", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  832   return RooCmdArg(
"AutoBinned", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  836   return RooCmdArg(
"GenBinned", 0, 0, 0, 0, tag, 
nullptr, 
nullptr, 
nullptr);
 
 
  840   return RooCmdArg(
"GenBinned", 0, 0, 0, 0, 
"*", 
nullptr, 
nullptr, 
nullptr);
 
 
  846   return RooCmdArg(
"YVar", 0, 0, 0, 0, 
nullptr, 
nullptr, &var, 
nullptr, &arg);
 
 
  850   return RooCmdArg(
"ZVar", 0, 0, 0, 0, 
nullptr, 
nullptr, &var, 
nullptr, &arg);
 
 
  854   return RooCmdArg(
"AxisLabel", 0, 0, 0, 0, 
name, 
nullptr, 
nullptr, 
nullptr);
 
 
  858   return RooCmdArg(
"Scaling", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  864   return RooCmdArg(
"IntrinsicBinning", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  880   return RooCmdArg(
"IntObs", 0, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, 
nullptr, &
intObs, 
nullptr);
 
 
  886   return RooCmdArg(
"NumIntConfig", 0, 0, 0, 0, 
nullptr, 
nullptr, &cfg, 
nullptr);
 
 
  892   return RooCmdArg(
"Silence", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  896   return RooCmdArg(
"FitModel", 0, 0, 0, 0, 
nullptr, 
nullptr, &pdf, 
nullptr);
 
 
  901   RooCmdArg ret(
"FitOptArgs", 0, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
  908   ret.setProcessRecArgs(
false);
 
 
  913   return RooCmdArg(
"Binned", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  917   return RooCmdArg(
"BootStrapData", 0, 0, 0, 0, 
nullptr, 
nullptr, &
dset, 
nullptr);
 
 
  924   RooCmdArg ret(
"FrameArgs", 0, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
  931   ret.setProcessRecArgs(
false);
 
 
  936   return RooCmdArg(
"Bins", nbins, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  940   return RooCmdArg(
"Range", 0, 0, xlo, xhi, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  944   return RooCmdArg(
"FitGauss", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  950   return RooCmdArg(
"ShowName", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  954   return RooCmdArg(
"ShowValue", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  958   return RooCmdArg(
"ShowError", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  962   return RooCmdArg(
"ShowAsymError", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  966   return RooCmdArg(
"ShowUnit", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  970   return RooCmdArg(
"AutoPrecision", 
ndigit, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  974   return RooCmdArg(
"FixedPrecision", 
ndigit, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  978   return RooCmdArg(
"TLatexStyle", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  982   return RooCmdArg(
"LatexStyle", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  986   return RooCmdArg(
"LatexTableStyle", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  990   return RooCmdArg(
"VerbatimName", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
  996   return RooCmdArg(
"Topic", topic, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
 1000   return RooCmdArg(
"ObjectName", 0, 0, 0, 0, 
name, 
nullptr, 
nullptr, 
nullptr);
 
 
 1004   return RooCmdArg(
"ClassName", 0, 0, 0, 0, 
name, 
nullptr, 
nullptr, 
nullptr);
 
 
 1008   return RooCmdArg(
"BaseClassName", 0, 0, 0, 0, 
name, 
nullptr, 
nullptr, 
nullptr);
 
 
 1012   return RooCmdArg(
"LabelName", 0, 0, 0, 0, 
name, 
nullptr, 
nullptr, 
nullptr);
 
 
 1021   return RooCmdArg(
"Prefix", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
 1031   return RooCmdArg(
"RenameConflictNodes", 
ro, 0, 0, 0, 
suffix, 
nullptr, 
nullptr, 
nullptr);
 
 
 1035   return RooCmdArg(
"RecycleConflictNodes", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
 1039   return RooCmdArg(
"RenameAllNodes", 0, 0, 0, 0, 
suffix, 
nullptr, 
nullptr, 
nullptr);
 
 
 1043   return RooCmdArg(
"RenameAllVariables", 0, 0, 0, 0, 
suffix, 
nullptr, 
nullptr, 
nullptr);
 
 
 1051   return RooCmdArg(
"RenameVar", 0, 0, 0, 0, 
in, out, 
nullptr, 
nullptr);
 
 
 1055   return RooCmdArg(
"Rename", 0, 0, 0, 0, 
suffix, 
nullptr, 
nullptr, 
nullptr);
 
 
 1059   return RooCmdArg(
"Embedded", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
 1063   return RooCmdArg(
"NoRecursion", 
flag, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
 1077   return RooCmdArg(
"SplitParamConstrained", 0, 0, 0, 0, 
varname, 
catname, 
nullptr, 
nullptr, 
nullptr, 
rsname);
 
 
 1081   return RooCmdArg(
"SplitParamConstrained", 0, 0, 0, 0, var.
GetName(), cat.
GetName(), 
nullptr, 
nullptr, 
nullptr,
 
 
 1093   out.setSet(0, nset);
 
 
 1098   return RooCmdArg(
"ScanParameters", nbins, 
intOrder, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
 1102   return RooCmdArg(
"ScanNumCdf", 1, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
 1106   return RooCmdArg(
"ScanAllCdf", 1, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
 1110   return RooCmdArg(
"ScanNoCdf", 1, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 
 1116   RooCmdArg ret(
"MultiArg", 0, 0, 0, 0, 
nullptr, 
nullptr, 
nullptr, 
nullptr);
 
 1125   ret.setProcessRecArgs(
true, 
false);
 
 
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
 
short Style_t
Style number (short)
 
int Int_t
Signed integer 4 bytes (int)
 
float Size_t
Attribute size (float)
 
short Width_t
Line width (short)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
 
Option_t Option_t TPoint TPoint const char mode
 
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
 
const_iterator begin() const
 
const_iterator end() const
 
Common abstract base class for objects that represent a value and a "shape" in RooFit.
 
Abstract base class for RooRealVar binning definitions.
 
A space to attach TBranches.
 
Abstract container object that can hold multiple RooAbsArg objects.
 
Abstract base class for binned and unbinned datasets.
 
static ErrorType errorTypeFromString(std::string const &name)
Convert a string to the value of the RooAbsData::ErrorType enum with the same name.
 
Abstract interface for all probability density functions.
 
Abstract base class for objects that represent a real value that may appear on the left hand side of ...
 
Abstract base class for objects that represent a real value and implements functionality common to al...
 
RooArgSet is a container object that can hold multiple RooAbsArg objects.
 
Object to represent discrete states.
 
Named container for two doubles, two integers two object points and three string pointers that can be...
 
static const RooCmdArg & none()
Return reference to null argument.
 
Represents a constant real-valued object.
 
Container class to hold N-dimensional binned data.
 
Container class to hold unbinned data.
 
RooFitResult is a container class to hold the input and output of a PDF fit to a dataset.
 
static Value & defaultValue()
 
static EvalBackend Cuda()
 
static EvalBackend Codegen()
 
static EvalBackend CodegenNoGrad()
 
static EvalBackend Legacy()
 
static Value toValue(std::string const &name)
 
static std::string toName(Value value)
 
Holds the configuration parameters of the various numeric integrators used by RooRealIntegral.
 
static RooConstVar & value(double value)
Return a constant value object with given value.
 
Variable that can be changed from the outside.
 
TH1 is the base class of all histogram classes in ROOT.
 
const char * GetName() const override
Returns name of object.
 
Mother of all ROOT objects.
 
A TTree represents a columnar dataset.
 
RooCmdArg RecycleConflictNodes(bool flag=true)
 
RooCmdArg AutoRange(const RooAbsData &data, double marginFactor=0.1)
 
RooCmdArg FitGauss(bool flag=true)
 
RooCmdArg FrameBins(Int_t nbins)
 
RooCmdArg ClassName(const char *name)
 
RooCmdArg FitModel(RooAbsPdf &pdf)
 
RooCmdArg LatexStyle(bool flag=true)
 
RooCmdArg VerbatimName(bool flag=true)
 
RooCmdArg IntegratedObservables(const RooArgSet &intObs)
 
RooCmdArg OutputStream(std::ostream &os)
 
RooCmdArg Topic(Int_t topic)
 
RooCmdArg Parameters(const RooArgSet ¶ms)
 
RooCmdArg NumIntConfig(const RooNumIntConfig &cfg)
 
RooCmdArg ScanParameters(Int_t nbins, Int_t intOrder)
 
RooCmdArg Label(const char *str)
 
RooCmdArg Color(TColorNumber color)
 
RooCmdArg TagName(const char *name)
 
RooCmdArg MultiArg(const RooCmdArg &arg1, const RooCmdArg &arg2, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={})
 
RooCmdArg BaseClassName(const char *name)
 
RooCmdArg FitOptions(const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={})
 
RooCmdArg IntrinsicBinning(bool flag=true)
 
RooCmdArg Restrict(const char *catName, const char *stateNameList)
 
RooCmdArg TLatexStyle(bool flag=true)
 
RooCmdArg RenameAllVariables(const char *suffix)
 
RooCmdArg ShowConstants(bool flag=true)
 
RooCmdArg RenameVariable(const char *inputName, const char *outputName)
 
RooCmdArg FixedPrecision(Int_t ndigit=2)
 
RooCmdArg AutoPrecision(Int_t ndigit=2)
 
RooCmdArg Title(const char *name)
 
RooCmdArg RenameAllNodes(const char *suffix)
 
RooCmdArg ZVar(const RooAbsRealLValue &var, const RooCmdArg &arg={})
 
RooCmdArg SplitParam(const char *varname, const char *catname)
 
RooCmdArg Rename(const char *suffix)
 
RooCmdArg SupNormSet(const RooArgSet &nset)
 
RooCmdArg SelectVars(const RooArgSet &vars)
 
RooCmdArg AutoBinning(Int_t nbins=100, double marginFactor=0.1)
 
RooCmdArg Frame(const RooCmdArg &arg1, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={})
 
RooCmdArg YVar(const RooAbsRealLValue &var, const RooCmdArg &arg={})
 
RooCmdArg FrameRange(double xlo, double xhi)
 
RooCmdArg Conditional(const RooArgSet &pdfSet, const RooArgSet &depSet, bool depsAreCond=false)
 
RooCmdArg LatexTableStyle(bool flag=true)
 
RooCmdArg RenameAllVariablesExcept(const char *suffix, const char *exceptionList)
 
RooCmdArg Scaling(bool flag)
 
RooConstVar & RooConst(double val)
 
RooCmdArg Columns(Int_t ncol)
 
RooCmdArg EventRange(Int_t nStart, Int_t nStop)
 
RooCmdArg ObjectName(const char *name)
 
RooCmdArg Format(const char *what, const RooCmdArg &arg1={}, const RooCmdArg &arg2={}, const RooCmdArg &arg3={}, const RooCmdArg &arg4={}, const RooCmdArg &arg5={}, const RooCmdArg &arg6={}, const RooCmdArg &arg7={}, const RooCmdArg &arg8={})
 
RooCmdArg Silence(bool flag=true)
 
RooCmdArg NoRecursion(bool flag=true)
 
RooCmdArg AxisLabel(const char *name)
 
RooCmdArg Sibling(const RooAbsCollection &sibling)
 
RooCmdArg Binned(bool flag=true)
 
RooCmdArg SplitParamConstrained(const char *varname, const char *catname, const char *rsname)
 
RooCmdArg What(const char *str)
 
RooCmdArg RenameConflictNodes(const char *suffix, bool renameOrigNodes=false)
 
RooCmdArg AutoSymRange(const RooAbsData &data, double marginFactor=0.1)
 
RooCmdArg Bins(Int_t nbin)
 
RooCmdArg Embedded(bool flag=true)
 
RooCmdArg OutputFile(const char *fileName)
 
RooCmdArg AutoSymBinning(Int_t nbins=100, double marginFactor=0.1)
 
RooCmdArg Layout(double xmin, double xmax=0.99, double ymin=0.95)
 
RooCmdArg ImportFromFile(const char *fname, const char *tname)
 
RooCmdArg StoreAsymError(const RooArgSet &aset)
 
RooCmdArg Weight(double wgt)
 
RooCmdArg Index(RooCategory &icat)
 
RooCmdArg StoreError(const RooArgSet &aset)
 
RooCmdArg Link(const char *state, RooAbsData &data)
 
RooCmdArg WeightVar(const char *name="weight", bool reinterpretAsWeight=false)
 
RooCmdArg Import(const char *state, TH1 &histo)
 
RooCmdArg InitialHesse(bool flag=true)
 
RooCmdArg IntegrateBins(double precision)
Integrate the PDF over bins.
 
RooCmdArg MaxCalls(int n)
 
RooCmdArg SplitRange(bool flag=true)
 
RooCmdArg AsymptoticError(bool flag)
 
RooCmdArg PrefitDataFraction(double data_ratio=0.0)
 
RooCmdArg Offset(std::string const &mode)
 
RooCmdArg Constrain(const RooArgSet ¶ms)
 
RooCmdArg GlobalObservablesTag(const char *tagName)
 
RooCmdArg Minimizer(const char *type, const char *alg=nullptr)
 
RooCmdArg Hesse(bool flag=true)
 
RooCmdArg Strategy(Int_t code)
 
RooCmdArg Save(bool flag=true)
 
RooCmdArg Integrate(bool flag)
 
RooCmdArg SumW2Error(bool flag)
 
RooCmdArg GlobalObservablesSource(const char *sourceName)
 
RooCmdArg SumCoefRange(const char *rangeName)
 
RooCmdArg PrintEvalErrors(Int_t numErrors)
 
RooCmdArg Optimize(Int_t flag=2)
 
RooCmdArg Parallelize(int nWorkers)
 
RooCmdArg EvalErrorWall(bool flag)
 
RooCmdArg Warnings(bool flag=true)
 
RooCmdArg ExternalConstraints(const RooArgSet &constraintPdfs)
 
RooCmdArg Minos(bool flag=true)
 
RooCmdArg ModularL(bool flag=false)
 
RooCmdArg TimingAnalysis(bool timingAnalysis)
 
RooCmdArg PrintLevel(Int_t code)
 
RooCmdArg NumCPU(Int_t nCPU, Int_t interleave=0)
 
RooCmdArg DataError(Int_t)
 
RooCmdArg CloneData(bool flag)
 
RooCmdArg Timer(bool flag=true)
 
RooCmdArg RecoverFromUndefinedRegions(double strength)
When parameters are chosen such that a PDF is undefined, try to indicate to the minimiser how to leav...
 
RooCmdArg Verbose(bool flag=true)
 
RooCmdArg Extended(bool flag=true)
 
RooCmdArg ProtoData(const RooDataSet &protoData, bool randomizeOrder=false, bool resample=false)
 
RooCmdArg AutoBinned(bool flag=true)
 
RooCmdArg Asimov(bool flag=true)
 
RooCmdArg NumEvents(Int_t numEvents)
 
RooCmdArg GenBinned(const char *tag)
 
RooCmdArg ExpectedData(bool flag=true)
 
RooCmdArg Components(Args_t &&... argsOrArgSet)
 
RooCmdArg ProjectionRange(const char *rangeName)
 
RooCmdArg FillColor(TColorNumber color)
 
RooCmdArg Binning(const RooAbsBinning &binning)
 
RooCmdArg ProjWData(const RooAbsData &projData, bool binData=false)
 
RooCmdArg Precision(double prec)
 
RooCmdArg EvalErrorValue(double value)
 
RooCmdArg NormRange(const char *rangeNameList)
 
RooCmdArg DrawOption(const char *opt)
 
RooCmdArg Project(const RooArgSet &projSet)
 
RooCmdArg LineColor(TColorNumber color)
 
RooCmdArg FillStyle(Style_t style)
 
RooCmdArg Range(const char *rangeName, bool adjustNorm=true)
 
RooCmdArg Invisible(bool inv=true)
 
RooCmdArg MarkerStyle(Style_t style)
 
RooCmdArg LineWidth(Width_t width)
 
RooCmdArg Normalization(double scaleFactor)
 
RooCmdArg VisualizeError(const RooDataSet ¶mData, double Z=1)
 
RooCmdArg Slice(const RooArgSet &sliceSet)
 
RooCmdArg AddTo(const char *name, double wgtSel=1.0, double wgtOther=1.0)
 
RooCmdArg CutRange(const char *rangeName)
 
RooCmdArg XErrorSize(double width)
 
RooCmdArg MarkerSize(Size_t size)
 
RooCmdArg MarkerColor(TColorNumber color)
 
RooCmdArg Rescale(double factor)
 
RooCmdArg Cut(const char *cutSpec)
 
RooCmdArg Efficiency(const RooCategory &cat)
 
RooCmdArg Name(const char *name)
 
RooCmdArg LineStyle(Style_t style)
 
RooCmdArg Asymmetry(const RooCategory &cat)
 
auto Map(Args &&... args)
Create new collection applying a callable to the elements of the input collection.
 
std::string getBatchComputeChoice()
 
void setBatchComputeChoice(std::string const &value)
 
RooConstVar & C(double value)
 
RooCmdArg LinkFlatMap(FlatMap< std::string, RooAbsData * > const &args)
 
RooCmdArg ImportFlatMap(FlatMap< std::string, RooDataHist * > const &args)
 
RooCmdArg SliceFlatMap(FlatMap< RooCategory *, std::string > const &args)
 
RooCmdArg ParallelGradientOptions(bool enable=true, int orderStrategy=0, int chainFactor=1)
Configuration options for parallel minimization with multiprocessing library.
 
RooCmdArg ParallelDescentOptions(bool enable=false, int splitStrategy=0, int numSplits=4)
 
void writeCodegenDebugMacro(RooAbsReal const &absReal, std::string const &name)
 
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
 
RooCmdArg BootStrapData(const RooDataSet &dset)
 
RooCmdArg ShowName(bool flag)
 
RooCmdArg ShowError(bool flag)
 
RooCmdArg BatchMode(std::string const &batchMode)
 
OffsetMode
For setting the offset mode with the Offset() command argument to RooAbsPdf::fitTo()
 
RooCmdArg ShowValue(bool flag)
 
void setBatchCompute(std::string const &value)
Globally select the RooBatchCompute CPU implementation that will be loaded in RooFit.
 
RooCmdArg ShowAsymError(bool flag)
 
RooCmdArg ShowUnit(bool flag)
 
std::string getBatchCompute()
Get the global choice for the RooBatchCompute library that RooFit will load.
 
void inv(rsa_NUMBER *, rsa_NUMBER *, rsa_NUMBER *)
 
Wrap an object into a TObject. Sometimes needed to avoid reinterpret_cast or enable RTTI.