Logo ROOT  
Reference Guide
BatchModeDataHelpers.h
Go to the documentation of this file.
1/*
2 * Project: RooFit
3 * Authors:
4 * Jonas Rembser, CERN 2022
5 *
6 * Copyright (c) 2022, CERN
7 *
8 * Redistribution and use in source and binary forms,
9 * with or without modification, are permitted according to the terms
10 * listed in LICENSE (http://roofit.sourceforge.net/license.txt)
11 */
12
13#ifndef RooFit_BatchModeDataHelpers_h
14#define RooFit_BatchModeDataHelpers_h
15
16#include <RooSpan.h>
18
19#include <ROOT/RStringView.hxx>
20
21#include <map>
22#include <memory>
23#include <stack>
24#include <vector>
25
26class RooAbsCategory;
27class RooAbsData;
28class TNamed;
29
30namespace RooFit {
31namespace BatchModeDataHelpers {
32
33std::map<RooFit::Detail::DataKey, RooSpan<const double>>
34getDataSpans(RooAbsData const &data, std::string_view rangeName, RooAbsCategory const *indexCat,
35 std::stack<std::vector<double>> &buffers, bool skipZeroWeights);
36
37} // namespace BatchModeDataHelpers
38} // namespace RooFit
39
40#endif
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
A space to attach TBranches.
RooAbsData is the common abstract base class for binned and unbinned datasets.
Definition: RooAbsData.h:62
The TNamed class is the base class for all named ROOT classes.
Definition: TNamed.h:29
basic_string_view< char > string_view
std::map< RooFit::Detail::DataKey, RooSpan< const double > > getDataSpans(RooAbsData const &data, std::string_view rangeName, RooAbsCategory const *indexCat, std::stack< std::vector< double > > &buffers, bool skipZeroWeights)
Extract all content from a RooFit datasets as a map of spans.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition: Common.h:18