RooDataWeightedAverage Class Reference

#include <RooDataWeightedAverage.h>

Inheritance diagram for RooDataWeightedAverage:

RooAbsOptTestStatistic RooAbsOptTestStatistic RooAbsTestStatistic RooAbsTestStatistic RooAbsTestStatistic RooAbsTestStatistic RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal List of all members.

Public Member Functions

 RooDataWeightedAverage ()
 RooDataWeightedAverage (const char *name, const char *title, RooAbsReal &real, RooAbsData &data, const RooArgSet &projDeps, Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t showProgress=kFALSE, Bool_t verbose=kTRUE)
 RooDataWeightedAverage (const RooDataWeightedAverage &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual RooAbsTestStatisticcreate (const char *name, const char *title, RooAbsReal &real, RooAbsData &adata, const RooArgSet &projDeps, const char *=0, const char *=0, Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t verbose=kTRUE, Bool_t=kFALSE)
virtual Double_t globalNormalization () const
virtual ~RooDataWeightedAverage ()
 RooDataWeightedAverage ()
 RooDataWeightedAverage (const char *name, const char *title, RooAbsReal &real, RooAbsData &data, const RooArgSet &projDeps, Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t showProgress=kFALSE, Bool_t verbose=kTRUE)
 RooDataWeightedAverage (const RooDataWeightedAverage &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual RooAbsTestStatisticcreate (const char *name, const char *title, RooAbsReal &real, RooAbsData &adata, const RooArgSet &projDeps, const char *=0, const char *=0, Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t verbose=kTRUE, Bool_t=kFALSE)
virtual Double_t globalNormalization () const
virtual ~RooDataWeightedAverage ()

Protected Member Functions

virtual Double_t evaluatePartition (Int_t firstEvent, Int_t lastEvent, Int_t stepSize) const
virtual Double_t evaluatePartition (Int_t firstEvent, Int_t lastEvent, Int_t stepSize) const

Protected Attributes

Double_t _sumWeight
Bool_t _showProgress

Detailed Description

Definition at line 22 of file RooDataWeightedAverage.h.


Constructor & Destructor Documentation

RooDataWeightedAverage::RooDataWeightedAverage (  )  [inline]

Definition at line 26 of file RooDataWeightedAverage.h.

Referenced by clone(), and create().

RooDataWeightedAverage::RooDataWeightedAverage ( const char *  name,
const char *  title,
RooAbsReal real,
RooAbsData data,
const RooArgSet projDeps,
Int_t  nCPU = 1,
Bool_t  interleave = kFALSE,
Bool_t  showProgress = kFALSE,
Bool_t  verbose = kTRUE 
)

Definition at line 48 of file RooDataWeightedAverage.cxx.

References _showProgress, _sumWeight, coutI, RooAbsData::get(), TNamed::GetName(), RooAbsData::numEntries(), RooFit::Plotting, and RooAbsData::sumEntries().

RooDataWeightedAverage::RooDataWeightedAverage ( const RooDataWeightedAverage other,
const char *  name = 0 
)

Definition at line 67 of file RooDataWeightedAverage.cxx.

RooDataWeightedAverage::~RooDataWeightedAverage (  )  [virtual]

Definition at line 78 of file RooDataWeightedAverage.cxx.

RooDataWeightedAverage::RooDataWeightedAverage (  )  [inline]

Definition at line 26 of file RooDataWeightedAverage.h.

RooDataWeightedAverage::RooDataWeightedAverage ( const char *  name,
const char *  title,
RooAbsReal real,
RooAbsData data,
const RooArgSet projDeps,
Int_t  nCPU = 1,
Bool_t  interleave = kFALSE,
Bool_t  showProgress = kFALSE,
Bool_t  verbose = kTRUE 
)

RooDataWeightedAverage::RooDataWeightedAverage ( const RooDataWeightedAverage other,
const char *  name = 0 
)

virtual RooDataWeightedAverage::~RooDataWeightedAverage (  )  [virtual]


Member Function Documentation

virtual TObject* RooDataWeightedAverage::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 34 of file RooDataWeightedAverage.h.

References RooDataWeightedAverage().

virtual RooAbsTestStatistic* RooDataWeightedAverage::create ( const char *  name,
const char *  title,
RooAbsReal real,
RooAbsData adata,
const RooArgSet projDeps,
const char *  = 0,
const char *  = 0,
Int_t  nCPU = 1,
Bool_t  interleave = kFALSE,
Bool_t  verbose = kTRUE,
Bool_t  = kFALSE 
) [inline, virtual]

Implements RooAbsTestStatistic.

Definition at line 36 of file RooDataWeightedAverage.h.

References RooDataWeightedAverage(), and verbose.

Double_t RooDataWeightedAverage::globalNormalization (  )  const [virtual]

Reimplemented from RooAbsTestStatistic.

Definition at line 86 of file RooDataWeightedAverage.cxx.

References _sumWeight.

Double_t RooDataWeightedAverage::evaluatePartition ( Int_t  firstEvent,
Int_t  lastEvent,
Int_t  stepSize 
) const [protected, virtual]

Implements RooAbsTestStatistic.

Definition at line 98 of file RooDataWeightedAverage.cxx.

References RooAbsOptTestStatistic::_dataClone, RooAbsOptTestStatistic::_funcClone, RooAbsOptTestStatistic::_normSet, _showProgress, ccoutP, RooAbsData::get(), RooAbsReal::getVal(), i, RooFit::Plotting, result(), RooAbsTestStatistic::setNum(), and RooAbsData::weight().

virtual TObject* RooDataWeightedAverage::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 34 of file RooDataWeightedAverage.h.

References RooDataWeightedAverage().

virtual RooAbsTestStatistic* RooDataWeightedAverage::create ( const char *  name,
const char *  title,
RooAbsReal real,
RooAbsData adata,
const RooArgSet projDeps,
const char *  = 0,
const char *  = 0,
Int_t  nCPU = 1,
Bool_t  interleave = kFALSE,
Bool_t  verbose = kTRUE,
Bool_t  = kFALSE 
) [inline, virtual]

Implements RooAbsTestStatistic.

Definition at line 36 of file RooDataWeightedAverage.h.

References RooDataWeightedAverage(), and verbose.

virtual Double_t RooDataWeightedAverage::globalNormalization (  )  const [virtual]

Reimplemented from RooAbsTestStatistic.

virtual Double_t RooDataWeightedAverage::evaluatePartition ( Int_t  firstEvent,
Int_t  lastEvent,
Int_t  stepSize 
) const [protected, virtual]

Implements RooAbsTestStatistic.


Member Data Documentation

Double_t RooDataWeightedAverage::_sumWeight [protected]

Definition at line 50 of file RooDataWeightedAverage.h.

Referenced by globalNormalization(), and RooDataWeightedAverage().

Bool_t RooDataWeightedAverage::_showProgress [protected]

Definition at line 51 of file RooDataWeightedAverage.h.

Referenced by evaluatePartition(), and RooDataWeightedAverage().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:33:34 2011 for ROOT_528-00b_version by  doxygen 1.5.1