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 ;
118 for (i=firstEvent ; i<lastEvent ; i+=stepSize) {
virtual Double_t sumEntries() const =0
virtual const char * GetName() const
Returns name of object.
virtual const RooArgSet * get() const
Double_t getVal(const RooArgSet *set=0) const
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...
RooAbsData is the common abstract base class for binned and unbinned datasets.
RooAbsDataStore * store()
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Class RooDataWeightedAverage calculate a weighted average of a function or p.d.f given a dataset with...
virtual Double_t weight() const =0
virtual ~RooDataWeightedAverage()
Destructor.
virtual void recalculateCache(const RooArgSet *, Int_t, Int_t, Int_t, Bool_t)
virtual Int_t numEntries() const
RooAbsOptTestStatistic is the abstract base class for test statistics objects that evaluate a functio...