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 Detail {
37namespace BatchModeDataHelpers {
38
39std::map<RooFit::Detail::DataKey, std::span<const double>>
40getDataSpans(RooAbsData const &data, std::string const &rangeName, RooSimultaneous const *simPdf, bool skipZeroWeights,
41 bool takeGlobalObservablesFromData, std::stack<std::vector<double>> &buffers);
42
43std::map<RooFit::Detail::DataKey, std::size_t>
44determineOutputSizes(RooAbsArg const &topNode, std::function<int(RooFit::Detail::DataKey)> const &inputSizeFunc);
45
46} // namespace BatchModeDataHelpers
47} // namespace Detail
48} // namespace RooFit
49
50#endif
51
52/// \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:77
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