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
22#include <functional>
23#include <map>
24#include <stack>
25#include <vector>
26
27class RooAbsData;
28class RooSimultaneous;
29
30namespace RooFit::BatchModeDataHelpers {
31
32std::map<RooFit::Detail::DataKey, std::span<const double>>
33getDataSpans(RooAbsData const &data, std::string const &rangeName, RooSimultaneous const *simPdf, bool skipZeroWeights,
34 bool takeGlobalObservablesFromData, std::stack<std::vector<double>> &buffers);
35
36std::map<RooFit::Detail::DataKey, std::size_t>
38
39} // namespace RooFit::BatchModeDataHelpers
40
41#endif
42
43/// \endcond
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
Common abstract base class for objects that represent a value and a "shape" in RooFit.
Definition RooAbsArg.h:76
Abstract base class for binned and unbinned datasets.
Definition RooAbsData.h:57
Facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset.