Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
BatchModeDataHelpers.h
Go to the documentation of this file.
1/// \cond ROOFIT_INTERNAL
2
3/*
4 * Project: RooFit
5 * Authors:
6 * Jonas Rembser, CERN 2022
7 *
8 * Copyright (c) 2022, CERN
9 *
10 * Redistribution and use in source and binary forms,
11 * with or without modification, are permitted according to the terms
12 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
13 */
14
15#ifndef RooFit_BatchModeDataHelpers_h
16#define RooFit_BatchModeDataHelpers_h
17
18#include <RooFit/EvalContext.h>
19
20#include <ROOT/RSpan.hxx>
21#include <string_view>
22
23#include <functional>
24#include <map>
25#include <memory>
26#include <stack>
27#include <vector>
28
29class RooAbsCategory;
30class RooAbsData;
31class RooSimultaneous;
32
33class TNamed;
34
35namespace RooFit {
36namespace BatchModeDataHelpers {
37
38std::map<RooFit::Detail::DataKey, std::span<const double>>
39getDataSpans(RooAbsData const &data, std::string const &rangeName, RooSimultaneous const *simPdf, bool skipZeroWeights,
40 bool takeGlobalObservablesFromData, std::stack<std::vector<double>> &buffers);
41
42std::map<RooFit::Detail::DataKey, std::size_t>
43determineOutputSizes(RooAbsArg const &topNode, std::function<int(RooFit::Detail::DataKey)> const &inputSizeFunc);
44
45} // namespace BatchModeDataHelpers
46} // namespace RooFit
47
48#endif
49
50/// \endcond
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Definition RooAbsArg.h:79
A space to attach TBranches.
Abstract base class for binned and unbinned datasets.
Definition RooAbsData.h:57
Facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset.
The TNamed class is the base class for all named ROOT classes.
Definition TNamed.h:29
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition JSONIO.h:26