13#ifndef ROO_ABS_TEST_STATISTIC
14#define ROO_ABS_TEST_STATISTIC
36 friend class RooRealMPFE;
39 struct Configuration {
55 const RooArgSet& projDeps, Configuration
const& cfg);
59 const RooArgSet& projDeps, Configuration
const& cfg) = 0;
61 void constOptimizeTestStatistic(ConstOpCode opcode,
bool doAlsoTrackingOpt=
true)
override ;
64 virtual double globalNormalization()
const {
71 void enableOffsetting(
bool flag)
override ;
72 bool isOffsetting()
const override {
return _doOffset ; }
73 double offset()
const override {
return _offset.Sum() ; }
74 virtual double offsetCarry()
const {
return _offset.Carry(); }
84 void printCompactTreeHook(std::ostream& os,
const char*
indent=
"")
override ;
89 virtual double evaluatePartition(std::size_t firstEvent, std::size_t
lastEvent, std::size_t
stepSize)
const = 0 ;
90 virtual double getCarry()
const;
122 std::string _rangeName ;
126 bool _verbose =
false;
139 mutable bool _init =
false;
148 std::vector<std::unique_ptr<RooAbsTestStatistic>>
_gofArray;
156 const bool _takeGlobalObservablesFromData =
false;
static void indent(ostringstream &buf, int indent_level)
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
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
The Kahan summation is a compensated summation algorithm, which significantly reduces numerical error...
Abstract container object that can hold multiple RooAbsArg objects.
Abstract base class for binned and unbinned datasets.
Abstract base class for objects that represent a real value and implements functionality common to al...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset.
void evaluate(typename Architecture_t::Tensor_t &A, EActivationFunction f)
Apply the given activation function to each value in the given tensor A.
void initialize(typename Architecture_t::Matrix_t &A, EInitialization m)