Logo ROOT  
Reference Guide
BatchModeHelpers.h
Go to the documentation of this file.
1/*
2 * Project: RooFit
3 * Authors:
4 * Jonas Rembser, CERN 2021
5 *
6 * Copyright (c) 2021, 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_BatchModeHelpers_h
14#define RooFit_BatchModeHelpers_h
15
16#include <RooGlobalFunc.h>
17
18#include <memory>
19#include <string>
20
21class RooAbsData;
22class RooAbsPdf;
23class RooAbsReal;
24class RooArgSet;
25
26namespace ROOT {
27namespace Experimental {
28class RooFitDriver;
29}
30} // namespace ROOT
31
32namespace RooFit {
33namespace BatchModeHelpers {
34
35std::unique_ptr<RooAbsReal>
36makeDriverAbsRealWrapper(std::unique_ptr<ROOT::Experimental::RooFitDriver> driver, RooArgSet const &observables);
37
38std::unique_ptr<RooAbsReal> createNLL(RooAbsPdf &pdf, RooAbsData &data, std::unique_ptr<RooAbsReal> &&constraints,
39 std::string const &rangeName, std::string const &addCoefRangeName,
40 RooArgSet const &projDeps, bool isExtended, double integrateOverBinsPrecision,
41 RooFit::BatchModeOption batchMode, bool doOffset);
42
44
45} // namespace BatchModeHelpers
46} // namespace RooFit
47
48#endif
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
RooAbsData is the common abstract base class for binned and unbinned datasets.
Definition: RooAbsData.h:62
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Definition: RooAbsReal.h:64
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Definition: RooArgSet.h:57
This class can evaluate a RooAbsReal object in other ways than recursive graph traversal.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
void logArchitectureInfo(RooFit::BatchModeOption batchMode)
std::unique_ptr< RooAbsReal > createNLL(RooAbsPdf &pdf, RooAbsData &data, std::unique_ptr< RooAbsReal > &&constraints, std::string const &rangeName, std::string const &addCoefRangeName, RooArgSet const &projDeps, bool isExtended, double integrateOverBinsPrecision, RooFit::BatchModeOption batchMode, bool doOffset)
std::unique_ptr< RooAbsReal > makeDriverAbsRealWrapper(std::unique_ptr< ROOT::Experimental::RooFitDriver > driver, RooArgSet const &observables)
Static method to create a RooAbsRealWrapper that owns a given RooFitDriver passed by smart pointer.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
Definition: Common.h:18
BatchModeOption
For setting the batch mode flag with the BatchMode() command argument to RooAbsPdf::fitTo();.
Definition: RooGlobalFunc.h:70