Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooDataWeightedAverage.h File Reference
#include "RooAbsOptTestStatistic.h"
#include "RooCmdArg.h"
Include dependency graph for RooDataWeightedAverage.h:
This graph shows which files directly or indirectly include this file:

Classes

class  RooDataWeightedAverage
 Class RooDataWeightedAverage calculate a weighted average of a function or p.d.f given a dataset with observable values, i.e. More...
 

Functions

 ~RooDataWeightedAverage () override
 
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
TObjectclone (const char *newname) const override
 
RooAbsTestStatisticcreate (const char *name, const char *title, RooAbsReal &real, RooAbsData &adata, const RooArgSet &projDeps, RooAbsTestStatistic::Configuration const &cfg) override
 
static const char * DeclFileName ()
 
double evaluatePartition (std::size_t firstEvent, std::size_t lastEvent, std::size_t stepSize) const override
 
double globalNormalization () const override
 
TClassIsA () const override
 
RooDataWeightedAverage RooAbsOptTestStatistic R__DEPRECATED (6, 32, "RooDataWeightedAverage is an implementation detail of RooFit that will be removed from the public user interface.")
 
 RooDataWeightedAverage (const char *name, const char *title, RooAbsReal &real, RooAbsData &data, const RooArgSet &projDeps, RooAbsTestStatistic::Configuration const &cfg, bool showProgress=false)
 
 RooDataWeightedAverage (const RooDataWeightedAverage &other, const char *name=nullptr)
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Variables

bool _showProgress
 Show progress indication during evaluation if true.
 
double _sumWeight
 Global sum of weights needed for normalization.
 

Function Documentation

◆ ~RooDataWeightedAverage()

R__DEPRECATED::~RooDataWeightedAverage ( )
override

◆ Class()

static TClass * R__DEPRECATED::Class ( )
static
Returns
TClass describing this class

Definition at line 29 of file Class.C.

◆ Class_Name()

static const char * R__DEPRECATED::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t R__DEPRECATED::Class_Version ( )
staticconstexpr
Returns
Version of this class

Definition at line 27 of file RooDataWeightedAverage.h.

◆ clone()

TObject * R__DEPRECATED::clone ( const char *  newname) const
override

Definition at line 7 of file RooDataWeightedAverage.h.

◆ create()

RooAbsTestStatistic * R__DEPRECATED::create ( const char *  name,
const char *  title,
RooAbsReal real,
RooAbsData adata,
const RooArgSet projDeps,
RooAbsTestStatistic::Configuration const &  cfg 
)
override

Definition at line 9 of file RooDataWeightedAverage.h.

◆ DeclFileName()

static const char * R__DEPRECATED::DeclFileName ( )
static
Returns
Name of the file containing the class declaration

Definition at line 27 of file RooDataWeightedAverage.h.

◆ evaluatePartition()

double R__DEPRECATED::evaluatePartition ( std::size_t  firstEvent,
std::size_t  lastEvent,
std::size_t  stepSize 
) const
overrideprotected

◆ globalNormalization()

double R__DEPRECATED::globalNormalization ( ) const
override

◆ IsA()

TClass * R__DEPRECATED::IsA ( ) const
override
Returns
TClass describing current object

Definition at line 27 of file RooDataWeightedAverage.h.

◆ R__DEPRECATED()

RooDataWeightedAverage RooAbsOptTestStatistic R__DEPRECATED ( ,
32  ,
"RooDataWeightedAverage is an implementation detail of RooFit that will be removed from the public user interface."   
)

◆ RooDataWeightedAverage() [1/2]

R__DEPRECATED::RooDataWeightedAverage ( const char *  name,
const char *  title,
RooAbsReal real,
RooAbsData data,
const RooArgSet projDeps,
RooAbsTestStatistic::Configuration const &  cfg,
bool  showProgress = false 
)

◆ RooDataWeightedAverage() [2/2]

R__DEPRECATED::RooDataWeightedAverage ( const RooDataWeightedAverage other,
const char *  name = nullptr 
)

◆ Streamer()

void R__DEPRECATED::Streamer ( TBuffer )
override

◆ StreamerNVirtual()

void R__DEPRECATED::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)

Definition at line 27 of file RooDataWeightedAverage.h.

Variable Documentation

◆ _showProgress

bool _showProgress
protected

Show progress indication during evaluation if true.

Definition at line 24 of file RooDataWeightedAverage.h.

◆ _sumWeight

double _sumWeight
protected

Global sum of weights needed for normalization.

Definition at line 23 of file RooDataWeightedAverage.h.