59 RooAbsOptTestStatistic(
name,title,pdf,indata,projdeps,0,0,nCPU,interleave,verbose,
kFALSE),
60 _showProgress(showProgress)
63 coutI(
Plotting) <<
"RooDataWeightedAverage::ctor(" <<
GetName() <<
") constructing data weighted average of function " << pdf.
GetName()
64 <<
" over " << indata.
numEntries() <<
" data points of " << *(indata.
get()) <<
" with a total weight of " << indata.
sumEntries() << endl ;
75 _sumWeight(other._sumWeight),
76 _showProgress(other._showProgress)
118 for (i=firstEvent ; i<lastEvent ; i+=stepSize) {
virtual void recalculateCache(const RooArgSet *, Int_t, Int_t, Int_t, Bool_t)
RooAbsData is the common abstract base class for binned and unbinned datasets.
virtual const RooArgSet * get() const
RooAbsDataStore * store()
virtual Double_t sumEntries() const =0
virtual Double_t weight() const =0
virtual Int_t numEntries() const
RooAbsOptTestStatistic is the abstract base class for test statistics objects that evaluate a functio...
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Double_t getVal(const RooArgSet *set=0) const
Evaluate object. Returns either cached value or triggers a recalculation.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Class RooDataWeightedAverage calculate a weighted average of a function or p.d.f given a dataset with...
virtual ~RooDataWeightedAverage()
Destructor.
virtual Double_t evaluatePartition(Int_t firstEvent, Int_t lastEvent, Int_t stepSize) const
Calculate the data weighted average for events [firstEVent,lastEvent] with step size stepSize.
virtual Double_t globalNormalization() const
Return global normalization term by which raw (combined) test statistic should be defined to obtain f...
virtual const char * GetName() const
Returns name of object.