Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 RooSimultaneous;
29
30class TNamed;
31
32namespace RooFit {
33namespace BatchModeDataHelpers {
34
35std::map<RooFit::Detail::DataKey, RooSpan<const double>>
36getDataSpans(RooAbsData const &data, std::string const &rangeName, RooSimultaneous const *simPdf, bool skipZeroWeights,
37 bool takeGlobalObservablesFromData, std::stack<std::vector<double>> &buffers);
38
39} // namespace BatchModeDataHelpers
40} // namespace RooFit
41
42#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:59
RooSimultaneous 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
std::map< RooFit::Detail::DataKey, RooSpan< const double > > getDataSpans(RooAbsData const &data, std::string const &rangeName, RooSimultaneous const *simPdf, bool skipZeroWeights, bool takeGlobalObservablesFromData, std::stack< std::vector< double > > &buffers)
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